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 / Issues combining two f...
Power Apps
Answered

Issues combining two formulas together

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have two filters that I’m trying to use on a gallery, one to remove duplicate items within the SharePoint list from view, and the other is a search function. The formulas are:

 

  • Filter('Post Interview Feedback',StartsWith('Unique Role ID'.Value,'JD Search_3'.Text))
    • The reason I’m using a filter formula rather than a standard search is that I’m using a SharePoint lookup column and was having a nightmare trying to enable the search function to work correctly.

 

  • ForAll(Distinct('Post Interview Feedback','Unique Role ID'.Value),LookUp('Post Interview Feedback','Unique Role ID'.Value=Result))
    • This filter means that each ‘Unique Role ID’ only appears once within the gallery.

 

I’ve tried quite a few variants to combine these two formulas, however have been unable to make it work.

 

What would be the approach here to combine both formulas together, please?

 

Data source: Post Interview feedback

 

Let me know if you need any more information. 

Categories:
I have the same question (0)
  • Verified answer
    EddieE Profile Picture
    4,641 Moderator on at

    @Anonymous 

    Have tried replacing the Filter() <data source> with the entire 2nd formula, ie

     

    ’Post Interview Feedback’ — becomes — ForAll(…)

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    That's worked perfectly, thanks @EddieE really appreciate the help!

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 610

#2
Haque Profile Picture

Haque 317

#3
WarrenBelz Profile Picture

WarrenBelz 315 Most Valuable Professional

Last 30 days Overall leaderboard