cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

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
Highlighted
Kudo Kingpin
Kudo Kingpin

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))

 

View solution in original post

2 REPLIES 2
Highlighted
Kudo Kingpin
Kudo Kingpin

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))

 

View solution in original post

Highlighted
New Member

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
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

Users online (3,493)