Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello,
i would like to add a paramater in power query with list of value like _dev and empty value
when i select dev in my parameter i will have my table like this : table_dev
i when i select empty value i will have table
i tried with null, "", '', blank with no success 😞
Do you know how to do it ?
Best regards
Solved! Go to Solution.
I am assuming you want to return 'table1' if 'Blank' is selected with the parameter and 'table1_dev' if '_dev' is selected.
In that case you would need to change your code to
Table1 = dba{[Name= if parameter="blank" then "table1" else "table1" & parameter ,Kind="Table"]}[Data],....
Proud to be a Super User! | |
I'm interested if you have any ideas
You cannot have a blank value in the parameter list.
To workaround you can add 'Blank' to the parameter list and then use an if statement to ignore the parameter if 'Blank' is selected.
Proud to be a Super User! | |
hello @jgeddes
thank you for your reponse.
i tried this :
Table1 = dba{[Name="table1"& if parameter="blank" then "" else parameter ,Kind="Table"]}[Data],....
but id doesn't work 😕
thank you for you help
I am assuming you want to return 'table1' if 'Blank' is selected with the parameter and 'table1_dev' if '_dev' is selected.
In that case you would need to change your code to
Table1 = dba{[Name= if parameter="blank" then "table1" else "table1" & parameter ,Kind="Table"]}[Data],....
Proud to be a Super User! | |
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
15 | |
12 | |
8 | |
8 | |
7 |
User | Count |
---|---|
15 | |
13 | |
9 | |
7 | |
6 |