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 NAV (Archived)

Count Distinct In Nav

(0) ShareShare
ReportReport
Posted on by

Hi guys !

How can  i count distinct in Nav. Concrete example : Count  different values of Job No. in Table 169 Job Ledger Entries.

Thank you in advance!

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Suresh Kulla Profile Picture
    50,245 Super User 2025 Season 2 on at

    There are couple of ways, you can use the query as discussed in the below blog

    blogs.msdn.microsoft.com/.../application-design-pattern-select-distinct-with-queries

    or you need to loop the job ledger entry table and insert into the Job Table by making it Temporary variable and insert into the table only if it does not exist then take the count of it.

  • Community Member Profile Picture
    on at

    Thank you so much for your response.
    Actually i need to count in total this different values .How can i apply this on the querry over the count variable?

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 NAV (Archived)

#1
HoangNam Profile Picture

HoangNam 7

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans