Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi I am trying to use parameters for server name & database name as can be seen below:
But in the service it tells me there are no parameters available for the dataset:
Is there something I am not doing correct?
Also once these parameters work - is it possible to pass the values via URL and allow the URL to be programmatically set the server name & database name based on underlying environment name?
Solved! Go to Solution.
@v-eachen-msft @GilbertQ
So I figured it out, it was because I am using Direct Query mode. As per (https://www.designmind.com/business-intelligence/power-bi-parameters-how-to-use-parameters/) editing parameters in Power BI online/service is possible in import mode (not direct query mode). Dont know exactly why this restriction is there?
I would urge all to vote for this idea, if it affects you: https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/35609599-change-parameter-values-...
@v-eachen-msft @GilbertQ
So I figured it out, it was because I am using Direct Query mode. As per (https://www.designmind.com/business-intelligence/power-bi-parameters-how-to-use-parameters/) editing parameters in Power BI online/service is possible in import mode (not direct query mode). Dont know exactly why this restriction is there?
I would urge all to vote for this idea, if it affects you: https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/35609599-change-parameter-values-...
Hi @cyclist007 ,
You could check if you are using these parameters. If you only created it but don't use it, you will have such a problem.
Here is the document for your reference.
https://powerbi.microsoft.com/en-us/blog/deep-dive-into-query-parameters-and-power-bi-templates/
@v-eachen-msft Yes i did got through that webpage instructions and followed it (i believe)
Here is a screenshot showing that, I am using the parameters (please let me know if you meant something else).
Please let me know if there is anything else to check (probably missing out on some small step). Does anything else need to be enabled in settings/options in power bi desktop/server? This is frustrating as i am not being able to use parameters.
Changed it to a single value (Any value) but still does not show up in the dataset parameter in list in power bi service/online. So is there anything else i can try/change?
Also I thought we could pass parameters in URL for power bi reports? Is that incorrect?
@GilbertQ Yes i am not using List of values.
The other option is "Any Value" OR "Query", so i started using "Any value".