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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
planc7
Frequent Visitor

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/

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/

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors