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
pedroccamaraDBI
Post Partisan
Post Partisan

Matrix with as many levels (on the left side) as client needs

Hello and i hope everyone's ok
I would like to build my matrix but through a filter, to define how many levels i want to see the information.
For example, if i choose 2 columns from the table for the matrix, Company and Seller

apagar1.JPG
But if i choose 3 columns, it would be like this:
apagar2.JPG
Anyone can help?
Thank you all so much

1 ACCEPTED SOLUTION

Hello @Daryl-Lynch-Bzy and thank you for your message.
I got very curious about the new upcoming feature and maybe it is the solution i need. For once i thought you're talking about calculation groups, but let's see the may update.
About this issue, i found the solution: through unpivot other columns you can achive this, wether for columns but also for rows, as Parker explained here 
Power BI - Dynamic Columns in a Table - YouTube
Stay safe and healthy guys

View solution in original post

6 REPLIES 6
Daryl-Lynch-Bzy
Resident Rockstar
Resident Rockstar

Hi @pedroccamaraDBI .  There is an update coming to Power BI in May call Dynamic Report Parameters.  This update allows you to effective create a slicer with various dimensions and measures.  I have see a demo of this feature last week at SQLBits, and asked about your requirement.  The new feature will allow the use to dynamically change the levels included in the matrix rows.  This new feature will eliminate the need to multiple visuals and bookmarks suggested by @v-yiruan-msft.

Hello @Daryl-Lynch-Bzy and thank you for your message.
I got very curious about the new upcoming feature and maybe it is the solution i need. For once i thought you're talking about calculation groups, but let's see the may update.
About this issue, i found the solution: through unpivot other columns you can achive this, wether for columns but also for rows, as Parker explained here 
Power BI - Dynamic Columns in a Table - YouTube
Stay safe and healthy guys

v-yiruan-msft
Community Support
Community Support

Hi @pedroccamaraDBI ,

Please review the solution in the following thread which has the same requirement as yours, hope it can help you.

Dynamically change row in matrix on droplist slicer

yingyinr_0-1646732444090.png

Best Regards

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.
Daryl-Lynch-Bzy
Resident Rockstar
Resident Rockstar

Hi @pedroccamaraDBI, I am not sure this is possible using a Slicer...

 

I am thinking that you can have several different table/matrix that are layed over each other, and then use bookmarks to toogle the Layer order.

 

The problem you will have is that slicer selection cannot control the selection of the Bookmarks.

 

You can create buttons (or use the new feature of automate books) to switch between the table views:

 button 1 - Company

 button 2 - Company by Seller

 button 3 - Company by Product

 button 4 - Company by Cost Center

 

The problem you have is that with 4 selections there are 80 variations to the table.

 

My suggestion is apply the "Less is More" princple.  So only create the variation that the business really need.  Also consider different pages for the Primary "Company by x" or "Product by x".

 

Many thanks

Daryl

Syk
Super User
Super User

Add all of the fields, the matrix will allow the users to expand/contract each one.

i'm sorry to say but that wasn't my question

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.