Forum Discussion
Running Total Specific Year
- 6 years ago
Hi,
Try this measure
Cump Ac 2018 = IF(ISBLANK([2019 Sell Out]),BLANK(),CALCULATE([2018 Sell Out], FILTER(ALLSELECTED(Table[Sell Out]),Table[Date] <= MAX(Table[Date] ))))
Hi,
Try this measure
Cump Ac 2018 = IF(ISBLANK([2019 Sell Out]),BLANK(),CALCULATE([2018 Sell Out], FILTER(ALLSELECTED(Table[Sell Out]),Table[Date] <= MAX(Table[Date] ))))
- GKs6 years agoFrequent Visitor
thank you very much for your help.
I think the problem may be in the blank is only taking the range within 2019.Try this way however the same happens if I include the If with the ISBLANK and BLANK.
Cump Ac % 2018 =VAR AC2018= CALCULATE(SUM(Table Sell out[Sell Out]), FILTER(ALLSELECTED(Table date),Table date[date] <= MAX(Table date[date])))RETURNCALCULATE( AC 2018,SAMEPERIODLASTYEAR(Table date[date]),ALL(Table date))- Anonymous6 years agoNot applicable
HI GKs ,
These blank parts mean they not have corresponded table records, I think you need a calendar table with whole dates. Then you can use calendar date as axis and looping table records based on the calendar date.
Regards,
Xiaoxni Sheng
- Ashish_Mathur6 years ago
Super User
Hi,
Share the link from where i can download your PBI file.