Forum Discussion
purnima13
8 years agoHelper I
Dax expression- if two columns between certain number
Hi all, What I basically want to do is clasify a row as valid or invalid if Column A is between values 5 and 6 Column B is between values -3 and -4 (beware of the negative numbers) Row_Type =...
- 8 years ago
Hi purnima13
Replace OR with AND
Row_Type= IF ( '04 GD'[Column A] >= 5 && '04 GD'[Column A] <= 6 && '04 GD'[Column B] <= -3 && '04 GD'[Column B] >= -4, "Valid", "Invaid" )
Zubair_Muhammad
8 years agoCommunity Champion
Hi purnima13
Replace OR with AND
Row_Type=
IF (
'04 GD'[Column A] >= 5
&& '04 GD'[Column A] <= 6
&& '04 GD'[Column B] <= -3
&& '04 GD'[Column B] >= -4,
"Valid",
"Invaid"
)- purnima138 years agoHelper I
Zubair_Muhammad Thank you :)