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, ...
Suggested Answer

How to join tables on DataEntity where date between DateFrom and DateTo

(3) ShareShare
ReportReport
Posted on by 269

Hi

This is a very simplified version of what I am trying to do. 
 

I have 2 tables.  The first is standard F&O VendTrans and the second is a custom table xxxVendCert. The second table contains the VendAccount , CertId , DateFrom and DateTo.  The DateFrom and DateTo does not allow any overlapping of dates for the specific vendor.

How can I create a DataEntity where I can show all the VendTrans record with the CertId.  I want to create a outer join between VendTrans and xxxVendCert where VendTrans.TransDate between xxxVendCert.DateFrom and xxxVendCert.DateTo.  Or alternatively add a range where the range includes the Transdate of the VendTrans records.

Kind regards.

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    307,259 Super User 2026 Season 2 on at
    Hi Sophs,
     
    You can consider creating a computed column or virtual field for the CertId field.
  • Sophs@4Sight Profile Picture
    269 on at
    Hi Andre
    Thanks for your response.  I am using this entity in dataverse as a virtual entity.  We are customizing the copilot, And so adding this field as a computed column or postload, then it is not visible.
    Unless I am missing something.
     
     
     
  • Suggested answer
    Bharani Preetham Peraka Profile Picture
    3,634 Moderator on at
    Seems issue is with the refresh. You can try refreshing Virtual Entity Metadata.
     
  • André Arnaud de Calavon Profile Picture
    307,259 Super User 2026 Season 2 on at
    Hi Sophs,

    Computed columns are visible when using OData. So, I do assume it should be visible for Copilot as well. I do assume you are only reading data from this entity?

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 August 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 495 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
CU10121822-0 Profile Picture

CU10121822-0 366

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans