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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.