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
PBIEvangelist
Frequent Visitor

Creating Calculated Rows in a Matrix

Hello!

 

I have a matrix and I am trying to add more than one calculated row. Please see example below. My initial thought was to try to create several measures for each Account Name for MTD, YTD, 1YR, etc. However, I am not sure where to start or if this is even possible using a matrix. Any help / Advice will be greatly appreciated.  Thanks!

 

 

Account NameAccount DetailMTDQTDYTDYR1 
Account Name 1Account Return0.521.51.57.2 
 Benchmark Return 10.481.681.738.29 
 Benchmark Return 20.952.22.5811.95 
 Diff of Account Return and Benchmark Return 1)0.04-0.18-0.23-1.09<-- New Calc
 Diff of Account Return and Benchmark Return 2)-0.43-0.7-1.08-4.75<-- New Calc
Account Name 2Account Return0.61.951.28.3 
 Benchmark Return 10.481.681.738.29 
 Benchmark Return 20.952.22.5811.95 
 Diff of Account Return and Benchmark Return 10.120.27-0.530.01<-- New Calc
 Diff of Account Return and Benchmark Return 2-0.35-0.25-1.38-3.65<-- New Calc

 

Step Layout is set to Off

PBIEvangelist_0-1625120267518.png

 

 

4 REPLIES 4
Anonymous
Not applicable

Hi @PBIEvangelist 

Has your problem been solved ? If it has been solved, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards

Community Support Team _ Ailsa Tao

amitchandak
Super User
Super User

@PBIEvangelist ,Usually there is not way to add custom rows

You have to create a new table with these diff as account details with the account name. Join the current table and this new table with common account and account details and display.

 

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

I have not been able to make this work. Calculating the differences in particular and formating in rows. I created a Layout with IDs to distinguish what is what in excel but I get stuck there. Is there anyway you can show me an example?

Thanks so much for your response! I will try this out today. 

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.

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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