Forum Discussion
Parameters in Power BI service
- 1 year ago
Hi jakubkral ,
Yes, creating a parameter after it’s used in Power Query steps can corrupt the internal step dependency, and Power BI Service fails to bind it properly, even though Power BI Desktop handles it without visible issues.
1. Always Create Parameters First, before referencing them in any query.2. Make the parameter is basic type Text, Number, or True/False, Used directly in the data source connection.
3. Avoid referencing parameters in calculated columns or measures if they are not part of the actual data load.
4. In Advanced Editor, check unresolved parameter names.
5. When editing existing reports, Delete the parameter reference from the query and save. Recreate the parameter.
Re-add it to the query.6. If Power BI Service still throws errors, try to Delete the dataset from the workspace. And Re-publishing the updated PBIX file.
If my response has resolved your query, please mark it as the "Accepted Solution" to assist others. Additionally, a "Kudos" would be appreciated if you found my response helpful.
Thank you
Even if parameters exist in Power Query, they won’t appear in Power BI Service unless:
- They are used directly in a query (like filtering a table or source path).
- They are not only referenced indirectly (e.g., via a function or unused query).
Make sure each parameter is directly referenced in a loaded query
You’ve already set the data type so make sure the parameter is actually used in a query that is loaded, not just created and left unused. Then re-publish the report.
Hello,
thanks for response. I am using it in query for loading data like this.
Source = PostgreSQL.Database(Server, Database)
Every query that I use this is set as enable to load. Or is this the wrong way of using it? Or is there any way to force the parameters?
Thank you in advance for further conversation.