Look Up Expression No Return Value

Hi All,
Why I canโ€™t get any result in this expression:
LOOKUP([_THISROW].[Materials],โ€œHW Productsโ€,โ€œProduct Nameโ€, โ€œPriceโ€)

Return Zero

My Product Table:

thanks

Solved Solved
0 6 162
1 ACCEPTED SOLUTION

Maybe you wish to try, assuming [Materials] is a reference column that references ,โ€œHW Productsโ€ table,

LOOKUP([_THISROW].[Materials],โ€œHW Productsโ€,โ€œProduct Keyโ€, โ€œPriceโ€)

Or if the table โ€œHW Productsโ€ is referenced in the table where the form picture you have shared is based of, you may wish to also try

[Materials].[Price]

View solution in original post

6 REPLIES 6

Try to remove [_THISROW] and see if you can get the result. Did you place the expression in the initial value of the Unit-Cost column?

I tried it without the [_thisrow]. doesnโ€™t work.
it is in initial value of Unit Cost.

I even used Any and select still no result. no error

Maybe you wish to try, assuming [Materials] is a reference column that references ,โ€œHW Productsโ€ table,

LOOKUP([_THISROW].[Materials],โ€œHW Productsโ€,โ€œProduct Keyโ€, โ€œPriceโ€)

Or if the table โ€œHW Productsโ€ is referenced in the table where the form picture you have shared is based of, you may wish to also try

[Materials].[Price]

awesome Suvrutt!,
thanks.
this [Materials].[Price] does the trick

Good to know it works. You may wish to take a look at the following article

will do. thanks

Top Labels in this Space