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

Duplicated Results in SmartList

(0) ShareShare
ReportReport
Posted on by 117

Client is using basic SmartList - Employee Summary.  Every employee that had wages for all months in the year is duplicated, those that worked part of the year are showing one line. How can I get the duplicated lines not to show in the results?

Categories:
I have the same question (0)
  • Suggested answer
    Derek Albaugh Profile Picture
    Microsoft Employee on at

    My thoughts are that the Employee Summary report in SmartList, is just pulling from the Employee Summary view in the company database.

    If you run a SELECT script with this 'Employee Summary' view in SQL, against this same company database, do you also see the duplicated records, or no?

  • john.nguyen Profile Picture
    25 on at

    Dear,
    When I checked on the view which created for this Smartlist, I saw it might have the duplicated row if the employees have multiple records in the table UPR00901. You can fix by added the keyword 'DISTINCT' right after the 'Select' or in the JOIN CLAUSE of the first table, added 1more condition into the JOIN CLAUSE (I pasted my script there and remove the detail because it's so long, just keep the modify points there).
    SELECT DISTINCT RTRIM(dbo.UPR00100.EMPLCLAS) AS EMPLCLAS, ..... 
    FROM dbo.UPR00900 WITH (NOLOCK) LEFT OUTER JOIN
    dbo.UPR00901 WITH (NOLOCK) ON dbo.UPR00900.EMPLOYID = dbo.UPR00901.EMPLOYID AND dbo.UPR00900.YEAR1 = dbo.UPR00901.YEAR1 INNER JOIN
    dbo.UPR00100 WITH (NOLOCK) ON dbo.UPR00900.EMPLOYID = dbo.UPR00100.EMPLOYID INNER JOIN
    dbo.UPR00300 WITH (NOLOCK) ON dbo.UPR00900.EMPLOYID = dbo.UPR00300.EMPLOYID

    Hope this can help for you!

    Best Regards,
    John Nguyen

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 616

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 460 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 331 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans