cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DmitriyRazumov
Level: Powered On

Strange 'Price List Items' behavior in lookup

Hello,

 

Could you please help me with one problem?

 

Why this is working:

 

 

AddColumns(
        'Price List Items',
        "PriceListName",
        LookUp(Products, Product='Price List Items'[@Product].Product, 'Default Price List'.Name))

But this is not?

AddColumns(
        Products,
        "Amount",
        LookUp('Price List Items', 'Price List Items'[@Product].Product=Product, Amount))

The error is:
"The function LookUp has some invalid Arguments, Column Price List Items is not accessible in this context".

 

Thank you very much.

 

1 REPLY 1
v-siky-msft
Level 10

Re: Strange 'Price List Items' behavior in lookup

Hi @DmitriyRazumov ,

 

Can you share more details with your formula?

What is the data source of your apps?

What is the relationships with the columns in your formulas?

 

It seem to be the disambiguation error, to simplify the problem, could you use RenameColumn function to rename these columns with the same name.

Best regards,

Sik

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (5,215)