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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
Masha
Frequent Visitor

Change visual based on slicer selection or measure value

Hello,

 

Here is what I have. Total Sales visual for Regions and drill down to Countries.

Masha_1-1651023017934.png

 

I would like to be able to show drill down of Countries if only one Region is selected.

I could have buttons for Regions and Countries linked to bookmarks and switch between the visuals, but I would like it to be dynamically displayed without user clicking and I don't think it's possible to "activate" button without clicking on it. 

 

So I tried Conditional formatting for bar and background colours, that's where I got to:

once one Region is selected - both bars and background are transparent and I could underlie another visual to display only Countries (and would need to work around on labelling etc)

Masha_2-1651023299574.png

 

The issue with this is that by selecting more than one Region the bar colour is now ignoring my measure and is automatically set up to white transparent. It looks like this:

Masha_3-1651023591181.png

Masha_4-1651023663003.png

Not good.

 

I tried the other way around, where Countries chart is on front and colours are transparent unless the Region equals one and visually it works, however drill down from Region chart becomes unavailable due to Layer order.

 

Has anyone came across it and possible work around?

 

 

This seems to be very similar request but, sadly, without currently available solution.

1 REPLY 1
v-zhangti
Community Support
Community Support

Hi, @Masha 

 

For your first question, link the region and country buttons to the bookmarks and switch between visual effects to display them dynamically, this can be done by trying to show the bookmarks as a slideshow and of course by tapping a start.

 

For details, please refer to the following document, hope it can help you.

https://docs.microsoft.com/power-bi/consumer/end-user-bookmarks#bookmarks-as-a-slide-show 

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Solution Authors
Top Kudoed Authors