Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

How we can use optional parameter in ssrs report?

Posted on by 320

Hi , i am creating an ssrs report in which i am using multiple parameters and my need is if  i am selecting nothing in a parameter the reports should run..but it's gives error .. error is The "ParameterName" parameter is missing value

*This post is locked for comments

  • Ak Negi Profile Picture
    Ak Negi 320 on at
    RE: How we can use optional parameter in ssrs report?

    we have tried all these  links  still  did not get any solution

  • Suggested answer
    Abdul Wahab Profile Picture
    Abdul Wahab 12,070 Super User 2024 Season 1 on at
  • Ak Negi Profile Picture
    Ak Negi 320 on at
    RE: How we can use optional parameter in ssrs report?

    Can you please let me know for fetch based ssrs report.I have tried with following conditions in fetch:

    <filter type="and">

         <filter type="or">

           <condition attribute="accountid" operator="eq" value="@Account" />

           <condition attribute="accountid" operator="not-null" />

         </filter>

       </filter>

    where "@Account" is name of parameter.

  • Abdul Wahab Profile Picture
    Abdul Wahab 12,070 Super User 2024 Season 1 on at
    RE: How we can use optional parameter in ssrs report?

    Hi Aron, 

    I think below link might help you:

    https://www.mssqltips.com/sqlservertip/3453/sql-server-reporting-services-reports-with-optional-query-parameters/

    If you need any anything more do let me know.

    Thanks 

    Regards,

    AW

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans