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
RiddhimaC
New Member

Cumulative formula error

im using this cumulative formula ---- Cumulative_orders = calculate(SUM('New folder'[quantity]),FILTER(all('New folder'[orderDate]),'New folder'[orderDate]<=(1+MAX(('New folder'[orderDate]))))) but the cumulative column is returning same values and not sum that 1,2,8, 10 is returning as 1,2,8,10 but not 1,3,11,21
DAX - Cumulative count for only active customer 

RiddhimaC_0-1714255606954.png

 

 

2 REPLIES 2
RiddhimaC
New Member

nope no luck, still the same. Not sure where Im going wrong. I combined and loaded 3 files from a folder BTW and then sorted ACC to date...

RiddhimaC_0-1714324183068.png

 

DataNinja777
Super User
Super User

Hi @RiddhimaC 

 

You can get your required output in the following way, for example. 

 

DataNinja777_0-1714314227231.png

An example pbix file is attached below.

Best regards,

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

Top Solution Authors