Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hello,
I have the following "Reference" table loaded in Power Query.
| Student Name | To submit as from | Submission optional (Yes/No) |
| Lizui | 02 July 2022 | No |
| Laufenburg | Yes | |
| Tegalpapak | 29 August 2022 | No |
| Ar Rabiyah | ||
| Bellegarde | 02 July 2022 | |
| Gangarampur | No | |
| Luntas | 05 May 2022 | Yes |
| Frei Paulo | 10 August 2022 | Yes |
| Seedorf | 03 July 2022 | No |
| Cosamaloapan de Carpio | 10 September 2022 | No |
Below is the "Submissions" table.
| Student Name |
| Lizui |
| Laufenburg |
| Ar Rabiyah |
| Bellegarde |
| Gangarampur |
| Luntas |
| Seedorf |
I am trying to create a new table that would filter out names in the "Submissions" table if the corresponding name in the "Reference" table in column "Submission optional (Yes/No)" is "Yes".
The "Results" table should be as below.
| Student Name |
| Lizui |
| Ar Rabiyah |
| Bellegarde |
| Gangarampur |
| Seedorf |
Any help is much appreciated!
Solved! Go to Solution.
Here is the code for 3rd table named Results. See the working here - Open a blank query - Home - Advanced Editor - Remove everything from there and paste the below code to test
let
Source = Table.NestedJoin(Submissions, {"Student Name"}, Reference, {"Student Name"}, "Reference", JoinKind.LeftOuter),
#"Expanded Reference" = Table.ExpandTableColumn(Source, "Reference", {"Submission optional (Yes/No)"}, {"Submission optional (Yes/No)"}),
#"Filtered Rows" = Table.SelectRows(#"Expanded Reference", each ([#"Submission optional (Yes/No)"] <> "Yes")),
#"Removed Columns" = Table.RemoveColumns(#"Filtered Rows",{"Submission optional (Yes/No)"})
in
#"Removed Columns"
Here is the code for 3rd table named Results. See the working here - Open a blank query - Home - Advanced Editor - Remove everything from there and paste the below code to test
let
Source = Table.NestedJoin(Submissions, {"Student Name"}, Reference, {"Student Name"}, "Reference", JoinKind.LeftOuter),
#"Expanded Reference" = Table.ExpandTableColumn(Source, "Reference", {"Submission optional (Yes/No)"}, {"Submission optional (Yes/No)"}),
#"Filtered Rows" = Table.SelectRows(#"Expanded Reference", each ([#"Submission optional (Yes/No)"] <> "Yes")),
#"Removed Columns" = Table.RemoveColumns(#"Filtered Rows",{"Submission optional (Yes/No)"})
in
#"Removed Columns"
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 4 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 14 | |
| 11 | |
| 8 | |
| 7 | |
| 6 |