cancel
Showing results for 
Search instead for 
Did you mean: 
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 accept it as the solution to help other members find it faster, and give a big thumbs up.

Best regards, JiHwan Kim

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

Twitter: https://twitter.com/Jihwan_JHKIM

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 accept it as the solution to help other members find it faster, and give a big thumbs up.

Best regards, JiHwan Kim

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

Twitter: https://twitter.com/Jihwan_JHKIM

View solution in original post

@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/

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!
Dashboard of My Blogs !! Connect on Linkedin
Want To Learn Power BI
Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
Proud to be a Super User!

Helpful resources

Announcements
Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Jan 2022 Dev Camp 768x460 copy.png

Power BI Dev Camp- January 27th, 2022

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors
Top Kudoed Authors