Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
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
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 48 | |
| 40 | |
| 40 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 70 | |
| 67 | |
| 32 | |
| 27 | |
| 26 |