Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
In my paginated reports, I’m getting an error saying that a parameter has not been declared , though they have actually been (see in the attached screenshots), .
I’ve also tried several possible fixes, such as: Hardcoding some values directly in the DAX query to confirm the report runs and then replacing those hardcoded values with parameters afterward, Declaring the parameters before writing the query, and also the other way around. None of them helped.
Has anyone else run into this issue and found a working solution?
Thanks
Solved! Go to Solution.
Solved. In the dataset properties ---> parameters, I typed the parameter name as @to_date and the value as [@to_date]. (This was what Chat GPT told me, unfortunately. :)). Today I luckily saw a web with a screenshot of this property and basedon that, I corrected the name to simply to_date (without the @ sign), and the value kept as before as [@to_date]. This worked.
Hi @arunbyc
Thank you for reaching out to the Microsoft Fabric Forum Community.
Thanks.
Hi @arunbyc
Thanks.
@arunbyc if you right-click on the dataset, click dataset properties, can you make sure under parameters section these parameters are there?
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
That is where I posted the image from. When I click dataset properties --> parameters tab, I see @to_date and in the Value (where I typed =Parameters!to_date.Value) it shows [@to_date]. when I press fx button it shows the entire expression as shown in the picture.
If I ignore the error message and still run the report, it does not run but just gives the same error message that the parameter was not declared.
Solved. In the dataset properties ---> parameters, I typed the parameter name as @to_date and the value as [@to_date]. (This was what Chat GPT told me, unfortunately. :)). Today I luckily saw a web with a screenshot of this property and basedon that, I corrected the name to simply to_date (without the @ sign), and the value kept as before as [@to_date]. This worked.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 33 | |
| 29 |
| User | Count |
|---|---|
| 134 | |
| 96 | |
| 78 | |
| 67 | |
| 65 |