Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

DAX Cumulative Total on percentages that are GROUPED

Hi, I have a matrix that is groups 'Incidents' by a resolution calculation and priority.  I am needing to create another column in the matrix that will sum the cumulative total on the '% of Incidents Resolved'.

I have researched and cannot find a clear resolution.  

What I need in a 'new' column is the following:

                                                            *What I need

Priority     %ofIncidents Resolved     *Cumulative Total %

 

P1              0.16%

P2              0.65%                                   0.81%

P3              55.32%                                 56.13%

P4             19.68%                                  75.81%

P5             24.19%                                  100.0%

 

I need this to calculate when 'Priority' is expanded as well.

I can send example file to assist.

tks/

4 REPLIES 4
Jihwan_Kim
Super User
Super User

Hi, @Anonymous 

Please check the below picture and the sample pbix file's link down below.

I suggest having an index column in order to define the sequence of the Priority. Or, if you already have a date-related column to define the order, you can use that column as well.

All measures are in the sample pbix file.

 

Picture2.png

 

Cumulate Percentage =
IF (
SELECTEDVALUE ( 'Table'[Priority] ) = "P1",
BLANK (),
SUMX (
FILTER ( ALL ( 'Table' ), 'Table'[Index] <= MAX ( 'Table'[Index] ) ),
[Incidents resolved percent]
)
)
 
 

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.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.
Anonymous
Not applicable

Thanks for response.  I ended up using a quick measure and eventually got the results I needed.

Take care

amitchandak
Super User
Super User

@Anonymous ,  Try like

calculate(sumx(values(Table[priority]),Table[%ofIncidents Resolved]), filter(Table,Table[priority] <= max(Table[priority])))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Hi and thank you for the response.  I ended up utilizing the quick measure to get the results I was looking for.  I appreciate your help with this!

Take care

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.