Forum Discussion
learner03
Post Partisan
3 years agoIf statement for matching text from other table list
I have 2 Tables-
I need to write a measure or create a column for if the Location is India and count less then 10 and postcode belong to the postcode list, then Count*50. ( to be notes that in actu...
- 3 years ago
Hi
Please try the following DAX to create a new column.Column = IF( 'Order'[Count]<10 && 'Order'[Location] = "India" && 'Order'[Postcode] in VALUES(PostCode[Postcode]), 'Order'[Count]*50, 'Order'[Count] )
ChainsawMan
Helper I
3 years agoHi
Please try the following DAX to create a new column.
Column = IF(
'Order'[Count]<10 && 'Order'[Location] = "India" && 'Order'[Postcode] in VALUES(PostCode[Postcode]),
'Order'[Count]*50,
'Order'[Count]
)- learner033 years ago
Post Partisan
ChainsawMan Thanks . and what is the opposite of this, example NOT In values?