The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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:
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
99 | |
93 | |
81 | |
63 | |
56 |
User | Count |
---|---|
248 | |
123 | |
111 | |
78 | |
74 |