Forum Discussion
Measures and Filters
- 2 years ago
Anonymous ,
Copied your data into my pbix as Sheet1.
Then re-did all columns and the Measure. Think I may have had to edit one of my calculated columns.Result now comes out as 2.
Please review and hopefully this works for you.Regards,
Anonymous ,
Are the Columns calculating correctly?
Please show me the Measure you are using or better yet, can you attach your PBIX file?
Doesnt seem to be giving me any errors, and everything is just copied from yours with the references changed to reference my Table.
I can't share the PBIX file unfortunately as there's some sensitive info, however I've uploaded the data sample for the full month (Category & Time) - https://we.tl/t-7MSYp7mGCD
Also below is the calculations I've used:
- DateOnly = FORMAT( [Time], "mm/dd/yyyy" )
- Hours = Hour([Time])
- DaysCount_High > 20 = CALCULATE( DISTINCTCOUNT( [DateOnly] ),
- rsbin2 years ago
Community Champion
Anonymous ,
Copied your data into my pbix as Sheet1.
Then re-did all columns and the Measure. Think I may have had to edit one of my calculated columns.Result now comes out as 2.
Please review and hopefully this works for you.Regards,
- Anonymous2 years agoNot applicable
Perfect that seems to be doing the trick, the numbers don't match up with what I calculated via Excel, so I'll check that out. But the calculations appear to be working.
Thank you!