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
Dora
Helper II
Helper II

Cumulative Total Issue

Hi All,

 

I need to Calculate cumulative liability,I used following formula

 

Custom Liability Cumulative This Year = CALCULATE([Liability This Month],FILTER(ALL(GL_LEDGER_ACCESS[Date]),'GL_LEDGER_ACCESS'[Date]<=MAX('GL_LEDGER_ACCESS'[Date])))

 

I get same output as shown in image

1.PNG

Please Help.

Best Regards,

Dora

1 ACCEPTED SOLUTION

Hi All,

Thank You for the help.Solved it by making a new unique index column and making the same formula

Best Regards,

Dora

View solution in original post

3 REPLIES 3
v-yuezhe-msft
Employee
Employee

@Dora,

Create a date table following the guide in this blog, establish relationship between the date field of date table and GL_LEDGER_ACCESS'[Date] field, then update your DAX to the following:

Custom Liability Cumulative This Year = CALCULATE([Liability This Month],FILTER(ALL('Date'[Date]),'Date'[Date]<=MAX('Date'[Date])))



Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi All,

Thank You for the help.Solved it by making a new unique index column and making the same formula

Best Regards,

Dora

edejes2
Advocate IV
Advocate IV

Hello @Dora,

 

This will help you https://www.youtube.com/watch?v=hH_uiw7f900 

 

Regards!

ED

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.