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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Nested Rows in Matrix

I have 4 different tables: Location, Product, Year and Sales Fact.

I need to create a nested Matrix as below:

 

Matrix 1.JPG

 

I am able to create Column Level Nesting.

But I am not able to create Row Level Nesting between Location and Product.

 

Need help in achieving this.

 

 

5 REPLIES 5
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

If you have four tables as mine and create relationships as below

7.png

Then you could add columns in matrix visual and get the expected output.

Please find more details in my pbix file.

 

Best Regards

Maggie

 

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

Anonymous
Not applicable

Hi @v-juanli-msft 

 

Is there any particular property that needs to be set?

I already had joins inplace, but I am not getting the desired output.

 

Relationship.JPGData.JPG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Above is the output that I am getting.

 

Thanks,

Ravin

Hi @Anonymous 

The cross filter direction between "Product" and "Sales fact" should be "both" instead of "single".

11.png

12.png

 

Best Regards

Maggie

 

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

Anonymous
Not applicable

Hi @v-juanli-msft ,

 

I change the cross filter from Single to Both.

But still I am not able to achieve the required nesting.

Is there any other property I need to change or set?

 

Thanks,

Ravin

Hi @Anonymous 

I don't know why it doesn't work on your side.

Could you create a simple test pbix file and share with me?

 

Best Regards

Maggie

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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