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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Anonymous
Not applicable

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%.
SlicersSlicers

 

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

Mehanam3885_0-1687507935962.png

 

 

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

 

 





 



2 REPLIES 2
Kishore_KVN
Super User
Super User

Hello @Anonymous 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.

Anonymous
Not applicable

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

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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