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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
planc7
Helper I
Helper I

Dynamic Max Value on Bar Chart Depending on Hierarchy Level

Hi all,

I need to build a bar chart with two different level of Hierarchy on X Axis. Let's say Year and Release.

 

Then, I need to set dinamically a Max Value for Y Axis for each visualized level. For instance, when Release is visualized then Max Value is 5000, otherwise 10000.

 

I'm trying to use the ISINSCOPE function but it seems not working when is put on conditional formatting for Y Axis.

IF(ISINSCOPE([Release]),5000,10000).
 
Any ideas on how to control Y Axis for different level of Hierarchy?
 
For example, at year level the max value has to be 10000
planc7_0-1696341824189.png

 

When Release is drilled down then the max value has to be 5000, and not more 10.000

planc7_1-1696341873812.png

 

Thank you all.

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@planc7 , I checked out. I doubt isinscope works this.

You can log an idea  - https://ideas.powerbi.com/ideas/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
EOW
Frequent Visitor

If anyone is still looking for a solution to this, I've submitted it as an idea on the Ideas forum:
Let a visual title and Axes read displayed hierarc... - Microsoft Fabric Community
Hopefully it gets traction.

amitchandak
Super User
Super User

@planc7 , I checked out. I doubt isinscope works this.

You can log an idea  - https://ideas.powerbi.com/ideas/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors