Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
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: