How to filter table in visual based on other unrelated table

Hello guys,

When I have list of data in table visual like this :
image

And I have another table that has the same info of “Business Type”, like this :
image
So this list actually also coming from another table that already filtered, lets call it table Customer Profile where it is filtered to 1 customer.

How to make the 1st list filtered by the 2nd list ?

Tried to google and search many resources but every time is about creating measure for its value summation, however there is no value in this table. Also I don’t want to create another table as I understand if I’m using INTERSECT, it will create new table, am I right ?

I would also later on will need the same table visual but this time list of NOT MATCHED of the 2nd list, so like an OUTER JOIN. But then again I would like to be in visual only, not create new table. Is it possible ?

Thanks

Hi,

You requirement is bit cloudy can you create a pbix for your situation and let us know what actual you want as output then you can get your answerer quickly.

For your starting point have you look into virtual table concept.

Thanks

Probably like this :
Profiles.pbix (23.6 KB)

So there is 2 table on the right : Matched and Unmatched, currently I filtered it manually, but supposedly it is compared or lookup to the Business type in the middle.

But I hesitant to create new table for this because my report later will use Direct Query, so it is no allowed to create new table.

Thanks

Hi,

IF this going to be direct query then you can add flag on table and based on that you can make relation ship .Have you given this type of approach a try.

Thanks

Hi,

I am not sure about direct query model but if you want this below result:
image

I have made a measure for matched one with the help of this you can easily create measure for unmatched by your self.

Attaching the pbix containing the solution :
Profiles.pbix (24.0 KB)

Let me know if its solve your problem or not.

Thanks

1 Like

Hi Anurag,

Thank you, but I’m sorry, my bad that my example is not that correct. Because it is coming from ERP system, that some table is not really de-normalize.

The Solution table is actually split into 2, with the solution id and name, then it is break down to profile per rows.

Found in docs that I can use Related function for this, but I hit error on my attempts.

This is the corrected pbix.
Profiles.pbix (26.7 KB)

Thanks you again and appreciate your kind guidance.

Bumping this post

Hi @Toni! We noticed that your inquiry was left unsolved for quite some time now.

Looks like your inquiry was out of the experts and users’ bounds.

We strive to answer ALL inquiries in the forum. However, if you are sure that you provided all pertinent context to your concerns and read how to use the forum more effectively and still find your question unanswered, you can check out tutorials to learn this yourself as your membership also comes with relevant resources that may help you with your Power BI education.

While our users and experts do as much as reasonable to help you with your inquiries, not all concerns can be attended to especially if there are some learnings to be done. Thank you!

1 Like