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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.