cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Impactful Individual
Impactful Individual

SQL Server In Operator Alternative

I have 2 Tables:

 

Equipment_Site: ID,Make,Model,Serial (anything upto 200 records already filtered to a collection from original Equipment Table)

ClassificationLink: ID,ClassificationID,ForeignID,UserValueText (over 8000 records)

Classificationlink.ForeignID is the join to Equipment_Site.ID

Now As the In Operator is not Delegable (Yes I Know it says it is but its not), i need to find a way to link these tables.

 

This is what it should be:

LookUp('[dbo].[ClassificationLink]',ForeignID in Equipment_Site_Test.ID And ClassificationID=148,UserValueText)

 

However this does not work when used in AddColumns to Equipment_Site Collection or anywhere else.

 

What I can do is put a gallery in, add a text box and set its formula to:

LookUp('[dbo].[ClassificationLink]',ForeignID=ThisItem.ID And ClassificationID=148,UserValueText)

 

.....but how can i then add this to the collection.  Ive tried Patch and forall but cant get it to work.

 

Any help or another suggestion greatly appreciated, its the 1 stumbling block for my whole app Smiley Frustrated

1 REPLY 1
Helper V
Helper V

Re: SQL Server In Operator Alternative

Helpful resources

Announcements
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Users online (4,648)