Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Jeff_Huber_1967
Frequent Visitor

Matrix Help

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]

)

 

1 REPLY 1
swikritee_p
Resolver II
Resolver II

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]

 

))

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.