Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
I have two measures that are working great, see below. The problem is that I am using a matrix to display the data, that part works. What doesn't work is the row total in the matrix. The row total is only showing the total for the months of October and November. I need the row total to show the total for all 12 months. Please help.
Get Max Report Date = MONTH(max('Merged Balance Data'[Report Date]))
FY24 Receipts Scenario 1 =
SWITCH('Prod Rev Summary'[Get Max Report Date],
1,'Prod Rev Summary'[FY19 Receipts],
2,'Prod Rev Summary'[FY19 Receipts],
3,'Prod Rev Summary'[FY19 Receipts],
4,'Prod Rev Summary'[FY19 Receipts],
5,'Prod Rev Summary'[FY19 Receipts],
6,'Prod Rev Summary'[FY19 Receipts],
7,'Prod Rev Summary'[FY19 Receipts],
8,'Prod Rev Summary'[FY19 Receipts],
9,'Prod Rev Summary'[FY19 Receipts],
10,'Prod Rev Summary'[FY24 Receipts],
11,'Prod Rev Summary'[FY24 Receipts],
12,'Prod Rev Summary'[FY19 Receipts]
)
Better have a month column and then try like
FY24 Receipts Scenario 1 =
Sumx(values('Merged Balance Data'[Report Month]),
SWITCH(Max('Prod Rev Summary'[Report Month]),
1,'Prod Rev Summary'[FY19 Receipts],
2,'Prod Rev Summary'[FY19 Receipts],
3,'Prod Rev Summary'[FY19 Receipts],
4,'Prod Rev Summary'[FY19 Receipts],
5,'Prod Rev Summary'[FY19 Receipts],
6,'Prod Rev Summary'[FY19 Receipts],
7,'Prod Rev Summary'[FY19 Receipts],
8,'Prod Rev Summary'[FY19 Receipts],
9,'Prod Rev Summary'[FY19 Receipts],
10,'Prod Rev Summary'[FY24 Receipts],
11,'Prod Rev Summary'[FY24 Receipts],
12,'Prod Rev Summary'[FY19 Receipts]
))