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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Apps
Answered

Switch Function

(1) ShareShare
ReportReport
Posted on by

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:
I have the same question (0)
  • 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
    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
    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
    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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard