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 Platform Community / Forums / Power Apps / how to do sum of ratin...
Power Apps
Unanswered

how to do sum of rating column for only active ids instead of all

(0) ShareShare
ReportReport
Posted on by 40

Hi,

 

I am trying to do sum for rating column but only for is active=true ids so can some one tell me how to do it

I used sum( table name , rating) but it will show all rating sum , need only active ids sum

 

Categories:
  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @Sweety

     

    Syntax: 

     

     

    Sum(Filter(Datasource, Condition), ColumnName)

     

     

    To avoid delegation warning

     

    With(
     {sData: 'Issue tracker'},
     Sum(
     Filter(
     sData,
     IsAccepted = true
     ),
     'Days old'
     )
    )

     

     

    Sample:

    StalinPonnusamy_0-1628082109962.png

     

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Sweety 

    You'll need to filter your table by the condition for active or not active.

    Ex.

    With({_items: Filter(tableName, active=1)},
     Sum(_items, rating)
    )

    Note, in the above "active=1" is provided as an example only.  Please substitute in the condition that you have for determining an active record.

     

    I hope this is helpful for you.

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Sweety 

    Were you able to work through your issue or do you still need help?

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

#2
M Bilal Khan Profile Picture

M Bilal Khan 258

#3
Mohsin Ali Profile Picture

Mohsin Ali 231

Last 30 days Overall leaderboard