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 :
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,668 Super User 2026 Season 1 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

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 June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans