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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Issues distinct selecting two columns in to new table

Hi,

I have two columns in different tables that I want to join in to one column in a new table. I did this with two other columns from this table and it worked great. But the secound time, it gives me nothing.

 

So I have this seintance:

List.Distinct(List.Union({GeneralOverview[#"Sales Contact"],Assignments[#"Sales Contact"]}))

which gives me an empty table.

I don't have any relationships between these tables.

From my Asignment table:

 

bilde.png

 

From my GeneralOverview table:

bilde.png

 

What am I missing?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

The formula worked, the problem was that I tried to use it when creating a table.

View solution in original post

6 REPLIES 6
AnkitBI
Solution Sage
Solution Sage

Can you share some sample data?

Anonymous
Not applicable

Hi,
What sampledata do you want?

Share your tables with sample data may be dummy data. What is the expected outcome?

In your description you are saying Join which corresponsds to Merge however formula used is for Union equivalent to Append. 

Anonymous
Not applicable

@AnkitBIOk, in my first post I had a screen shot of the two tables I want to merge in to one table with distinct values.  So that I get one table with unique names. It worked like a charm on two other columns, but these ones gives me 0.

 

This column from my table named Assignments:

bilde.png

 

tell me if you need other sample data.

 

And this column from my table called GeneralOverview:

bilde.png

Anonymous
Not applicable

@AnkitBIa bit more background info to make you understand better:

 

I'm making a dashboard which combines data from assignments and generaloverview.

My problem is that both tables had owning office (solved that by combining those values to an own table OwningOffice) and SalesContact. So I need to somehow be able to relate SalesContact to SalesContact to be able to get the slicers working.

Here is the dashboard. So, when I select owningoffice, I want the sales contacts and the calculations to be updated.

 

 

bilde.png

Here is my relations (the other tables are used in other views):

bilde.png

Anonymous
Not applicable

The formula worked, the problem was that I tried to use it when creating a table.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors