I want to use a list of Excel table values to populate a table in a SQL Query within PowerQuery in Excel.
I have a query (simplified) that looks like the following:
(see attached image. The forum won't allow me to post the code within the BBC at all (shows up as SQL code), and won't let me post it as a screenshot inline until I've had more posts.) <--mini-rant (But I do understand why.)<--mini-reconciliation to my lot in life.
Currently, I have an Excel table containing the list I need. I have brought it into PowerQuery as a table, set my field-value type to "ABC", filtered the table down to what I want, and drilled down on one column with the values I want (which turns into a list).
Now, I want to use my list to populate the section in my code above "[Need code for here]" so that the results of the SQL query will show up in Excel as the result of my MS SQL query.
This logic is basically serving as a filter list (via a join) for a larger query.
Bookmarks