Forum Discussion
Anonymous
6 years agoNot applicable
assign multiple values to single parameter
Good morning, we are trying to move some reports from an old software to Power BI with DirectQuery... The old software gives the possibility to use multiple values in a single parameter (i.e.: wo...
v-alq-msft
6 years agoCommunity Support
Hi, Anonymous
Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.
Table:
You may go to 'Query Editor', click 'Manage Parameters' to create a parameter as below.
Then you may right-click 'Changed Type' to create a new step as below.
Custom1 = Table.ReplaceValue(#"Changed Type",each [Column1],each Parameter1,Replacer.ReplaceText,{"Column1"})
Finally you may change the parameter to modify the value in 'Column1'.
For further information, please refer to the following links.
Deep Dive into Query Parameters and Power BI Templates
Power BI Desktop Query Parameters
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.