cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

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
Highlighted
Community Support
Community Support

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (9,630)