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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

Data Entity Field Value or Range

(0) ShareShare
ReportReport
Posted on by 70

Hello there,

I was wondering what is the best practice around Data Entity Field Value filtering or Range in D365 F&O. I have requirements as follows:

- We currently have a custom Data entity (based on total custom tables) and in the primary data source table, we have one Datetime column (i.e. Reading DateTime). So, Data entity should give records related to the 'latest 3 reading records' from that main source table.

Like for example, for a given combination of Lab#, Instrument#, Item# we can have several 'Reading DateTime records'. But we need to show/export only the latest 3 out of those.

  • Que is, should we create a data entity method (new method or override existing method) for this? If we can get some direction here.
  • Another question is, there is 'range' and 'having' node of the Data source. Can we leverage that? i.e. How should we fill out the Value property - like does it take >today()-7 or something?

Thank you in advance.

I have the same question (0)
  • GirishS Profile Picture
    27,843 Moderator on at

    Hi Ronak B,

    You can add the range for the datasource tables inside the data entity.

    Refer to standard entity "DimensionHierarchyBaseEntity".

    Also for adding range >today()-7 - You can try giving day(-7) and check whether its working.

    Thanks,

    Girish S.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
Martin Dráb Profile Picture

Martin Dráb 349 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 302 Super User 2026 Season 2

#3
CU10121822-0 Profile Picture

CU10121822-0 294

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans