Skip to main content
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

Frequent Visitor

Any ideas about switching dynamicly for Y or X Axis From Numbers to Precentages & Vis Verca

Hello & Good Morning to everyone.

I am seeking your help, as i have created a report with some dynamic measures which switches between different Catogieries using Numbers or precentages through slicers ,but i am looking for a dynamic Y or X axis which changes based on the type of measure either Number or a Precentage.

Below is an exampe of what we have crreated.

The Below Visual is based on two slicers 
1- We are using 2 Slicers (Plant which is a field parameter & Quantity which is a dax formula using switch to change between quantity & precentage%.


2-The Quantity Visual is having the correct axis for Number 

Number Y AxisNumber Y Axis
But the Precentage one , we need to have a dynmaic Axis for which changes from Number axis to % axis




So any ideas which formula to use to switch dynamic between Numbers & Precentage ?




Super User
Super User

Hello @Mehanam3885 how are you calculating your percentage? There are different categories, are you considering them while calculating or not. As I can see there is only one line in the percentage visual so calculate individually for each category and then try.

Well we are using switch & Selectedvalue based on the slicers chosen

Helpful resources

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