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

Switch Function

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

My app has few tabs and a gallery in homescreen, on the selection of tabs I want to sort the data in the gallery on the basis of certain condition 

1 clicking on the first tab will display the entire data from  sharepointlist in the gallery

* when clicking on the fourth tab , I want to filter the data in my sharepoint list , But it is showing some error,

 

Emptyglasses_1-1669972824366.png

 

 

SUPD is  my sharepoint list , by clicking on the fourth tab i need to show all the data which contains the " Rejected"

4,Filter(SUPD,Contains.value="Rejected"))

 

Could anyone help me to fix this 

 

 

Categories:
  • AJ_Z Profile Picture
    3,711 Super User 2024 Season 1 on at

    try:

    changing it to 

    Filter(SUPD,Contains.Value="Rejected"))

     

    Try make the V a capital one

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    HI , 

    Thanks for the reply 

    But it is showing some error

    Emptyglasses_0-1669973407139.pngEmptyglasses_1-1669973461023.png

     

  • AJ_Z Profile Picture
    3,711 Super User 2024 Season 1 on at

    Oh I misunderstood your question apologies. 


    what is the name of the column we are checking contains rejected?

     

    and is it a text column or a choice column

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    its a choice column

  • AJ_Z Profile Picture
    3,711 Super User 2024 Season 1 on at

    What is the name of the choice column is it 'Ticket Status'?

     

    what rejected options are there for the choice is it just rejected if so we can use = or if its multiple options that contain the word rejected we can use contains.

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    HI, 

    Actually I've 5 choice column which have the options  ""Rejected"" 

    is it possible to show by clicking on the 4th Tab can the sharepoint list can be filtered  with the word " rejected " without mentioning the column names 

  • Verified answer
    AJ_Z Profile Picture
    3,711 Super User 2024 Season 1 on at

    Why can we not mention the column names ? 

     

    would it not be simpler to do:

     

    Filter(SUPD,Or('Column 1'.Value="Rejected",'Column 2'.Value="Rejected",'Column 3'.Value="Rejected",'Column 4'.Value="Rejected",'Column 5'.Value="Rejected")))

     

    this way if any say rejected they appear?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Yeppp , that worked perfectly fine 

    Thanks man for your support 

  • AJ_Z Profile Picture
    3,711 Super User 2024 Season 1 on at

    No worries at all I am happy to help 🙂

     

    and good luck with your app 🙂

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 381 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard