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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Filter data management export on date range

(0) ShareShare
ReportReport
Posted on by 12

Hi,

I would like to like to create three data management export jobs with date criteria to include all records with accounting date less 15 days with relative days of -7 days from current date.

My current scenario is export a large number of records into three files as below.

records with accounting date 15 days less than today. This one is DayRange(-15,0). example : 11-JUL to 25-Jul


records with accounting date 15 days less than 15 days than today. I need help with this. example. 27-Jun to 10-Jul

records with accounting date 15 days less than 30 days than today. I need help with this. example. 13-Jun to 26 Jun

pastedimage1627268768778v1.png

I have the same question (0)
  • Suggested answer
    Gaurangkumar Jani Profile Picture
    4,534 User Group Leader on at

    Hi Hossam,

    Try the following filters:

    1. for records with accounting date 15 days less than 15 days than today. I need help with this. example. 27-Jun to 10-Jul
      • DayRange(-30,-15)
    2. records with accounting date 15 days less than 30 days than today. I need help with this. example. 13-Jun to 26 Jun
      • DayRange(-45,-15)

    Let us know if this helps you.

    Thanks,

  • Verified answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hi Hossam,

    For case no 2 and 3 just add 15 / 30 days on top of your Day Range Filter that you use for your first case.

    Just increase the first and second number and things should work.

    On this site you can find additional examples how you can filter data

    docs.microsoft.com/.../advanced-filtering-query-options

    Best regards,

    Ludwig

  • Verified answer
    huijij Profile Picture
    19,811 on at

    Hi Hossam,

    As Mentioned,The DayRange() is to find a range of dates relative to the session date. Positive values indicate future dates, and negative values indicate past dates.

    regards

  • Hossam Z. EL Hassan Profile Picture
    12 on at

    Thanks it works.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 551 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans