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
Marico
Helper IV
Helper IV

Matrix

I have the following requirements from the user, but I am unsure how many are possible.

 

Model Structure:

The source and Target data come from two different database tables. The model also includes a date table.

 

Requirement:

Marico_0-1736855835521.png

 

I need to create a matrix like the above where:

1. The user should be flexible in changing the target month column for different months from the target table.

2. A user should have a slicer to choose the blue color code months. They are coming from the source table.

3. The default view should show the current end-of-the-year target column and the previous 5 months from the source table.

 

Here is the link to my working file - https://github.com/priyam2790/PBI/blob/main/matrix.pbix

 

Thank you!

2 REPLIES 2
danextian
Super User
Super User

Wait, is that on your screenshot what the user really wants? That will involve a measure/measures and a disconnected table with all the possible column combination names. For example for the one in pink current year end target (Dec-25), current year end target (Dec-26),etc. And what  period is current calendar year month? While you want is possible, it certainly is a lot of work.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
speedramps
Super User
Super User

Try this

 

delete the slicers table

Fux the relationship

speedramps_0-1736857594178.png

 

fix the measure

 

fully op % = MAX(Target[fully % op])

 

 

use the Date[month year] in the slicer

 

speedramps_1-1736857780226.png

 

speedramps_2-1736857837143.png

 

 

Download my PBIX solution from Onedrive here

Click here 

 

Please click [accept solution] and thumbs up button. Thank you

 

 

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