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

To display the cumulative total properly

Hi,

 

I am stuck while displaying the cumulative total at every point in one of my reports.

 

Capture7.PNG

 

For week 47 = (-1551.55)+ 557.72 = -993.83 should get displayed

For week 48 = (-993.83)+(-130.40) = -1124.23 should get displayed and like that with the total at the end of the week

 

I turned ON the row and column subtotal but it is not giving me the correct result.

 

Any help would be much appreciated!!

 

Thanks 

 

1 ACCEPTED SOLUTION
Abduvali
Skilled Sharer
Skilled Sharer

Hi @sajal161292,

 

I think what you looking for is Running Total, try the following and see if it works for you:

 

Running Total MEASURE =
   CALCULATE (
                         SUM ( 'Sheet4'[Item_Rev]),
                                    FILTER (ALL ( 'Sheet4' ),'Sheet4'[Date] >= MAX ( 'Sheet4'[Date] )
                                   )
)

 

Regards

Abduvali

View solution in original post

2 REPLIES 2
v-ljerr-msft
Employee
Employee

Hi @sajal161292,

 

Have you tried the solution provided by @Abduvali above? Does it work in your scenario? If it works, could you accept it as solution to close this thread?

 

If you still have any question on this issue, feel free to post here.

 

Regards

Abduvali
Skilled Sharer
Skilled Sharer

Hi @sajal161292,

 

I think what you looking for is Running Total, try the following and see if it works for you:

 

Running Total MEASURE =
   CALCULATE (
                         SUM ( 'Sheet4'[Item_Rev]),
                                    FILTER (ALL ( 'Sheet4' ),'Sheet4'[Date] >= MAX ( 'Sheet4'[Date] )
                                   )
)

 

Regards

Abduvali

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.