Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello everyone,
I need help to solver this problem!
| Unit Bussiness | Code | Value | Cumative Value |
| Chicago | 100500001 | 50% | 50% |
| Chicago | 100500002 | 20% | 70% |
| Chicago | 100500003 | 15% | 85% |
| Chicago | 100500004 | 10% | 95% |
| Chicago | 100500005 | 5% | 100% |
| Paris | 100500001 | 50% | 50% |
| Paris | 100500002 | 20% | 70% |
| Paris | 100500003 | 15% | 85% |
| Paris | 100500004 | 10% | 95% |
| Paris | 100500005 | 5% | 100% |
I've tried to develop a function to create the column Cumulative Value in powerbi, but I can't do this!
I need that cumulative as a column not as a measure.
Thanks in advanced.
A new column
Column = sumx(filter(Cumm, Cumm[Unit Bussiness] = EARLIER(Cumm[Unit Bussiness]) && [Code] <=EARLIER(Cumm[Code])),[Value])
New measure
Measure = sumx(filter(ALLSELECTED(Cumm), Cumm[Unit Bussiness] = max(Cumm[Unit Bussiness]) && [Code] <=max(Cumm[Code])),[Value])
@amitchandak thanks for your post, but I forgot to mention the data are not organized from the top to the bottom, In this case, how can we solver this problem?
Hi @William_Moreno ,
In Power Query, Sort your data so that it is ordered correctly, or create an index column and use that in your dax column
Proud to be a Super User!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 38 | |
| 38 | |
| 28 | |
| 27 |
| User | Count |
|---|---|
| 124 | |
| 88 | |
| 73 | |
| 66 | |
| 65 |