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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Report(SSRS) parameter is getting duplicated every time i run the report

(0) ShareShare
ReportReport
Posted on by 518
Hi All,
 
SSRS report parameter is getting duplicated every time I run the report. 
For the first time it is running perfectly: 
////
 
Second time, it will duplicate the Parameter as below:
SAP System Id getting repeated:
////
 
When I clear the user cache, this is gets resolved and comes back when i try to run it second time again.
 
Please let to resolve this issue.
I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    239,029 Most Valuable Professional on at
    This is not a parameter - it's a query range.
     
    It's likely caused by a bug in code. A developer decided to add a range and forgot that there already may be one in the previously used query.
     
    By the way, the screenshot is from F&O know, not Dynamics AX, so let move this thread to an F&O forum.
  • Verified answer
    GirishS Profile Picture
    27,843 Moderator on at
    Hi Siddhant,
     
    I am assuming its a custom report.
    As martin mentioned you may have added range to the field multiple times.
    Also on the controller class main method call the parmLoadFromSysLastValue with false value and check.
     
    Thanks,
    Girish S.
  • Martin Dráb Profile Picture
    239,029 Most Valuable Professional on at
    Note that GirishS's solution has impact on other things than just your problem. It means that no parameters and changes to the query will be remembered. Maybe you want it, but maybe you'd just create a new problem.
     
    If my assumption about the root cause is correct and you want to fix the bug with SAP System ID while keeping all the other logic intact, you can either utilize SysQuery::findOrCreateRange() or you can delete all ranges for SAP System ID before creating the new one.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 617

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 461 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 298 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans