cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mm_0426
Frequent Visitor

Cumulative% DAX

Hi,

 

I want to do the cumulative calculation like they done on the excel sheet

mm_0426_0-1665664767171.png

I'm struggling to do it, Closure TAT is a column which contains the below fields and the sales values are count of these fields.

Please help asap.

 

Thanks in Advance.

1 REPLY 1
v-shex-msft
Community Support
Community Support

HI @mm_0426,

AFAIK, current power bi does not exist row and column index. If you want to cumulative these records, you need to add an index field first, then you can use the index to look up corresponding records and calculate.

In addition, I'd like to suggest you use selectedvalue and switch function to navigate to the specific calculations expression based on the current category:

My Favorite DAX Feature: SELECTEDVALUE with SWITCH | Winston-Salem Power BI User Group (pbiusergroup...

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Vote for T-Shirt Design

Power BI T-Shirt Design Challenge 2023

Vote for your favorite t-shirt design now through March 28.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.

March Events 2023A

March 2023 Events

Find out more about the online and in person events happening in March!

Top Solution Authors