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

How can i use the patch function without using first() here?

Does anyone know how i can use the Patch function but without the First() function. I have to get rid of the First()-Function because it is not delegable.

ste_ke_0-1620818194883.png

If i use it with out the First() it says the data type is the wrong one. 

 

Thank you for your help

 

1 ACCEPTED SOLUTION

Accepted Solutions
Pstork1
Dual Super User III
Dual Super User III

Instead of First(Filter()) use Lookup().  Lookup is delegable and will return the first record it finds that matches the condition.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

2 REPLIES 2
Bilakanti
Resolver III
Resolver III

@ste_ke 
Use showColumns() function within filter for BD_Test2 data source to get rid of delegation.

Pstork1
Dual Super User III
Dual Super User III

Instead of First(Filter()) use Lookup().  Lookup is delegable and will return the first record it finds that matches the condition.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

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

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (67,387)