Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Issue with Matrix Table Fields Display in Power BI
I’m trying to create a matrix table in Power BI with the following format:
CY | PY | ||||
Sellout CY | # Models CY | Sellout/Unit CY | Sellout PY | # Models PY | Sellout/Unit PY |
5483632 | 19108 | 287 | 1531014 | 14330 | 74 |
In the above table, under the CY column, I expect only "Sellout CY," "# Models CY," and "Sellout/Unit CY" values, while under the PY column, I want only "Sellout PY," "# Models PY," and "Sellout/Unit PY" values.
To achieve this, I created parameters and organized them as shown below:
CYSellout/Models/Unit_Parameters FieldsSellout/Models/Unit_Parameters OrderMap
Sellout CY | 'Sellout Expression'[Sellout CY] | 0 | CY |
# Models CY | 'Sellout Expression'[# Models] | 1 | CY |
Sellout/Unit CY | 'Sellout Expression'[Sellout Per Unit] | 2 | CY |
Sellout PY | 'Sellout Expression'[Nov_Sellout_SPLY] | 3 | PY |
# Models PY | 'Sellout Expression'[# Models PY] | 4 | PY |
Sellout/Unit PY | 'Sellout Expression'[Nov_FM_Sellout Per Unit_LY] | 5 | PY |
I added the Map field to the columns in the above table. However, instead of displaying the correct fields under each column, my output looks like this:
CY | PY | ||||||||||
Sellout CY | # Models CY | Sellout/Unit CY | Sellout PY | # Models PY | Sellout/Unit PY | Sellout CY | # Models CY | Sellout/Unit CY | Sellout PY | # Models PY | Sellout/Unit PY |
5483632 | 19108 | 287 | 1531014 | 14330 | 74 | 5483632 | 19108 | 287 | 1531014 | 14330 | 74 |
In the above table, the fields related to CY and PY are being duplicated under both columns (CY and PY), rather than being grouped under their respective headers.
Expected Outcome:
How can I achieve this layout in the Matrix table?
You need to create a new measure that reads the values of your (disconnected) mapping table and then provides the appropriate measure value. Not something you can do with field parameters.
Hi @lbendlin ,
Thank you for the suggestion! Could you please provide an example of how to create this measure for the disconnected mapping table? It would be really helpful to see how to set up the measure to pull the appropriate values under CY and PY as intended.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
87 | |
85 | |
82 | |
66 | |
49 |
User | Count |
---|---|
137 | |
111 | |
101 | |
66 | |
65 |