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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

Advance Filter

I have 2 columns, and I need an intelligent filter that can select types only when a condition is met.

Color       Type
Blue         A,B
Brown     A,D
Red         C,B
Yellow     A,B,C



The model that I have was splitted in this way:

Color      Type
Blue        A
Blue        B  
Brown     A
Brown     D  
Red         C 
Red         B  
Yellow     A
Yellow     B  
Yellow     C  

If I select A, C, D, the result should be:


Color     Type
Brown     A,D

But my result using a Slicer is
Color   Type
Blue       A,B
Brown    A,D
Red        C,B
Yellow    A,B,C

Could you please help me to find a solution?

2 ACCEPTED SOLUTIONS
dax
Community Support
Community Support

Hi @Anonymous , 

I change something in my sample, you could try to use measure 8 for your sample(or you could use measure 6), and manually change table 3(beacuse it sort wrong when use values (table)). You could refer to my sample for details.

 

Best Regards,
Zoe Zhi

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

Anonymous
Not applicable

Incredible solution, thanks💪

View solution in original post

4 REPLIES 4
dax
Community Support
Community Support

Hi @Anonymous , 

You could refer to my sample for details.

Best Regards,
Zoe Zhi

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

Anonymous
Not applicable

Color       Type
Blue         A,B
Brown     A,D
Red         C,B
Yellow     A,B,C

 

Hi Zoe,

 

Thanks for the help, I really appreciate it. I checked the pbxi and is really impressive. I have a question, what happen if I have to select a different combination, for example:  If I have to select B,C? The results should be:

Red         C,B
Yellow     A,B,C

 

If I have to select A, B? The results should be:

Blue         A,B

Yellow     A,B,C

 

 

That is the result that I need.

 

Thanks for the help,

 

Arthur

dax
Community Support
Community Support

Hi @Anonymous , 

I change something in my sample, you could try to use measure 8 for your sample(or you could use measure 6), and manually change table 3(beacuse it sort wrong when use values (table)). You could refer to my sample for details.

 

Best Regards,
Zoe Zhi

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

 

Anonymous
Not applicable

Incredible solution, thanks💪

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.