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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Kpham
Resolver I
Resolver I

matrix different description source per row

Matrix table:

 

use another description on first level description of the matrix table than the levels below the first level. 
should be:

Sales Order : 0000073456 - 00000088

level :   C541210 - PP_Quick Disc......

level     C541211 - PP_KOPP.....

Problem description: As it is I need to use three columns to show the relevant information. If  i can post the project definition on the place of the material descroption then everything would be more clear for the user

As is:

Capture.PNG

To be:
Capture.PNG

1 ACCEPTED SOLUTION
v-yiruan-msft
Community Support
Community Support

Hi @Kpham ,

According to your screen shots, it seems you want to display the data from two fields into one field and the data from another field display in subtotal row. You can create a measure as below and put this new created measure to replace the field Material Description and Project Definition:

NmDes&pDef =
IF (
    ISINSCOPE ( 'Sales'[Sales Order] ) && NOT ( ISINSCOPE ( 'Sales'[Item] ) ),
    MAX ( 'Sales'[Project definition] ),
    MAX ( 'Sales'[Material Description] )
)

matrix different description source per row.JPG

Best Regards

Rena

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-yiruan-msft
Community Support
Community Support

Hi @Kpham ,

According to your screen shots, it seems you want to display the data from two fields into one field and the data from another field display in subtotal row. You can create a measure as below and put this new created measure to replace the field Material Description and Project Definition:

NmDes&pDef =
IF (
    ISINSCOPE ( 'Sales'[Sales Order] ) && NOT ( ISINSCOPE ( 'Sales'[Item] ) ),
    MAX ( 'Sales'[Project definition] ),
    MAX ( 'Sales'[Material Description] )
)

matrix different description source per row.JPG

Best Regards

Rena

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
amitchandak
Super User
Super User

@Kpham ,The information you have provided is not making the problem clear to me. Can you please explain with an example.
Can you share sample data and sample output in table format?

 

see if this can help

https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax/
Appreciate your Kudos.

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

i have extended my problem description.. will this make it more clear

Helpful resources

Announcements
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!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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