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
eomedes
Advocate I
Advocate I

Filter Tickets where at least one line item contains a particular product

Hello community,

I have a single table in my model with 2 columns, CODE and ID_TICKET.

The following image shows 2 tables:

eomedes_1-1681401319146.png

 

- The one on the left has the CODE column and a count of ID_TICKET.

- The one on the right has the ID_TICKET and the CODEs that make up that ticket.


I have used this link, https://community.powerbi.com/t5/Desktop/Filter-Invoices-where-at-least-one-line-item-contains-a/td-...

It is similar but I need that when I click on the yellow CODE in the left table, the right table shows the 3 tickets in green, but with the rest of the CODES that compose the ticket.

Right now, if I click on the yellow code in the first table, the second table shows the following:

eomedes_2-1681401415574.png

 

But what I want is:

eomedes_3-1681401459259.png

 

Can anybody helpme? Thank you very much in advance.
Eva
@PowPow @PowBi @bradmi @admi 

2 REPLIES 2
eomedes
Advocate I
Advocate I

Hi @Greg_Deckler 
I attach an image of the xlsx
In the sheet called Original, 3 cases are shown:

  • What is initially there;
  • What I have now;
  • What I want.

In the DB sheet is the table to test with.

I don't think your example of the complex selector is valid, because I don't use maximums, sums... all I have and want are texts.

1. ORIGINALS:

eomedes_0-1681455047334.png

 

2. ORIGINAL:

eomedes_1-1681455065970.png



3. ORIGINAL:

eomedes_2-1681455083357.png




1. DB:

eomedes_3-1681455102218.png

Thank you in advance,
Eva

 



Greg_Deckler
Community Champion
Community Champion

@eomedes You need a Complex Selector. The Complex Selector - Microsoft Power BI Community If you can post sample data as text can be more specific.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

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!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

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.