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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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.


Visit my LinkedIn page by clicking here.


Schedule a meeting with me to discuss further by clicking here.

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.


Visit my LinkedIn page by clicking here.


Schedule a meeting with me to discuss further by clicking here.

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

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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