Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi, I have this measure:
Measure 3 = CALCULATE(COUNT('Hours Data'[Full Name]), ALLEXCEPT('Hours Data', 'Hours Data'[Full Name]), GROUPBY('Hours Data', 'Hours Data'[Department Full Path]))
And it produces this output in a table:
What I am hoping to achieve is for Measure 3 to show a decreasing count of how many records are left in the table, rather than a total count. For example, it would start at 22 then 21, 20, 19, etc...
I greatly appreciate any help.
Thanks,
Solved! Go to Solution.
@Anonymous
Can you try this measure, hope it meets your requirement.
Measure 3 =
VAR I = MAX('Hours Data'[Index])
RETURN
CALCULATE(
COUNTROWS('Hours Data'),
'Hours Data'[Index] >= I,
ALLEXCEPT('Hours Data','Hours Data'[Path Full Name])
)
________________________
If my answer was helpful, please consider Accept it as the solution to help the other members find it
Click on the Thumbs-Up icon if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@Anonymous
Can you try this measure, hope it meets your requirement.
Measure 3 =
VAR I = MAX('Hours Data'[Index])
RETURN
CALCULATE(
COUNTROWS('Hours Data'),
'Hours Data'[Index] >= I,
ALLEXCEPT('Hours Data','Hours Data'[Path Full Name])
)
________________________
If my answer was helpful, please consider Accept it as the solution to help the other members find it
Click on the Thumbs-Up icon if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
User | Count |
---|---|
93 | |
85 | |
78 | |
68 | |
63 |
User | Count |
---|---|
113 | |
99 | |
96 | |
64 | |
58 |