I need to calculate the cumulative total by entity and by balance asset account. The table includes the following fields;
1. Entity
2. account,
3. Year
4. Month
5. Year-Month
6. Amount
I tried the following dax formula but i got an error.
=Calculate(sum([Amount]),filter(calculatetable(Table1,all(Table1[Entity]),all(table1[Account])),table1[yymm]<max(table1[yymm])))
This formula will be column 7 in the table ( data model)
Thanks for your assistance.
Bookmarks