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, ...
Unanswered

an item with the same key has already been added, but there are not duplicate fields in the query - SSRS

(0) ShareShare
ReportReport
Posted on by 636


Hi Experts,

I've been having an issue where I keep getting the error "an item with the same key has already been added" when I try to add a query with HCMWorker Table as datasource in my dataset for a SSRS report.

I've looked up this error online and people were saying it is due to duplicate fields generated by the query, but there are no duplicate fields in the query. Can any one help me out to solve this issue please.

pastedimage1609237884664v1.png

I have the same question (0)
  • Blue Wang Profile Picture
    Microsoft Employee on at

    Hi Sir,

    How about your "Dynamics Fields" property in your Query?

  • D365  beginner Profile Picture
    636 on at

    Hi Blue Wang,

    Thanks for your response. It keeps giving me error with both YES or NO as dynamic fields property.

  • D365  beginner Profile Picture
    636 on at

    I found that the issue occurs when I add the field person in the query, noting that the table used in the query is HCMWorker and the dynamic fields property set as No. I am able to add other fields except Person in the query but facing the same error when joining other data sources in the same query.

    any workarounds ?

  • George.Zhao Profile Picture
    5 on at

    I am using a data provider class and a temp table so there is no way the column name can be duplicated. but still I am getting the same error.

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 694

#2
André Arnaud de Calavon Profile Picture

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

#3
CP04-islander Profile Picture

CP04-islander 337

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans