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,
I am having trouble creating a new measure (Cumulative share) of running total for Measure 2 (Share %) based on lowest to highest Measure 1 (INDEX).
can someone please help?
Thank you so much
Measure 1 | Measure 2 | Running total needed | |
Item | Index (SORTED) | Share | Cumulative share |
A | 79 | 3% | 3% |
B | 84 | 4% | 7% |
C | 90 | 23% | 30% |
D | 100 | 45% | 75% |
E | 130 | 20% | 95% |
F | 150 | 3% | 98% |
G | 200 | 2% | 100% |
Hi, @johnnychallita
Please check the below picture and the sample pbix file's link down below.
All measures are in the sample pbix file, and all steps are numbered in front of each measure.
https://www.dropbox.com/s/n73y6w2telmul02/johnnychallita.pbix?dl=0
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: linkedin.com/in/jihwankim1975/
Twitter: twitter.com/Jihwan_JHKIM
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Schedule a short Teams meeting to discuss your question
Hi @Jihwan_Kim ,
Thank you for your reply.
please note that I wasn't able to use your solution since the index and the share columns are both measures. I can't create a new table as it has to be dynamic inside the Cumulative Measure.
@johnnychallita , check if this measure can work( I have not tested this)
measure =
var _tab = summzarize(Table,Table[Item], "_1", [measure1], "_2",[Meausre2])
return
sumx(filter(_tab, [_1] <= Maxx(_tab,[_1])),[_2])
Dear @amitchandak ,
Thank you so much for getting back to me. Please note that your solution didn't work out as I still receive [_2] values as a result instead of a rolling sum. is there any other solution?
Thank you!
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 |
---|---|
16 | |
13 | |
12 | |
11 | |
11 |
User | Count |
---|---|
19 | |
14 | |
14 | |
11 | |
9 |