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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
AbigailCole
Frequent Visitor

Matrix Configuration - add a goal measure column

Hello all,

 

I am attempting to re-create this table in power bi:

AbigailCole_4-1715865134332.png

 

 

 

Where the KPI's are measures used in the power bi. I was able to create a matrix with the months and the YTD:

AbigailCole_7-1715865453702.png

 

 

 

But how does one add a goal column to this matrix? I found a similar question on the forum, however they *replaced* the total column with the goal column, and I'm hoping to do both. This is the current measure I use for the goal column:

 

Monthly Matrix Ratio 1 = IF(
                                                HASONEVALUE('Calendar'[Month]),
                                                                 [Ratio 1],
                                                                 AVERAGE('PLANT LIST'[RATIO_1_TARGET])
                                             )
 
However then I get a matrix that looks like this:
AbigailCole_6-1715865260998.png

 

 

Any way to have my cake and eat it too? aka have a YTD and Goal column in a matrix? Or does this really have to be in seperate visuals?

 

Thank you all,

 

Abbey

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

Hi @AbigailCole ,

 

Due to its design, there is no way for PBI Desktop to directly display such a matrix. But you can take the following alternative.
1. First you need to create two measures [Total] and [Goal] and then you need to place them in the Value field of the matrix.

vtangjiemsft_2-1715913998172.png

2. Then manually adjust the column widths to hide the Total and Goal values under the month and keep only the data you want to show.

vtangjiemsft_0-1715913868018.png

3. Finally search for "text wrap" under the [Format your visual] pane and close it.

vtangjiemsft_1-1715913944536.png

4.Then the result is as follows.

vtangjiemsft_3-1715914055266.png

Best Regards,

Neeko Tang

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-tangjie-msft
Community Support
Community Support

Hi @AbigailCole ,

 

Due to its design, there is no way for PBI Desktop to directly display such a matrix. But you can take the following alternative.
1. First you need to create two measures [Total] and [Goal] and then you need to place them in the Value field of the matrix.

vtangjiemsft_2-1715913998172.png

2. Then manually adjust the column widths to hide the Total and Goal values under the month and keep only the data you want to show.

vtangjiemsft_0-1715913868018.png

3. Finally search for "text wrap" under the [Format your visual] pane and close it.

vtangjiemsft_1-1715913944536.png

4.Then the result is as follows.

vtangjiemsft_3-1715914055266.png

Best Regards,

Neeko Tang

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

Thank you!! I appreciate this work around!

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.