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

Invalid Argument Type when using Lookup

I am trying to  return a TagName using the LookUp function.  TagID in my collection (ProjTagCollection) and TagID in a database (Tags) are my comparisons.  TagID in both sources are INT variables.  

 

For what it's worth, I may have multiple items in my collection that would need to be looked up, but I would settle for just returning the first TagName to move along the troubleshooting path.

 

LookUp('[dbo].[Tags]', TagID  = ProjTagCollection.TagID). TagName  (squiggle line under the "=" sign)

 

P.S. Thanks in advance and many thanks to the people who answer questions for newbies.  

1 ACCEPTED SOLUTION

Accepted Solutions
ToddM1
Level: Powered On

Re: Invalid Argument Type when using Lookup

SOLVED!!!!

 

DefaultSelectedItems = Filter('[dbo].[Tags]',TagID in ProjTagCollection.TagID)

1 REPLY 1
ToddM1
Level: Powered On

Re: Invalid Argument Type when using Lookup

SOLVED!!!!

 

DefaultSelectedItems = Filter('[dbo].[Tags]',TagID in ProjTagCollection.TagID)

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, August 21st at 8am PDT

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

SixthImage

Power Summit Australia 2019

August 20-23rd 2019

Users Online
Currently online: 201 members 3,480 guests
Recent signins:
Please welcome our newest community members: