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

View all the Fabric Data Days sessions on demand. View schedule

Reply
SwaroopRoyM
Helper II
Helper II

Dynamically adding/deleting visuals

Hi,

 

I am looking for a way to add/delete visuals based on the selection made in number slicer.

 

For example: I have a number slicer (from 1 to 10), if the user selects 2 then 2 visuals should be shown; if he selects 5 visuals should be shown.

 

Also, the the numbers in slicer may vary.

 

Thanks,

Swaroop

4 REPLIES 4
Anonymous
Not applicable

@v-qiuyu-msftsuggestion hits pretty close to the mark.  I'd suggest using the suggestion of Bookmarks but instead of using a slicer, use Buttons instead.

Thank you

v-qiuyu-msft
Community Support
Community Support

Hi @SwaroopRoyM,

 

In Power BI, the slicer visual is used for filtering data. It can't change visuals visibility directly based on selected values. 

 

For your requirement, one workaround is to create bookmarks for each selected slicer value and change other visuals visibility based on selection pane. See: https://docs.microsoft.com/en-us/power-bi/desktop-bookmarks 

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors