Jason Elkin Posted June 10, 2020 Share Posted June 10, 2020 I have a calculated column with a set of unique numbers. These values are the result of a sum of time data associated with a property and phase. Periodically the distinct count, sum, or average function will not be correct. I've identified a couple of date ranges where its leaving out a single property causing the error numerator and denominator to be wrong in the average calculation. I'll change the date range and it then pulls in the missing values and provides correct caluclations. The values of the time data being added are all unique and no filters are being used.I've also taken the numerical values out to 9 decimal places. Count(DISTINCT [sum([Time]]) OVER ([propertyname]], [phasecode]])]) The count is correct if I use the below so it has to be something with the numerical values. However, none of the values are unique. Count (DISTINCT [propertyname]) Just curious if anyone has ever run into this issue. Thank you Link to comment Share on other sites More sharing options...
David Boot-Olazabal Posted June 11, 2020 Share Posted June 11, 2020 Hi Jason, Could you provide for an example dxp file to have a better look at how the dataset looks like kind regards, David Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now