Forum Discussion

smacsween's avatar
smacsween
Frequent Visitor
5 years ago
Solved

Conditional merge columns

i am trying to merge columns based on an IF statement and ISBLANK.  If I have Country name in Table1, use that value, if not, use the Country value from Table2.   I can't see how to do this, I have...
  • Icey's avatar
    Icey
    5 years ago

    Hi smacsween ,

     

    Just try this:

    NewTable =
    DISTINCT (
        UNION ( DISTINCT ( Table1[Country] ), DISTINCT ( Table2[Country] ) )
    )
    

     

     

    Best regards

    Icey

     

    If this post helps, then consider Accepting it as the solution to help other members find it faster.