Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

Ax 2012 SSRS RDP Report Filter Issue

Posted on by Microsoft Employee

Hi Experts,

I have developed a RDP report in AX based on AOT Query. The issue is that whenever i go to select the filters, it shows one of filter and its value repeatedly.

pastedimage1585221013637v1.png

My Query is as under

pastedimage1585221235793v2.png

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Ax 2012 SSRS RDP Report Filter Issue

    Hi Sergei ,

    Upon Resetting,it still shows old values which is a problem for me.

  • Suggested answer
    Sergei Minozhenko Profile Picture
    Sergei Minozhenko 23,089 on at
    RE: Ax 2012 SSRS RDP Report Filter Issue

    Hi Faran,

    You can reset the query if you go to "Select" and press the "Reset" button in the query filter form. By default, previous values are saved and show them when you open the form again.

    But it's strange you have a lof of the same ranges. Try to reset them with "Reset" button.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Ax 2012 SSRS RDP Report Filter Issue

    Hi Sergei 

    Whenever i click menu item of report, this Dimension filter shows old values too in lookup along with new selected.Can i empty this on clicking menu item or just it should show the last values selected in previous run.It is caching all previous values.

    pastedimage1585225704236v1.png

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Ax 2012 SSRS RDP Report Filter Issue

    Hi Sergei

    I am not modifying query ranges in code as you see below.

    [  SRSReportQueryAttribute (queryStr(myAOTQuery))]
    public class myDP extends SRSReportDataProviderBase
    {
        PRSalarySheetTemp   pRSalarySheetTemp;
    
    }
    
    [SysEntryPointAttribute(false)]
    public void processReport()
    {
        this.insertPRSalarySheetTemp();
    }
    
    private void insertPRSalarySheetTemp()
    {
            QueryRun queryRun = new QueryRun(this.parmQuery());
    
    
          while (queryRun.next())
          {
            pREmployeePayments = queryRun.get(tablenum(PREmployeePayments));
            //
            //
            //
          
          }
    }

  • Sergei Minozhenko Profile Picture
    Sergei Minozhenko 23,089 on at
    RE: Ax 2012 SSRS RDP Report Filter Issue

    Hi Faran,

    Do you have code which modifies query with ranges?

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,902 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,336 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans