set condition

i want to set condition ([Islem]="MASRAF"and[Islem]='') but i cant take the  {islem]="" empty even no value inside of the column

thanks

IF(([Islem]="MASRAF"and[Islem]=''),"a",LOOKUP(
MAX(KisiSec[_ROWNUMBER]),
"KisiSec",
"_ROWNUMBER",
"Kategorix"
))

0 2 68
2 REPLIES 2

I don't follow what you're trying to accomplish. The following might help.

  • You can use the ISBLANK function to evaluate whether a column's value is blank.
  • The AND function requires different syntax than you're using.
  • The expression AND([Islem]="MASRAF", ISBLANK([Islem])) will always return false since the column cannot simultaneously equal MASRAF and be blank. Maybe you mean to use the OR expression.

if ( or([Islem]="MASRAF",ISBLANK([Islem])),"",LOOKUP(
MAX(KisiSec[_ROWNUMBER]),
"KisiSec",
"_ROWNUMBER",
"Kategorix"
))

thanks for help 

it works 

Top Labels in this Space