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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Complex Matrix with multi variables

My goal is to create a table like the one below.


KPI.png


The problem is, that each 'cell' should include three elements:
1) & 2 ) a combination of two different variables (Realized and Goal)
3) separated by a ' / '

It's easily done in excel, but can it be replicated in Power BI? 
Thanks.

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

HI, @Anonymous 

You could get in a matrix visual.

Realized and Goal are two measure? if so use this formula to create a new measure to combine them together.

New Measure = [Realized]&"/"&[Goal]
Then drag it to matrix visual.
If Realizedand Goal are not two measure, transform them to measure.
 
Best Regards,
Lin

 

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-lili6-msft
Community Support
Community Support

HI, @Anonymous 

You could get in a matrix visual.

Realized and Goal are two measure? if so use this formula to create a new measure to combine them together.

New Measure = [Realized]&"/"&[Goal]
Then drag it to matrix visual.
If Realizedand Goal are not two measure, transform them to measure.
 
Best Regards,
Lin

 

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
sivapandi
Helper I
Helper I

Table =
ADDCOLUMNS (
    SUMMARIZE ( 'KPI', 'KPI'[Detailed] ),
    "APR", CALCULATE ( MAX ( 'KPI'[Realised] ), 'KPI'[Month] = "APR" ) & "/"
        & CALCULATE ( MAX ( 'KPI'[Goal] ), 'KPI'[Month] = "APR" ),
    "MAY", CALCULATE ( MAX ( 'KPI'[Realised] ), 'KPI'[Month] = "MAY" ) & "/"
        & CALCULATE ( MAX ( 'KPI'[Goal] ), 'KPI'[Month] = "MAY" ),
    "JUN", CALCULATE ( MAX ( 'KPI'[Realised] ), 'KPI'[Month] = "JUN" ) & "/"
        & CALCULATE ( MAX ( 'KPI'[Goal] ), 'KPI'[Month] = "JUN" )
)

TEMP_TABLE.png

 

 

hI.,

 

I used above dax code to create temp table as u want. hope will solve your issue.i got the result as attached image.

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.

Top Solution Authors