This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Model Structure:
The source and Target data come from two different database tables. The model also includes a date table.
Requirement:
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!
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.
Try this
delete the slicers table
Fux the relationship
fix the measure
fully op % = MAX(Target[fully % op])
use the Date[month year] in the slicer
Download my PBIX solution from Onedrive here
Please click [accept solution] and thumbs up button. Thank you
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 27 | |
| 22 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 25 | |
| 20 | |
| 20 | |
| 20 | |
| 20 |