Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Good afternoon I have a bit of a complicated filter I'm hoping someone could help me with I have a data set that I'm trying to filter data down to that could be a bit complex, but want to show in a table card. I'll provide generic data of what I'm looking for. My thought process is I want to create a column (Column 3 below) for each data field if it meets a certain criteria with a "yes" or "no" in the column. This filter involves first a few columns of data. I'll try to put in words what I want the filter today.
For Column 1, Exclude "ABC" and "123" - Main Filter
(Here's where it gets tricky)
For Column 2, There is some data in this column ("Test 2" and "Test 4") that I need to include with Column 1, even if the corresponding value in column 1 for this is "ABC" and "123"
Also for Column 2, there are some values that meet the criteria for column 1 (aren't "ABC" or "123", but I want those filtered out such as "XYZ" and "789"
Sample Columns Below
| Column 1 (ID) | Column 2 (Name) | Column 3 (Meets Criteria "yes" or "no") |
| 111 | Test 1 | Yes |
ABC | Test 2 | Yes |
| AAA | Test 3 | Yes |
| ABC | Test 6 | No |
| BBB | XYZ | No |
| 123 | Test 4 | Yes |
| 123 | Test 5 | No |
| BBB | 789 | No |
| ABC | Test 7 | No |
Solved! Go to Solution.
That logic is correct
I realized I left a small piece out. The data for "ID" is coming from one table of data while "Name" is coming from another table.
Let’s break down your filtering criteria step by step for clarity:
Based on your sample, here's how Column 3 would look:
| Column 1 (ID) | Column 2 (Name) | Column 3 (Meets Criteria) |
| 111 | Test 1 | Yes |
| ABC | Test 2 | Yes |
| AAA | Test 3 | Yes |
| ABC | Test 6 | No |
| BBB | XYZ | No |
| 123 | Test 4 | Yes |
| 123 | Test 5 | No |
| BBB | No | |
| 789 | No | |
| ABC | Test 7 | No |
Let me know if you need further adjustments or clarifications!
I realized I left a small piece out. The data for "ID" is coming from one table of data while "Name" is coming from another table.
Yes, that is the correct logic
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 45 | |
| 41 | |
| 20 | |
| 18 |
| User | Count |
|---|---|
| 69 | |
| 64 | |
| 32 | |
| 31 | |
| 27 |