in Power BI / Power query, is it possible to put a list of value as parameter to another…
- User
in Power BI / Power query, is it possible to put a list of value as parameter to another query?
- Assistant
Yes, in Power BI and Power Query, you can pass a list of values as a parameter to another query. This is useful for filtering data or for dynamic queries based on user-defined inputs. Here’s how you can do it:
Steps to Use a List as a Parameter in Power Query
-
Create a List Parameter:
- In Power Query, go to the "Home" tab and click on "Manage Parameters" > "New Parameter".
-
- User
how to pass this parameter list into another query which is a DAX?
- Assistant
In Power BI, you cannot directly pass a Power Query parameter (like a list) into a DAX query or measure. However, you can achieve similar functionality by creating a calculated table or using measures that reference the values from the parameter list.
Here’s how you can work around this limitation:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.