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

How to add dynamic value to the query datasource range

(1) ShareShare
ReportReport
Posted on by 21
Dear All,
 
I have a query which I use in a form, and in the query I want to filter a datasourse filed and the value I want to add from a display method in a table.
Need your kind support please.
 
I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    237,987 Most Valuable Professional on at
    This is not possible; you'll need to come up with a better design.
     
    First of all, look at what the display method does and consider if you can use a join, a SysQueryRangeUtil method or something. If you want the current date, you can forget display methods and simply use (day()) value instead.
     
    If it's not possible, consider rewriting the display method to SQL, creating a view and using the SQL code in a computed column.

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
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 429 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 241 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans