web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

SSRS - The report parameter has a defaultValue or a ValidValue that depends on the report parameter

(0) ShareShare
ReportReport
Posted on by 903

Hello everyone,

In an SSRS report, I have a fetchXML query that is dependent on the parameters that the users will choose form the UI that are defined in the report:

  
    
    
    
      
      
      
        
          
        
      
    
    
      
    
  

The parameters that I have are the below:
ParamSettings.png

The companyParam is based on the dataset of the fetchXML and will populate the list of the companies' names.
The quarterParam is a list of options that are not based on the dataset.

When trying to publish the report I got the below error:
2068.ReportError.png


Knowing I am passing the param as per the above query and the company column name that I am querying against is of type text and not GUID:

\queryResult.pngSSRS-Result.png

I hardcoded the company name in the query it works perfectly and in the parameters, it populates the list of the companies in the UI. However, when I pass the param in the fetchXML nothing happens as the CompanyName in the UI display null values.


Could you please support solving this issue? I have spent 3 hours changing in query with no result.

Resources that I found:
SSRS - Community Dynamics
Stack overflow - SSRS param

Any help is greatly appreciated.

Best regards,
EBMRay

I have the same question (0)
  • Community Member Profile Picture
    on at
    RE: SSRS - The report parameter has a defaultValue or a ValidValue that depends on the report parameter

    Hi EBMRay,

    Maybe you can refer the following links: 

       

    social.msdn.microsoft.com/.../the-report-parameter-8216reportdate8217-has-a-defaultvalue-or-a-validvalue-that-depends-on-the

  • EBMRay Profile Picture
    903 on at
    RE: SSRS - The report parameter has a defaultValue or a ValidValue that depends on the report parameter

    Hi  ,

    Thanks for sharing the above.

    After the investigation, I realized that I had not created another dataset to retrieve the list of companies, so I configured the parameter to get the values from this new dataset, and this fixed the issue.

    Best regards,
    EBMRay

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 85 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 57 Most Valuable Professional

#3
Satyam Prakash Profile Picture

Satyam Prakash 49

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans