Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

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:

 

 

From my GeneralOverview table:

 

What am I missing?

  • Anonymous's avatar
    Anonymous
    6 years ago

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

6 Replies

    • Anonymous's avatar
      Anonymous
      Not applicable
      Hi,
      What sampledata do you want?
      • AnkitBI's avatar
        AnkitBI
        Icon for Solution Sage rankSolution Sage

        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.