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
manalla
Helper V
Helper V

Add/Remove columns to table based on slicer selection.

Hi,

 

I have 20 columns in data table. And one of the columns contains values which can be used for slicer, total distinct values for Slicer are 3. So i have 3 values that i can select from slicer.

 

Number of columns that needs to be displayed in table visual for each slicer is varying.

For first slicer i need to show 15 columns in table visual, For second slicer I will need to add few columns to table and remove few. Same with third slicer need to add few and remove few.

 

I created three book marks for this, but we need to achieve in one single page of Power BI.

 

Any sugesstions or references will help.

 

Thanks!

 

1 ACCEPTED SOLUTION

@manalla

 

Here is a quick and dirty mockup PBIX file which includes the "toggling" of visuals.

 

"Toggling" Visuals

 

Hope it helps!

 

Regards,

Paul.





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






View solution in original post

5 REPLIES 5
PaulDBrown
Community Champion
Community Champion

Hi @manalla

 

You can use "buttons" instead of a slicer, one for each of the values you would use in the slicer. Create 3 different visuals (adding/removing colums) and hide/show each visual in the visuals pane by linking each corresponding button per bookmark. All on the same page.

 

Hope that doesn't sound too confusing...

 

Regards,

Paul.





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Hi @PaulDBrown,

 

Can you also please guide me in linking the text box to a bookmark? I coulnt find any togglign action thing available.

Any refrence link should help.

 

Thanks!

 

 

 

 

@manalla

 

Here is a quick and dirty mockup PBIX file which includes the "toggling" of visuals.

 

"Toggling" Visuals

 

Hope it helps!

 

Regards,

Paul.





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Hi @PaulDBrown

 

I am actually using Power BI Report server and not PBI Service. Realised that Book marks are still not available in PBI report server version desktop which we will start using soon.

 

Other than bookmarks, do we have any other way to hide/show tables or dynamically change the #of columns on display using slicers/filters?

@manalla

 

 

A7DA8911-930E-4B64-824B-7E41861B345E.jpegYou create the link for each image (it has to be an image; text boxes don’t have the option to link to bookmarks) to the corresponding bookmark in the Format Image pane. Select the image/button which will act as the “slicer”/selection and open the image format pane. Apologies since this screenshot is actually from the PBI service, but it’s the same on Desktop.

 

There is no toggling option. Each image is referenced to individual bookmarks where you have pre-set the visuals to be seen (by hiding the visuals not wanted for that “slicer”/selection in the selection pane) when the user clicks on the image

 

Sorry about the poor explanation:I’m typing this on an ipad....

 

let me know if you are still having problems.

 

Regards,

Paul..





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






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.