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

Multiple functions

(0) ShareShare
ReportReport
Posted on by 60
Categories:
  • Neil82 Profile Picture
    60 on at

    Sorry, for the blank post above. Posting the question here instead.

     

    I'd like to know how to put multiple functions in the "Items" identity of the gallery. I would like to Search through text input, and I have somewhat done it already, however I am having troubles with the date. See pic below.

    Pic2.png

     

    I would also like to know how to combine both Search through text input and sort by column through an icon. I do not know how to combine both functions in one "item" identity.

  • mdevaney Profile Picture
    29,993 Moderator on at

    @Neil82 

    Simply put, you cannot search a date because a date is not Text.  Do not use dates within the SEARCH function.

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • Neil82 Profile Picture
    60 on at

    I see, then I can only sort by column (Ascending,Descending)? How do I do that when I already have a function on the "item" identity though?

  • mdevaney Profile Picture
    29,993 Moderator on at

    @Neil82 

    Sorry, I can only tell you why you are getting the error message.  I don't understand the rest of your question...

  • Neil82 Profile Picture
    60 on at

    This is what I'm trying to do, but I'm doing it wrong. I would like to put a SortByColumns as well in here.

    pic4.png

  • Verified answer
    mdevaney Profile Picture
    29,993 Moderator on at

    @Neil82 

    Place SEARCH inside the SORTCOLUMNS function like this to achieve the desired result.

    SortByColumns(
     Search(
     your_datasource_name, SearchInput1.Text, "Column1", "Column2", "Column3"
     ),
     "SortColumn1", Ascending,
     "SortColumn2", Descending
    )

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I used search and sort in items property of the gallery. In addition to that, I need to add a if condition. Is it possible?

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 224 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 126

Last 30 days Overall leaderboard