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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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 @Anonymous.

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

Anonymous
Not applicable

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

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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