in a table, there is a calculated column with if statement.
for exampleL
mycalccolumn = if (‘table1’[supplier]) = “xyz”, ‘table1’[address], ‘table1’[supplier] )
The above is fine and the column is calculated correctly in the table.
Now I would like to have a measure instead of this calculated column.
So then, as per my learnings from the enterprisedna videos, I create a key measures table by clicking in Home, enter data and then name the table ‘key measures’. In there I try to replicate the above measure but I see the message: can not find name supplier.
if I use sum (… then I can see the supplier column but I do not see the supplier column if I use IF
Any suggestions?
Thanks