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

PBI Desktop - Slicer option and dynamic levels in Matrix

Hello gurus,

I have a requirement.  Have a matrix report that shows the Industry/subindustry with measures.  The requirement is I need to  given an option in the slicer "Industry/SubIndustry"(2 levels)  Or LOB(3 Levels).  The Industry/SubIndustry is at a two-level hierarchy and the LOB is a three level hierarychy.  The columns are available in the base table.  How do I go about this? I need to have this dynamically in the same page, not additional page for LOB (something, like the Hierarchy changes dynamically). 

Thanks in advance!

 

Here's the sample: 

If IndustrySubIndustry option is chosen, the below should appear: 

 

Industry & Sub IndustryMeasure1Measure2Measure3
Transportation1005040
      Air703020
     Other302020
Agriculture200100100
       Livestock              1004040
       Fruits1006060

 

If LOB is chosen, following should appear:

LOB - Lvl, Lvl2, Lvl3Measure1Measure2Measure3
Capital Markets100100100
     International   
               Americas50100100
     Trading Products   
                TP Fund505050
1 REPLY 1
jdbuchanan71
Super User
Super User

@Anonymous 

You could use bookmarks to change the columns that are displayed in your matrix then just add 2 buttons, and link each bookmark to 1 of the buttons so the users can swtich.  Take a look at this video introducing bookmarks and buttons.

https://www.youtube.com/watch?v=_Afcj8mT5_Q&ab_channel=GuyinaCube

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.