Forum Discussion
Sir_night
9 years agoFrequent Visitor
Calculated Column with IF and from different table
HI GUYS and GALS is it poassable to add a column to a exsting table based on another table using a if statement i.e Table one ...
- 9 years ago
Simply try LOOKUPVALUE Function.
notes = LOOKUPVALUE ( Table2[notes], Table2[Ref], Table1[Ref], Table2[Stataus No], 99 )
prateekraina
9 years agoMemorable Member
Hi Sir_night,
Yes, its very much possible. Make sure you related the two tables before writing DAX to create a new column using IF statement.
Prateek Raina
Sir_night
9 years agoFrequent Visitor
- v-chuncz-msft9 years agoCommunity Support
Simply try LOOKUPVALUE Function.
notes = LOOKUPVALUE ( Table2[notes], Table2[Ref], Table1[Ref], Table2[Stataus No], 99 )