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

2 formulas into 1 formula

Hello PowerApps-community, 

 

I want to combine 2 formulas, which work 'standalone'. Question is how to integrate or combine both formulas into one that works? The gallery is connected to data from the Common Data Service. Please help. I greatly appreciate your support! 

 

Formula 1: 

SortByColumns(Search('VHR Leveranciers'; TextSearchBox3_1.Text; "Naamleverancier";"GeografischeFocus";"SolutionType";"Validatiestatus"); "Naamleverancier"; If(SortDescending1; Descending; Ascending))

 

Formula 2: 

Filter('VHR Leveranciers'; Validatiestatus <> "Inactief")

 

Kind regards, 

 

Wesley van der Blom

VroomHR

Netherlands

 

1 ACCEPTED SOLUTION

Accepted Solutions
Yahya
Level 10

Re: 2 formulas into 1 formula

Hi @WesleyvdBlom,

 

I put Filter inside the Search, so try this it works for me

 

SortByColumns(Search(Filter('VHR Leveranciers'; Validatiestatus <> "Inactief"); TextSearchBox3_1.Text; "Naamleverancier";"GeografischeFocus";"SolutionType";"Validatiestatus"); "Naamleverancier"; If(SortDescending1; Descending; Ascending))

 

2 REPLIES 2
Yahya
Level 10

Re: 2 formulas into 1 formula

Hi @WesleyvdBlom,

 

I put Filter inside the Search, so try this it works for me

 

SortByColumns(Search(Filter('VHR Leveranciers'; Validatiestatus <> "Inactief"); TextSearchBox3_1.Text; "Naamleverancier";"GeografischeFocus";"SolutionType";"Validatiestatus"); "Naamleverancier"; If(SortDescending1; Descending; Ascending))

 

Highlighted
WesleyvdBlom
Level: Powered On

Re: 2 formulas into 1 formula

Hi @Yahya,

 


Thanks it works great. I've been puzzeling, so thanks for your support. 

 

Tip: copy / paste does not work (PowerApp bug), but typing in PowerApps works.

 

Kind regards,

Wesley

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

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

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Users Online
Currently online: 194 members 4,269 guests
Please welcome our newest community members: