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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
Anonymous
Not applicable

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 @Anonymous,

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.com)

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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