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 :
Finance | Project Operations, Human Resources, ...
Answered

Can we keep duplicate record in Union

(0) ShareShare
ReportReport
Posted on by 709

Hello guys,

Some question about Union. I created a query which consist of 2 tables which are at the same level. This will make the query is UNION, right ?

Is there a setting to not remove duplicates ?

My 2nd question is actually, provided the fieldname is same, in the fields node when we put the field that we want to be included . display in that query, in the property we need to specify the data source, right ? when we 2 or more tables as the data source, which tables I should specified in that field's property ? Currently I put the 1st table, but for "documentation wise" it is kinda weird because obviously it is a Union query.. we want to get the fields from all tables (all data source)

Thanks,

I have the same question (0)
  • Verified answer
    WillWU Profile Picture
    22,361 on at

    Hi ShapAX,

    You could choose Union to eliminate duplicate records. and choose UnionAll to include duplicate records.

    pastedimage1607495349730v1.png

    Please read this document:docs.microsoft.com/.../how-to-combine-data-sources-in-a-union-query

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 451 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 428 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans