cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DmitriyRazumov
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
v-siky-msft
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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

PA Community Call

Power Apps Community Call

Next call is happening on April 21st at 8a PST.

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors
Users online (74,963)