Forum Discussion
Assign Alias to Parameters
kewaynes , You can create M parameter and use that in connection
refer: https://www.youtube.com/watch?v=OnaDJkGOmIE
https://radacad.com/change-the-source-of-power-bi-datasets-dynamically-using-power-query-parameters
Thanks. I've done this. What I'm hoping to do is make it so the developer doesn't need to know which string is dev and which is prod.
Right now, for example, they would have the option to choose flip the parameter between abd-12345.net and abd-67890.net. This allows them to switch easily between dev and prod. The issue is that not all developers will know which one of these is dev and prod. I was hoping to assign alias. So the developer could just change the parameter to the 'Dev' or 'Prod' and the parameter would put in the corresponding hostname into the M code.