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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
eomedes
Regular Visitor

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
Regular Visitor

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
Super User
Super User

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


@ 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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors