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

Filter count

(0) ShareShare
ReportReport
Posted on by

Goodnight,
I have two galleries, one filtered by user and the other global from the database, how can I count the requests that are filter?

Capture.PNG
Capture2.PNG
Categories:
I have the same question (0)
  • mdevaney Profile Picture
    29,991 Moderator on at

    @CarlosN 
    You appear to have done it correctly using this code

    CountRows(Filter('Solictudes Expres'; Estatus.Value="NUEVA"))

     

    COUNTROWS cannot use delegation in SharePoint.  That's why you are receiving a warning.  This means by default your formula will only count the 1st 500 rows.  Of course, you can increase this to 2,000 rows in the advanced settings menu.

    If none of your categories will ever have over 2,000 rows in them you can safely ignore the warning.  Otherwise, you would have to change to a different datasource: SQL or CDS to use COUNTROWS with delegation.

     

    ---
    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." 

  • CarlosN Profile Picture
    on at

    Thank you, But, I want to count the small gallery. That Gallery has a filter by user, you can see that there are only three records 2 new and 2 pending

  • mdevaney Profile Picture
    29,991 Moderator on at

    @CarlosN 
    I don't see the code you are using to filter by user.  Please show your code for the Items proeprty of the small gallery.

    Here's an example of what the COUNTROWS code might be.  But's its really just a guess without having the proper information.  

    CountRows(
     Filter(
     'Solictudes Expres';
     Estatus.Value="NUEVA"
     'Created By'.Value = User().Email
     )
    )

     

    ---
    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."

  • CarlosN Profile Picture
    on at

    Attach capture

    Capture3.PNG
  • Verified answer
    mdevaney Profile Picture
    29,991 Moderator on at

    @CarlosN 

    Like this...

    CountRows(
     Filter(
     'Solictudes Expres';
     Estatus.Value="NUEVA";
     EmailUsario = VarEmail
     )
    )

     

     

    ---
    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."

  • CarlosN Profile Picture
    on at

    Thanks,

    for your help.

    Capture4.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

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 993

#2
Valantis Profile Picture

Valantis 675

#3
11manish Profile Picture

11manish 545

Last 30 days Overall leaderboard