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 :
Microsoft Dynamics AX (Archived)

Add calculated query field to a Userform

(0) ShareShare
ReportReport
Posted on by

Hi,

Is it possible to, after creating a custom query that has a calculated field (i.e. the sum of the QtyOrdered on the SalesLine table), add that field into a grid of a new userform?

I have tried that, but only when I drag a field from the existing field list of SalesLine table the field adding works... when I try to drag that specific calculated field onto the userform Grid, it doesn't let me add it...

Is what I am trying to do not possible? And if so, If I am trying to get a sum of something, how can I show it on a userform?

Thanks in advance.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Sohaib Cheema Profile Picture
    49,438 User Group Leader on at

    that is absolutely possible. but your sum must be based on any Group(ing)

    you can create query as specified in this thread.

    then after creating query you have two options

    1) drag that query directly to any form and use it

    or

    create a view based on your query and use it that view as DS of form

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans