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.
Hi everyone,
I am working with a report where a rolling sum is being calculated with the following measure:
Thank you!
InitialValue | RollingSum Measure | I need this to be the rolling sum of the first RollingSum measure | enddate |
1 | 1 | 1 | 12/31/2018 |
2 | 3 | 4 | 3/31/2019 |
3 | 6 | 10 | 6/30/2019 |
4 | 10 | 20 | 9/30/2019 |
5 | 15 | 35 | 12/31/2019 |
@DavidS524 This looks like a measure aggregation problem. See my blog article about that here: https://community.powerbi.com/t5/Community-Blog/Design-Pattern-Groups-and-Super-Groups/ba-p/138149
The pattern is:
MinScoreMeasure = MINX ( SUMMARIZE ( Table, Table[Group] , "Measure",[YourMeasure] ), [Measure])
MaxScoreMeasure = MAXX ( SUMMARIZE ( Table, Table[Group] , "Measure",[YourMeasure] ), [Measure])
AvgScoreMeasure = AVERAGEX ( SUMMARIZE ( Table, Table[Group] , "Measure",[YourMeasure] ), [Measure])
etc.
Also, you might find the techniques used here valuable as it works with either a physical table or a virtual table (var).
Better Running Total - Microsoft Fabric Community
Better Rolling Average - Microsoft Fabric Community
Thanks, Greg! I'll will take a look at this and try to come up with a solution.
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 |
---|---|
137 | |
105 | |
104 | |
80 | |
63 |