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
vinothkumar1990
Helper II
Helper II

How to display the report dynamically based on the slicer selection?

Hi,

  I have below two different datasets and both has different number of columns. 

vinothkumar1990_0-1636698345294.png

 

I want to keep a fliter for student and Teacher. If i select the Student then i should be able to see the Student table report like beelow,

vinothkumar1990_1-1636698424146.png

 

If i select the Teacher then i should be able to see the Teacher table reportlike beelow,

vinothkumar1990_2-1636698467671.png

 

Can you please help?

 

Thanks,

Vinoth

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@vinothkumar1990 , You need to use bookmarks or you need unpivot teacher and student for that

 

Dynamically change chart axis in Power BI
bookmark -https://blog.crossjoin.co.uk/2018/04/20/dynamically-changing-a-chart-axis-in-power-bi-using-bookmarks-and-buttons/
https://radacad.com/bookmarks-and-buttons-making-power-bi-charts-even-more-interactive
https://www.youtube.com/watch?v=6jeSIRpjv0M
https://datamonkeysite.com/2020/10/22/change-dimension-dynamically-using-parameter-in-powerbi/

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@vinothkumar1990 , You need to use bookmarks or you need unpivot teacher and student for that

 

Dynamically change chart axis in Power BI
bookmark -https://blog.crossjoin.co.uk/2018/04/20/dynamically-changing-a-chart-axis-in-power-bi-using-bookmarks-and-buttons/
https://radacad.com/bookmarks-and-buttons-making-power-bi-charts-even-more-interactive
https://www.youtube.com/watch?v=6jeSIRpjv0M
https://datamonkeysite.com/2020/10/22/change-dimension-dynamically-using-parameter-in-powerbi/

@amitchandak - Thanks for the solution!

 Is that possible to use the slicer instead of buttons?

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.