Hi,
I have created a SSRS report based on D365 F&O which contains three datasets. Everything works fine until I try to use Lookup function in SSRS. For simplicity consider I have a field named "Item Id" in Main Dataset (Applied on the tablix). In another dataset say "SecondaryDS" I have a field named "ItemId". I am matching the Item Id field in both datasets to fetch Name field from the "SecondaryDS".
This is a normal case for a SSRS Lookup function. In the Textbox box I have created the following expression.
=Lookup(Fields!ItemId.Value, Fields!ItemId.Value, Fields!Name.Value, "SecondaryDS")
The expression does not show any error but when I try to deploy the report I get the following error. Have anyone faced similar sort of issue. If yes please let me know

PS: I have done a workaround for solving my problem but I am just curious about how we will get this lookup function to work.