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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Create a 2 x 2 matrix populated with 4 metrics and column / row labels?

Hi, 

 

I'm trying to create a 2x2 matrix with 4 metrics that have been created.  

  • The reason is due to space limitations of KPIs for a scorecard.

 

Essentially I would Like it to look like the below photoshopped image

slacey7070_0-1648130462261.png

 

Out of the Box, If I put these 4 metrics as values in a matrix it's displayed like this. 

slacey7070_1-1648130613350.png

 

If I select 'show on rows' under the values tab, it will put them all in one row as columns. 

slacey7070_2-1648130676581.png

 

I've tried a few other options with multi-row cards, and having 2 tables, but this is the only option I really have to minimize the space of the information to get it in the real estate I have to work with. 

 

 

Thank you for any help on this one!

 

 

 

 

 

 

1 ACCEPTED SOLUTION
v-easonf-msft
Community Support
Community Support

Hi, @Anonymous 

You need to add a table 'Table2' :

1.png

Then try formulas as below:

Vs LY = 
SWITCH (
    SELECTEDVALUE ( Table2[Type] ),
    "Var$", [Var$ vs LY],
    "Var%", FORMAT ( [Var% vs LY], "Percent" )
)
Vs Budget = 
SWITCH (
    SELECTEDVALUE ( Table2[Type] ),
    "Var$", [Var$ vs Budget],
    "Var%", FORMAT ( [Var% vs Budget], "percent" )
)

1.png

 

 

Best Regards,
Community Support Team _ Eason

View solution in original post

2 REPLIES 2
v-easonf-msft
Community Support
Community Support

Hi, @Anonymous 

You need to add a table 'Table2' :

1.png

Then try formulas as below:

Vs LY = 
SWITCH (
    SELECTEDVALUE ( Table2[Type] ),
    "Var$", [Var$ vs LY],
    "Var%", FORMAT ( [Var% vs LY], "Percent" )
)
Vs Budget = 
SWITCH (
    SELECTEDVALUE ( Table2[Type] ),
    "Var$", [Var$ vs Budget],
    "Var%", FORMAT ( [Var% vs Budget], "percent" )
)

1.png

 

 

Best Regards,
Community Support Team _ Eason

amitchandak
Super User
Super User

@Anonymous , refer to this video on calculation group, I have discussed a few formats like this 

Calculation Groups- Measure Slicer, Measure Header Grouping, Measure to dimension conversion. Complex Table display : https://youtu.be/qMNv67P8Go0

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

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors