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.
Hi Noman,
Thanks for your detailed issue description. In order to better investigate the cause of the error. It is recommended you create a support ticket for professional assistance following the below procedure.
Help + support | Power Platform admin center (microsoft.com)
Best Regards,
I too tried using the lookup method and got the same error.
I don't know the reason for that. But in future if you find solution to this please post the answer here which will be helpful for others.
If I find the solution in future I will update this thread.
Thanks,
Girish S.
Hi Girish
Yes I have double checked it matches with DS name.
Hi Noman,
Can you double check whether the dataset name "SecondaryDS" match with the dataset name under SSRS report dataset node.
Thanks,
Girish S.
André Arnaud de Cal...
291,965
Super User 2025 Season 1
Martin Dráb
230,817
Most Valuable Professional
nmaenpaa
101,156