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
Antmkjr
Helper V
Helper V

Cumulative not working

https://drive.google.com/file/d/1W9M2bYEZyrreuUsSpVU9D3I1tr1ogIk3/view?usp=sharing

 

Im trying to get the cumulative of Funding, But not able to, can anyone help? Expected result is shown, also when drilled up to yearly level it should work fine.

 

AnuTomy_0-1615857967896.png

Expected:

AnuTomy_1-1615858103674.png

 

Thanks in advance

 

 

3 REPLIES 3
jameszhang0805
Resolver IV
Resolver IV

jameszhang0805_0-1615875270786.png

 

amitchandak
Super User
Super User

@Antmkjr , if you do not have a date column, Create one like


date = "01 " & [Month Name] & " " & [year] // change data type to date

 

Then try a measure like

Cumm Sales = CALCULATE(SUM(Table[Funding]),filter(allselected(Funding),Funding[Date] <=max(Funding[Date])))

Ideally that should work, I have tried this

CALCULATE (
SUM([Funding]),
FILTER ( ALLSELECTED( 'Date' ), 'Date'[Date] <= MAX ( 'Date'[Date] ) )
)
But is not working...

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.

Top Solution Authors