Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Good Day,
I need a Measure to count the number of PayWeeks selected in my Slicer.
Kudos to Vega who provided the following solution in an old thread from 2018.
Count Weeks Selected =
IF(
ISFILTERED(OTStatistics[PayWeekStart]),
DISTINCTCOUNT(OTStatistics[PayWeekStart]),
0)
This Measure works fine except when "All" PayWeeks are selected.
Would appreciate some guidance on how to modify the Measure to account for this case.
Thanks in advance and best regards,
Solved! Go to Solution.
@rsbin , Normally everything is as good as not selected.
so you can only use
DISTINCTCOUNT(OTStatistics[PayWeekStart])
@rsbin , Normally everything is as good as not selected.
so you can only use
DISTINCTCOUNT(OTStatistics[PayWeekStart])
Thank You!!! Works perfectly. I guess I was making it more complex than need be.
Much appreciated!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
146 | |
110 | |
93 | |
84 | |
67 |