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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
mtrevisiol
Helper V
Helper V

Add TARGET column to KPI matrix

Hi everyone.

I am creating a matrix that shows the performance of the company, month by month, using some indicators/KPIs.
In the columns there are the month and year (from January of this year to the current month), while in the rows there are the various indicators (total sales, active customers per month, ...). The format of the columns is "YYYY-MM":

 

mtrevisiol_1-1662366048349.png

and this is the underlying data structure:

 

mtrevisiol_6-1662366501301.png

 

I would like to understand how to add a 'target' column, with a single value for each indicator, containing the target value for each measure:

mtrevisiol_4-1662366296019.png

 

Here is the pbix file: https://www.dropbox.com/s/ipcv3ojxveqojat/Matrix%20with%20target%20values.pbix?dl=0

 

Can anyone help me? many thanks in advance.

 

1 ACCEPTED SOLUTION
CNENFRNL
Community Champion
Community Champion

CNENFRNL_0-1662389797874.png


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

View solution in original post

7 REPLIES 7
CNENFRNL
Community Champion
Community Champion

CNENFRNL_0-1662389797874.png


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

This is exactly what I needed, THANK YOU!

Hi, I also need to do the same, could you please help, I can not retrive what you have done to solve this by looking at this thread

Anonymous
Not applicable

Thank you, but the structure of my matrix is different and I cannot adapt that solution to my case.

In my matrix, columns represent "Month-year", while KPIs are in the Values field. The Rows field is empty...

@mtrevisiol ,

seems like you are looking for a Hybrid display with Matrix Column and measure
https://community.powerbi.com/t5/Community-Blog/Creating-a-custom-or-hybrid-matrix-in-PowerBI/ba-p/1...
https://community.powerbi.com/t5/Quick-Measures-Gallery/The-New-Hotness-Custom-Matrix-Hierarchy/m-p/...

vote for Hybrid Table
https://ideas.powerbi.com/ideas/idea/?ideaid=9bc32b23-1eb1-4e74-8b34-349887b37ebc

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

Thanks @amitchandak  for your help, but unfortunately even following this tutorial I cannot achieve the desired result, because the structure of my matrix is different.

 

If it were possible to associate the target value, for each indicator, with a 'fictitious' date preceding all others (e.g. 2022-00), perhaps I would find the solution.

 

The problem is that I do not know how to relate measure - target value - yearmonth to show a different target value in each row

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.