I created a new report for an overview of a company. I added a report parameter, which default value is determined by query. But if I run the report and this query returns no results, I get the error "Parameter x is missing a value."
I found this post Parameter is missing a value ssrs 2008. But setting the available values to none didn't solved my problem. I allowed empty and null values too.
If I make the parameter visible everything is okay, I can choose a value or not and it works.
My parameter has following settings: Type: text Allow empty values: true Allow null values: true Allow multiple values: false
Parameter visibility: Hidden
Available values: none
Default values: Get values from a query (this query sometimes has no results)