Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

New parameter on SSRS report not working

(0) ShareShare
ReportReport
Posted on by 1,669

Hi everyone

I've added a new boolean parameter to an existing SSRS report, but when I run the report, the parameter's value isn't recognized at all. ie. The report doesn't react to the value of the parameter, and when I create a text box on the report that outputs the value of the parameter, it's always null. What am I doing wrong or missing?

The steps I took are:

- Duplicated the report

- Created an extension of the contract class and added the parameter there

- Created an extension of the UIBuilder class and handled certain events of the new parameter there. This code works. When I open the initial dialog of the report, everything works properly.

- I refreshed the datasource on the report. Doing this did NOT automatically pull the new parameter on to the report. No matter what I do, I can't get the report to pull the new parameter onto the report automatically. So I created this parameter manually, and gave it the same name as it's name attribute in the contract class. I also set the allow blank and nullable properties to true.

- I've compiled, done model compiles, report deployments, report server restarts a million times, but I can't get this parameter to pull through. It is always nullable.

Any ideas?

Thanks

  • Bharani Preetham Peraka Profile Picture
    3,624 Moderator on at
    RE: New parameter on SSRS report not working

    But have you changed the code in the class? I mean in the dp class? And have you debugged that?

  • Suggested answer
    Mohit Rampal Profile Picture
    12,556 Moderator on at
    RE: New parameter on SSRS report not working

    Hi, Check this article and instead of refreshing Dataset of report, try adding parameter manually.

    ax.docentric.com/.../

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,274 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,939 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans