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.
I need help with creating a couple of cumulative measures 🙂
I have the following data in a table
I want to create a cumulative measure for the TotalCount and TotalRun but ONLY for those that have the week number in the title...so it should look something like this:
What would be the correct measure to use?
Solved! Go to Solution.
Figured it out - the solution is:
1) Add an IF statement for the week number
2) Create 2 x measures - example being:
RunCumulative =
Figured it out - the solution is:
1) Add an IF statement for the week number
2) Create 2 x measures - example being:
RunCumulative =
@nb123nb ,
Have tried the below formulas in your measures?
CountCumulative =
CALCULATE(
SUM('Sample'[Totalcount]),
'Sample'[Title] <=MAX('Sample'[Title]))
CumulativeRun =
CALCULATE(
SUM('Sample'[TotalRun]),
'Sample'[Title] <=MAX('Sample'[Title]))
Thanks,
Arul
Sorry that doesn't seem to work for cumulative:
Yes of course:
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 |
---|---|
105 | |
96 | |
75 | |
63 | |
62 |
User | Count |
---|---|
135 | |
105 | |
104 | |
80 | |
65 |