cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sachinsoni441
Helper II
Helper II

Invalid argument type while getting lookup additional columns

Hello experts,

 

I want to get additional column of lookup fields, for that i have used below formula. but it gives invalid argument type error. 

I implemented this formula on label control.

 

Please advise!

 

PowerApps Error.jpg

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User
Super User

Hi @sachinsoni441 ,

Is Certification Name a Choice or a Lookup column? For a Choice column, try

LookUp(
   'CPE Test Submissions_1',
   Certification_x0020_Name.Value=
   Dropdown3.Selected.Value
).Credits

You cannot directly Filter on  Lookup column if it is one of these - try

LookUp(
   AddColumns(
      'CPE Test Submissions_1',
      "Cert",
      Certification_x0020_Name.Value
   ),
   Cert=Dropdown3.Selected.Value
).Credits

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

View solution in original post

1 REPLY 1
WarrenBelz
Super User
Super User

Hi @sachinsoni441 ,

Is Certification Name a Choice or a Lookup column? For a Choice column, try

LookUp(
   'CPE Test Submissions_1',
   Certification_x0020_Name.Value=
   Dropdown3.Selected.Value
).Credits

You cannot directly Filter on  Lookup column if it is one of these - try

LookUp(
   AddColumns(
      'CPE Test Submissions_1',
      "Cert",
      Certification_x0020_Name.Value
   ),
   Cert=Dropdown3.Selected.Value
).Credits

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Users online (1,380)