March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello,
Let's say that I have a table like that :
Index Value
1 90
2 120
3 140
4 150
In the visualisation, I am making a slicer with Indexes (so I can choose from 1 to 4)
What I want to do, is when I select 3, I am calculating the sum of all values below and including 3 (in the example it would be 90+120+140).
Any solutions? I was trying various calculate() + filter() options, but none of them worked correctly.
Solved! Go to Solution.
Hello, @pejczi
Please, try this formula:
Cumulative Total =
CALCULATE (
SUM ( Table[Value] ),
FILTER ( ALL ( Table[Index] ), Table[Index] <= MAX ( Table[Index] ) )
)
I want to collaborate with my code that fetches the remaining value (sum) by the previous index.
Create column
And
Create a measure
Hello, @pejczi
Please, try this formula:
Cumulative Total =
CALCULATE (
SUM ( Table[Value] ),
FILTER ( ALL ( Table[Index] ), Table[Index] <= MAX ( Table[Index] ) )
)
Thank you, it works after adjusting to my case (some of features stopped working, but I need to adjust relations a little bit, but generally it is okay :-))
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
119 | |
88 | |
73 | |
67 | |
49 |
User | Count |
---|---|
199 | |
140 | |
96 | |
77 | |
68 |