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
Anonymous
Not applicable

Change x-axis when i change my filter

Hello everyone !

 

I got 2 filters in my bi :

- mois (month)

- BO (Place)

 

florian245_0-1688975121653.png

 

 

I would like to have 1 unical graph which displays :

- the number of PST (Npst is a value : see below on the histogram) by place (BO) when month is filtered

- the number of PST by month (mois) when BO is filtered.

 

The result is this but i would like to gather it on the same graph.

florian245_1-1688975284121.png

 

If someone has tips or solution i take 🙂

 

Thanks !!!

1 ACCEPTED SOLUTION

Hi , @Anonymous 

According to your description, you want to dynamicly change the x-axis in your visual by your slicer.

First of all, the current method of dynamically switching the X-axis dimension in Power BI is "Field parameter".

We can create the field parameter like this:

vyueyunzhmsft_0-1689143520217.pngvyueyunzhmsft_1-1689143533072.png

And then we can put the field on the viusal and we can use the slicer to change the x-axis:

vyueyunzhmsft_2-1689143588533.png

 

And for your second need , in my experience , just like the @Alf94  said, there seems no way to make the slicer selected when the other slicer selected.So , you need to first select the 'Parameter' slicer to select which dimension you want to see and then you can filter the [BO] and [miso] in your slicer !

 

For this , you can also refer to the document about "Field parameter":

Let report readers use field parameters to change visuals (preview) - Power BI | Microsoft Learn

What are Field Parameters in Power BI? | phData

 

 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

 

 

View solution in original post

4 REPLIES 4
Alf94
Solution Supplier
Solution Supplier

Hi @Anonymous ,

 

You could create a hierarchy in your histogram. By default the higher level would be NPST by month, and when you drill down on a month you will see NPST by BO.

 

If I answered your question, please mark my post as a solution.

 

Best,

Anonymous
Not applicable

Yes i saw this but is it possible to automate it without clicking to move on to the second graph?

At first sight I think not, but maybe someone will have an idea to help you.

Hi , @Anonymous 

According to your description, you want to dynamicly change the x-axis in your visual by your slicer.

First of all, the current method of dynamically switching the X-axis dimension in Power BI is "Field parameter".

We can create the field parameter like this:

vyueyunzhmsft_0-1689143520217.pngvyueyunzhmsft_1-1689143533072.png

And then we can put the field on the viusal and we can use the slicer to change the x-axis:

vyueyunzhmsft_2-1689143588533.png

 

And for your second need , in my experience , just like the @Alf94  said, there seems no way to make the slicer selected when the other slicer selected.So , you need to first select the 'Parameter' slicer to select which dimension you want to see and then you can filter the [BO] and [miso] in your slicer !

 

For this , you can also refer to the document about "Field parameter":

Let report readers use field parameters to change visuals (preview) - Power BI | Microsoft Learn

What are Field Parameters in Power BI? | phData

 

 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

 

 

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!

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.

Top Solution Authors
Top Kudoed Authors