Forum Discussion
Datalover22
4 years agoFrequent 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 !! ...
- Anonymous4 years ago
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 ) )Please check the pbix file.
Best Regards,
Gao
Community Support TeamIf 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
mh2587
4 years agoSuper User
Assets YTD :=
CALCULATE (
SUM(TableName[Assets]),
DATESYTD( 'Date'[Date] )
)
- Datalover224 years agoFrequent Visitor
Thank you! But Its not working
- mh25874 years agoSuper User
Hi
You want the running total for a single or for the 12 months ( Year)- Datalover224 years agoFrequent Visitor
Hi , thanks for your help! I want the recurring total per month until the current month
- mh25874 years agoSuper UserAssets RT :=VAR MaxDate = MAX ( 'Date'[Date] )RETURNCALCULATE (SUM(TableName[Assets]),'Date'[Date] <= MaxDate,ALL ( Date ))