Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

DAX Union creating duplicates

I have 2 tables of the same columns and column names.  Individually, they have distinct values for a certain ID column. 

When I join the 2 tables via

 

UNION(EqmtDT, EqmtDT_H)

 

, the ID column now shows no distinct values.  Why did this happen?

dpibarker_0-1690378697236.png

 

 

 

5 REPLIES 5
Anonymous
Not applicable

I figured out my problem. I did have dupes in the separate tables. 

pceglie
Resolver I
Resolver I

Hi, can you share pbix file?

 

--

PC

DataVitalizer
Solution Sage
Solution Sage

Hi @Anonymous 

Your tables might have IDs in commun thats why the distinct count of IDs does not eq to total rows.


Did it work ? 👌 Mark it as a solution to help spreading knowledge 👉 A kudos would be appreciated

Anonymous
Not applicable

There are none in common, I exported to excel and checked for duplicates and there were none.

Could you share the pbix file?


Did it work ? 👌 Mark it as a solution to help spreading knowledge 👉 A kudos would be appreciated

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.