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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Datalover22
Frequent Visitor

Running total

Hi to the best community ,

Can someone help me with creating a measure or calculated column to get the sum of the running total of the assets per month ? 
I attached 2 screenshots

Thank you !!s1.PNGs2.PNG

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Datalover22 ,

 

Which visual do you want to put this Measure in and is there any other external filter?

Please try this measure.

Total =
CALCULATE (
    SUM ( 'Table'[Net Amount in USD] ),
    'Calendar'[Date] <= EOMONTH ( TODAY (), 0 )
)

vcgaomsft_0-1661329216908.png

Please check the pbix file.

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

View solution in original post

6 REPLIES 6
mh2587
Super User
Super User

Assets YTD :=
CALCULATE (
    SUM(TableName[Assets]),
    DATESYTD( 'Date'[Date] )
)

Did I answer your question? If so, please mark my post as a solution!


Proud to be a Super User!




LinkedIn Icon
Muhammad Hasnain



Thank you! But Its not working

Assets RT :=
VAR MaxDate = MAX ( 'Date'[Date] ) 
RETURN
    CALCULATE (
        SUM(TableName[Assets]),          
        'Date'[Date] <= MaxDate,  
        ALL ( Date )              
    )

Did I answer your question? If so, please mark my post as a solution!


Proud to be a Super User!




LinkedIn Icon
Muhammad Hasnain



Hi
You want the running total for a single or for the 12 months ( Year)

 


Did I answer your question? If so, please mark my post as a solution!


Proud to be a Super User!




LinkedIn Icon
Muhammad Hasnain



Hi , thanks for your help! I want the recurring total per month until the current month

Anonymous
Not applicable

Hi @Datalover22 ,

 

Which visual do you want to put this Measure in and is there any other external filter?

Please try this measure.

Total =
CALCULATE (
    SUM ( 'Table'[Net Amount in USD] ),
    'Calendar'[Date] <= EOMONTH ( TODAY (), 0 )
)

vcgaomsft_0-1661329216908.png

Please check the pbix file.

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.