Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
GIS87
Frequent Visitor

Local report processing error

I have report in report builder that is filtering by using a where clause in the query.  This is working fine with all the parameters I currently have, however, when I added another parameter (with just another AND statement), I'm getting this error:

The 'Value' expression for the query parameter '@workphaseparam' contains an error: The expression references the parameter 'workphaseparam', which does not exist in the Parameters collection. Letters in the names of parameters must use the correct case.

 

The process is as follows:

1. Dataset has this as part of the SQL where clause:

"AND workphase=@workphaseparam"

2.  Dataset's Parameters are defined as:
@workphaseparam = [@workphaseparam]

3.  Which ties into the report parameter "workphaseparam".  Is this the Parameters Collection the error is referring to?  The report parameters?  Any insight is appreciated.

1 ACCEPTED SOLUTION
GIS87
Frequent Visitor

Apparently the issue was with the ordering of the parameters.  The settings were fine, but once I moved the parameter higher up on the parameter list, it worked.  I wasn't aware that parameter order mattered.  

View solution in original post

3 REPLIES 3
GIS87
Frequent Visitor

Apparently the issue was with the ordering of the parameters.  The settings were fine, but once I moved the parameter higher up on the parameter list, it worked.  I wasn't aware that parameter order mattered.  

Anonymous
Not applicable

Hi @GIS87 ,

Please consider marking your answer as a solution, this will increase the referral weight for searching similar problems and can help more users who are searching for this question, thanks~

Best Regards,
Gao

Community Support Team

GIS87
Frequent Visitor

I have narrowed the issue down to the query parameter.  When I set the parameter value as a defined string value, it works.  When I try to set it as the parameter value, it fails with the referenced error.  

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.