Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

If statement for columns in two tables

Hi experts, I can’t work out on how to create a calculated column using 2 columns from different tables.   I’m trying to create a calculated column using If statement: Column "Amount" and column "...
  • Greg_Deckler's avatar
    7 years ago

    I believe you want:

     

    Column = if ( [Amount]=0;  [Currency code] ; RELATED([new currency code])) ; 

     

    Make sure that you are doing this in DAX and not Power Query.