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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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/

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

1 REPLY 1
amitchandak
Super User
Super User

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

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

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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