Forum Discussion

triseid's avatar
triseid
Frequent Visitor
6 years ago
Solved

How to remove a parameter? (PowerBI Report Builder)

Hi,   I'm working in PowerBI Report Builder. Whenever I try to delete a parameter and then run my report, it says:   The Value expression for the query parameter ‘DeletedParameterName’ refers to ...
  • d_gosbell's avatar
    d_gosbell
    6 years ago

    There are actually 2 types of parameters in paginated reports. There are "Report level parameters" and there are "Query level parameters". Normally when you create a parameter in your data set the designer creates a matching report level parameter and links the query parameter with the report parameter. It sounds like you have just deleted the report parameter without removing the query level parameter. 

     

    If you right click on your dataset, go into properties you will see a parameters tab. You need to also remove your parameter from there and remove any references in your query (if you have not removed these already). This should fix your parameter error.

     

    For the the DeletedRow issue my suggestion would be to open the reports rdl file in a text editor and search for "DeletedRow" text and see if you can find the reference there. I would not suggest making any edits in a text editor, just use it to locate where the deleted object is referenced, then go into the designer and remove the references.