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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
TomLU123
Helper III
Helper III

Remove Duplicated Rows in a table

Hi Experts, 

 

I am creating a new table that collect all the dates of two other tables by using following formular.

Date Table =
UNION (
SELECTCOLUMNS('Overall Result',"Date",'Overall Result'[Date]),
SELECTCOLUMNS('Hiring Manager List',"Date",'Hiring Manager List'[Created]))

 

Is it possible to add some formular to remvoe duplicated date in this new table at the same time?

Formular.png

 

Many thanks!

 

Best regards,

Tom 

1 ACCEPTED SOLUTION

Hi Tom,

 

You could use DISTINCT 

DISTINCT(
UNION (

SELECTCOLUMNS('Overall Result',"Date",'Overall Result'[Date]),
SELECTCOLUMNS('Hiring Manager List',"Date",'Hiring Manager List'[Created]))
)

 

or consider doing the table using Power Query

 

/Erik

View solution in original post

1 REPLY 1

Hi Tom,

 

You could use DISTINCT 

DISTINCT(
UNION (

SELECTCOLUMNS('Overall Result',"Date",'Overall Result'[Date]),
SELECTCOLUMNS('Hiring Manager List',"Date",'Hiring Manager List'[Created]))
)

 

or consider doing the table using Power Query

 

/Erik

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.