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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Minakshi
Resolver I
Resolver I

dynamic x-axis based on other slicer value selection

Hi Experts,
I have following structure of the data.
DataData
My customer wants to have dynamic x-axis based on Market.
1. When market is "Mid Size", they want to see  a visual (bar chart) Customer/sales
2. When market is "Big", they want to see bar chart Region/sales in the same visual.

Kindly help me with this. Can it be done ?

Date, Customer Name, Market and Region are the slicers on the page.
Thanks in advance

1 ACCEPTED SOLUTION
Jihwan_Kim
Super User
Super User

Hi, @Minakshi 

If I understood your question correctly, I want to suggest building up the Model like the below picture.

- Separate slicer table for Big / Mid size is needed.

- All measures are in the sample pbix file link down below.

 

Picture1.pngPicture2.pngPicture3.png

 

 

https://www.dropbox.com/s/uxpzvgxnqpbra3f/minakshi.pbix?dl=0 

 

Hi, My name is Jihwan Kim.

 

If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.

 

Linkedin: https://www.linkedin.com/in/jihwankim1975/


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

View solution in original post

3 REPLIES 3
Jihwan_Kim
Super User
Super User

Hi, @Minakshi 

If I understood your question correctly, I want to suggest building up the Model like the below picture.

- Separate slicer table for Big / Mid size is needed.

- All measures are in the sample pbix file link down below.

 

Picture1.pngPicture2.pngPicture3.png

 

 

https://www.dropbox.com/s/uxpzvgxnqpbra3f/minakshi.pbix?dl=0 

 

Hi, My name is Jihwan Kim.

 

If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.

 

Linkedin: https://www.linkedin.com/in/jihwankim1975/


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

@Jihwan_Kim Many thanks for a quick help. 

amitchandak
Super User
Super User

@Minakshi , Please try to use the bookmark and button - it can not be as dynamic as you want.

https://radacad.com/bookmarks-and-buttons-making-power-bi-charts-even-more-interactive

 

Drill through conditional navigation is one more option - https://visualbi.com/blogs/microsoft/powerbi/conditionally-drill-action-power-bi/

 

Other options are

Dynamically change chart axis in Power BI
https://www.youtube.com/watch?v=6jeSIRpjv0M
https://datamonkeysite.com/2020/10/22/change-dimension-dynamically-using-parameter-in-powerbi/

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.