Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Filter out rows in Power BI

I have many derived tables in Power BI and I have a table having a list of ids.

Derived tables are like this –

Table 1 –

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

IDs Value Address
A1 Two US – 50878
A2 Three US – 50879
A3 Four US – 50888
A4 Five US – 50898

Table 2 –

IDs Value Address
A3 Two US – 50878
A4 Three US – 50879
A5 Four US – 50888
A6 Five US – 50898

Like that, I have many tables in Power BI.

I have an exception table having a list of ids and my requirement is to filter out the above-derived table based on the ids available in the exception table.

Like my exception table is –

ids
A3
A4

Since A3 and A4 are in the exception table then Table 1 and Table 2 should not contain these 2 ids rows.

Expected results should be

Table 1 –

IDs Value Address
A1 Two US – 50878
A2 Three US – 50879

Table 2 –

IDs Value Address
A5 Four US – 50888
A6 Five US – 50898

>Solution :

In Transform Data, do a left anti join merge between each table and your exceptions.

enter image description here

enter image description here

Before:

enter image description here

After:

enter image description here

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading