web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Add multiple formulas ...
Power Apps
Answered

Add multiple formulas to gallery

(0) ShareShare
ReportReport
Posted on by 65

Hello everyone,

 

I'm currently building an app for a Risk Register using a SharePoint list.

 

I posted yesterday as I was struggling to figure out how to get two combo boxes to work for filtering my gallery but that was sorted.

 

However I have now realised that fixing the combo boxes has broken the Search Input, which I now need help with.

 

Here is my current formula in the gallery:

 

Filter(
     'Risk Register',
     (IsBlank(ComboBox1.SelectedItems) || IsEmpty(ComboBox1.SelectedItems) ||
     RiskOwner.DisplayName in ComboBox1.SelectedItems.DisplayName) &&
     (IsBlank(ComboBox2.SelectedItems) || IsEmpty(ComboBox2.SelectedItems) ||
     RiskStatus.Value in ComboBox2.SelectedItems.Value)
)

 

That formula allows me to filter my gallery using two combo boxes either independently of each other or simultaneously.

 

I now need to incorporate this formula but cannot figure out how to do it:

 

Search([@'Risk Register'], SearchInput1.Text, "RiskDescription", "RiskDescription")

 

Any help is greatly appreciated!

Categories:
I have the same question (0)
  • Verified answer
    SpongYe Profile Picture
    5,721 Super User 2026 Season 1 on at

    Hi @MHSPDev 

     

    You can combine both formulas:

    Search(
     Filter(
     'Risk Register',
     (IsBlank(ComboBox1.SelectedItems) || IsEmpty(ComboBox1.SelectedItems) ||
     RiskOwner.DisplayName in ComboBox1.SelectedItems.DisplayName) &&
     (IsBlank(ComboBox2.SelectedItems) || IsEmpty(ComboBox2.SelectedItems) ||
     RiskStatus.Value in ComboBox2.SelectedItems.Value)
     ),
     SearchInput1.Text, 
     "RiskDescription"
    )

    If you have any questions or feedback, please let me know. Have a great day! 😊

    -----------------------
    PowerYsa Power Platform Enthusiast [LinkedIn] | [Youtube]

    I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my [@PowerYSA] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻

  • MHSPDev Profile Picture
    65 on at

    SpongYe this is twice now you've saved me after hours of googling.

     

    I'll have to start paying you soon!


    Thank you very much, all working now.

  • SpongYe Profile Picture
    5,721 Super User 2026 Season 1 on at

    Hi @MHSPDev 

     

    I don't mind 😊

    Good luck further!

     

    If you have any questions or feedback, please let me know. Have a great day! 😊

    -----------------------
    PowerYsa Power Platform Enthusiast [LinkedIn] | [Youtube]

    I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my [@PowerYSA] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 839

#2
Valantis Profile Picture

Valantis 533

#3
Haque Profile Picture

Haque 412

Last 30 days Overall leaderboard