Skip to main content

Notifications

Community site session details

Community site session details

Session Id : w5Eb/zY0YFJ+lmsUr1RpZ2
Power Apps - Building Power Apps
Answered

Add two formulas in the formula bar

Like (0) ShareShare
ReportReport
Posted on 6 Feb 2020 17:17:40 by 5

Hello,

 

I am unable to add these two formulas in the formula bar of my powerapps. 

 

In Gallery > Items: 

 

Formula 1: Search('Tax T1', SearchB.Text, "Title")

Formula 2:  Sort('Tax T1', Title, Ascending) 

 

I try adding ;; between the two formulas , but it didn't work. Is there any other options? 

 

Thank you, 

  • PowerAddict Profile Picture
    7,314 Most Valuable Professional on 06 Feb 2020 at 18:57:09
    Re: Add two formulas in the formula bar
    ---
    If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

    Thanks!
    Hardit Bhatia
    https://thepoweraddict.com
  • MiMi_v88 Profile Picture
    5 on 06 Feb 2020 at 18:43:40
    Re: Add two formulas in the formula bar

    Thank you it worked!!!

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on 06 Feb 2020 at 17:51:10
    Re: Add two formulas in the formula bar

    Hi @MiMi_v88 ,

    @PowerAddict is correct in how to address your issue.  In order to better understand how PowerApps formulas work, think about wrapping one formula within another.  In PowerApps, the formulas are executed from the inside out.   @PowerAddict 's solution Sorts the results of the Search.  However, you could arrive at the same result by 

    Search(Sort('Tax T1',Title, Ascending), SearchB.Text, "Title")

    In this case the datasource is sorted first and then searched.  

  • Verified answer
    PowerAddict Profile Picture
    7,314 Most Valuable Professional on 06 Feb 2020 at 17:32:14
    Re: Add two formulas in the formula bar
    Do you want to search and sort? If so, you can use something like this in the Items property of the gallery:

    Sort(Search('Tax T1', SearchB.Text, "Title"), Title, Ascending)

    Let me know if this helps.

    ---
    If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

    Thanks!
    Hardit Bhatia
    https://thepoweraddict.com

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,658 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard
Loading started