Forum Discussion

jakubkral's avatar
jakubkral
Frequent Visitor
1 year ago
Solved

Parameters in Power BI service

Hello, I have problem with Power Query parameters. When i publish report online it writes me this error in semantic model.   It seems that parameters do not publish online in semantic model....
  • v-dineshya's avatar
    v-dineshya
    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