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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Mark_Adams
Frequent Visitor

Error on PBI Report Builder that works in SSRS

I'm using PBI Report Builder for the first time but have experience with SSRS Report Builder. I linked to a data source and then added a dataset with no parameters and that worked. I then added a dataset with date parameters (straight copy and paste from a working SSRS report). This runs fine in Query Designer after prompting me to type in dates..

Parameters as here

WHERE
(
Child_Social.FACT_CLA.START_DTTM BETWEEN @StartDate AND @EndDate
AND etc.

The parameters in the report have been set to date format and then in Available Values I've set the relevant date fields from the dataset. When I try to run the report I get this error:

The 'Value' expression for the query parameter '' refers to a non-existing report parameter 'Parameter3'. Letters in the names of parameters must use the correct case.
----------------------------
The definition of the report '' is invalid.
----------------------------
An error occurred during local report processing.

Any idea what I'm missing please? Do parameters works differently in PBI.

Thanks in advance

1 ACCEPTED SOLUTION
bradsy
Microsoft Employee
Microsoft Employee

If the parameter is used in the query, you need to also add the parameter to the dataset. In both versions of report builder, you can check the properties on the dataset. Right click the dataset in the Report Data pane, look for the tab called parameters. These are specific to the dataset which are different then report parameters. Duplicate the mapping between the two should work.

View solution in original post

2 REPLIES 2
bradsy
Microsoft Employee
Microsoft Employee

If the parameter is used in the query, you need to also add the parameter to the dataset. In both versions of report builder, you can check the properties on the dataset. Right click the dataset in the Report Data pane, look for the tab called parameters. These are specific to the dataset which are different then report parameters. Duplicate the mapping between the two should work.

I had tried this but the error persisted. However, I've tried a new report from scratch with the same SQL and it is working now. I don't know what the cause was but it is sorted. Thanks for your help.

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

March Power BI Update Carousel

Power BI Community Update - March 2026

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