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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
mtomova
Helper I
Helper I

Change slicer options based on visual selection

Hi all,

 

I have a slicer with few client codes.

What I want is - when I select a specific data in a visual, which relates to only one of the client codes, to see only this client code left in the slicer when I open it.

 

Is that even possible?

Obvisouly the visuals are affected by slicer selections, but I thought the other way around should work too?

 

Thanks,

Maria

1 ACCEPTED SOLUTION
v-fenling-msft
Community Support
Community Support

Hi, @mtomova 

I am glad to help you.

 

The feature you mention is really not a standard feature of Power BI. The slicer is typically used to filter visual objects, not the other way around.


But if you just want to display the client code selected in the visual, perhaps you could add a Table visual and have it display the client code exclusively:

vfenlingmsft_0-1727839009540.png


I've attached the pbix file for the simple example below, I hope it helps.

 

 

I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Fen Ling,
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
v-fenling-msft
Community Support
Community Support

Hi, @mtomova 

I am glad to help you.

 

The feature you mention is really not a standard feature of Power BI. The slicer is typically used to filter visual objects, not the other way around.


But if you just want to display the client code selected in the visual, perhaps you could add a Table visual and have it display the client code exclusively:

vfenlingmsft_0-1727839009540.png


I've attached the pbix file for the simple example below, I hope it helps.

 

 

I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Fen Ling,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi, @v-fenling-msft!
Yes, that's not a bad idea, I will probably do something of the kind.

 

Thanks a lot,

Maria

mtomova
Helper I
Helper I

Hi, 

in the scheme the relationship the 'cross-fitler direction' is set to 'both'.
So I would have expected for these tables to fitler eachother.

 

As I test, I have created a visual and a slicer from the same table, and when I make a selection in the visual the slicer is not affected at all.

So I am wondering, if what I am after is even possible.

 

Thanks,

Maria

audreygerred
Super User
Super User

Do you have a star-schema? When you look at the model view and see teh joins between your tables, the arrows will point in teh direction of the filtering (what you will typically see if the arrow pointing in the direction of your fact table, i.e. the dimension table filters the fact table, not reverse).





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Top Solution Authors