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

Get 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

Reply
Chanakya_vcr
Regular Visitor

Issue with Matrix Table Fields Display in Power BI

Issue with Matrix Table Fields Display in Power BI

I’m trying to create a matrix table in Power BI with the following format:

CYPY
Sellout CY# Models CYSellout/Unit CYSellout PY# Models PYSellout/Unit PY
54836321910828715310141433074

 

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]0CY
# Models CY'Sellout Expression'[# Models]1CY
Sellout/Unit CY'Sellout Expression'[Sellout Per Unit]2CY
Sellout PY'Sellout Expression'[Nov_Sellout_SPLY]3PY
# Models PY'Sellout Expression'[# Models PY]4PY
Sellout/Unit PY'Sellout Expression'[Nov_FM_Sellout Per Unit_LY]5PY

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:

CYPY
Sellout CY# Models CYSellout/Unit CYSellout PY# Models PYSellout/Unit PYSellout CY# Models CYSellout/Unit CYSellout PY# Models PYSellout/Unit PY
5483632191082871531014143307454836321910828715310141433074

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:

  • Fields related to CY should only appear under the CY column.
  • Fields related to PY should only appear under the PY column.

How can I achieve this layout in the Matrix table?

2 REPLIES 2
lbendlin
Super User
Super User

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.

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.