Forum Discussion
Anonymous
4 years agoNot applicable
Rollup
How to find roll up of the total outstanding of each month.
- Anonymous4 years ago
Hi Anonymous
Does your "Roll UP" mean that you want to get cumulative sum result by month?
You can try my way. Firstly build a date table by dax code.
Date = ADDCOLUMNS(CALENDARAUTO(),"Year",YEAR([Date]),"Month",MONTH([Date]),"YearMonth",YEAR([Date])*100+MONTH([Date]))Build a relationshio between date table and your fact table by date column.
Then build a measure.
Roll UP = CALCULATE(SUM('Table'[Value]),FILTER(ALL('Date'),'Date'[YearMonth]<=MAX('Date'[YearMonth])))Result is as below.
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
4 years agoNot applicable
Hi Anonymous
Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it. Or you are still confused about it, please provide me with more details about your table and your problem or share me with your pbix file from your Onedrive for Business.
Best Regards,
Rico Zhou