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 Platform Community / Forums / Power Apps / 'Content approval stat...
Power Apps
Unanswered

'Content approval status' eq Pending

(0) ShareShare
ReportReport
Posted on by 8

Shariq_h_0-1672741231310.png

Filter('<DataSource>', ('Created By'.Email=User().Email) && ('Content approval status' = Pending))
The above Filter is not working when trying to filter in Power aap. Gallary Item Filter. 
Can any one help. 

Categories:
I have the same question (0)
  • SebS Profile Picture
    4,582 Moderator on at

    Hi @Shariq_h 

     

    If the 'Content approval status' column is a choice column 

     

    Filter(
    '<DataSource>', 
    'Created By'.Email=User().Email, 
    'Content approval status'.Value = "Pending"
    )

     

    But if it's not

     

    Filter(
    '<DataSource>', 
    'Created By'.Email=User().Email, 
    'Content approval status' = "Pending"
    )
  • Shariq_h Profile Picture
    8 on at

    Thanks for your response. 

    When I am trying to get the information in the text field it is proving the information without any filter. 

    Shariq_h_1-1672744446337.png

     

    In the data source, I am using a share point list: "Require content approval for submitted items? = Yes"
    In the Power app I want to list the SharePoint Item where approval is pending. 

    Shariq_h_0-1672744095524.png

     

  • SebS Profile Picture
    4,582 Moderator on at

    @Shariq_h 

     

    So for Your scenario it should work the only issue You will have 'Content approval status' is classed as complex Type column and You will have Delegation warning what means You need increase Delegations from 500 to 2000 in Your app settings and if Your list will grow above 2000 records You will not be able to see records above 2000

     

    Filter(
     DataSource,
     'Created By'.Email = User().Email,
     'Content approval status' = "Pending"
    )

     

  • Shariq_h Profile Picture
    8 on at

     

     

    When trying with the below Filter it is showing data in Gallery.

    Filter(
     DataSource,
     'Created By'.Email = User().Email
    )

     

    But with the below noting showing in the Gallery. 

     

    Filter(
     DataSource,
     'Created By'.Email = User().Email,
     'Content approval status' = "Pending"
    )

     




    Shariq_h_0-1672747084746.png

     

  • SebS Profile Picture
    4,582 Moderator on at

    @Shariq_h 

     

    Can You check if you change Pending for Approved anything show up maybe You do not have any Pending records for that user

     

     

     

    'Content approval status' = "Approved"

     

     

    Do You have any errors showing up when You use the code ?

     

  • Verified answer
    SebS Profile Picture
    4,582 Moderator on at

    @Shariq_h 

     

    I run it on my Test App and it's filtering 

     

    SebS_0-1672749277984.png

     

    Here with Approved

     

    SebS_0-1672749453922.png

     

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 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard