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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors