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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. 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.

 

Share with Power BI Enthusiasts: 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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.