Forum Discussion
Filter SSAS Dax Query based on List of Values
- 2 years ago
Apply List directly in your query, This works for me
let Source = YourOtherDataSource, FilteredRows = Table.SelectRows(Source, each List.Contains(MyList, [YourColumn])) in FilteredRowsBest Regards,
HSathwara
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi ChrisFromOhio Yes, it's possible to filter the data in your query based on the list of values stored in your Excel file directly,
Follow the instructions in the ScreenCapture and let me know If it works for you or not
- ChrisFromOhio2 years ago
Helper I
Thank you for the reply. How do I go about taking my list of values and converting that to a parameter, as this list can and will update from time to time.
- HarshSathwara192 years ago
Helper I
Apply List directly in your query, This works for me
let Source = YourOtherDataSource, FilteredRows = Table.SelectRows(Source, each List.Contains(MyList, [YourColumn])) in FilteredRowsBest Regards,
HSathwara
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.