Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext 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
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
Solved! Go to Solution.
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.
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.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 11 | |
| 10 | |
| 9 | |
| 8 | |
| 8 |