same expression for same data, different result in vitrual column and bot

Hi Everyone,

I have been confused by 2 different results for same data and same expression.

Here is the expression

"isnotblank(
filter(
"Product_Locations",
and(
([_thisrow].[product] = [product]),
([_thisrow].[location] = [location])
)
))" 

This expression is checking in the particular location has a particular product or not.

If yes, return Y, otherwise return N.

For this expression, in vitrual column, it return N as following Image.

appsheet check existing.png

Here is where I wrote it in the branch

branch.png

 

For this bot, I checked it in bot which showed Y.

monitor.png

 

I am very confusing. May anyone help me!

0 1 52
1 REPLY 1

Steve
Platinum 4
Platinum 4

Try this instead:

isnotblank(
  filter(
    "Product_Locations",
    and(
      ([_thisrow].[_RowNumber] <> [_RowNumber]),
      ([_thisrow].[product] = [product]),
      ([_thisrow].[location] = [location])
    )
  )
)
Top Labels in this Space