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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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