Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello Fellow Analysts,
I have a issue with the rolling balance row as shown in the picture. i want the balance( a measure) to become cumulative in the rolling balance row. In March 2024 it should show 8796, april 2024- 17235 (8796+8439) and so on. I cant unpivot the table to achieve this. Any other ideas on how this can work?
Solved! Go to Solution.
Hi, @Swizal
try below measure
Measure =
SUMX(
FILTER(
ALL('Table'[Dtae],'Table'[Value],'Table'[Name],'Table'[Supplier Line]),
'Table'[Dtae]<=MAX('Table'[Dtae]) &&
'Table'[Name]=MIN('Table'[Name]) &&
'Table'[Supplier Line]=min('Table'[Name])
),
[Value]
)
Best Regards,
Dangar
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Swizal
Try below measure
Measure =
SUMX(
FILTER(
ALL('Table'),
'Table'[Dtae]<=MAX('Table'[Dtae])
),
[Value]
)
Best Regards,
Dangar
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Dangar332 ,
Thankyou for your inputs. It may seem that there is only one context of date ,except ,there is another context of the supplier. and a few more slicers like (line item, planner name) which comes into play. Please find the below snippet of the same.
Hi, @Swizal
try below measure
Measure =
SUMX(
FILTER(
ALL('Table'[Dtae],'Table'[Value],'Table'[Name],'Table'[Supplier Line]),
'Table'[Dtae]<=MAX('Table'[Dtae]) &&
'Table'[Name]=MIN('Table'[Name]) &&
'Table'[Supplier Line]=min('Table'[Name])
),
[Value]
)
Best Regards,
Dangar
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Swizal
You can follow this pattern for rolling sum
https://www.sqlbi.com/articles/computing-running-totals-in-dax/
Need Power BI consultation, hire me on UpWork .
If the post helps please give a thumbs up
If it solves your issue, please accept it as the solution to help the other members find it more quickly.
Tharun
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
15 | |
11 | |
11 | |
10 | |
10 |
User | Count |
---|---|
19 | |
14 | |
13 | |
11 | |
8 |