Forum Discussion
Help Needed with Lookup Function
- 5 years ago
Hi Mueez ,
I give an sample.
I have two tables like this.
--Table
--Table(2)
Then I create a calculated column in 'Table'.
The cause of the error is this, Table(2) has two values that are not aggregated.
You can do like this.
1. Create a calculated column in 'Table(2)'
2. LOOKUPVALUE()
Best regards,
Lionel ChenIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Fowmy Thanks for replying
I am pretty sure there are no duplicates because when I change code as following I stop getting error.
= LOOKUPVALUE ('Cancellation details for AP' [Document No.], 'Knock off details for AP' [Vendor Ledger Entry No.], <hard code entry number>, 'Knock off details for AP' [ Entry Type], "Application" )
But this is obvioulsy not what I want. The formula needs to iterate through each line in of the table.
Best Regards,
Mueez
- Fowmy5 years agoSuper User
Mueez
A column cannot contain two Document Numbers. That is not the right way. But, you can still do it using CONCATNATEX and FILTER functions________________________
If my answer was helpful, please consider Accept it as the solution to help the other members find it
Click on the Thumbs-Up icon if you like this reply 🙂