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

Lookup & Sum

(0) ShareShare
ReportReport
Posted on by 209

I am looking for some help with creating a Gallery within a power app.

The Gallery is simply named 'Gallery5' which takes draws most of its information from a Sharepoint list named 'StandardsOffered'. Also within that Gallery I have a label named 'ThisCar' which takes its information from the 'Cars' sharepoint list and returns the vehicle number so essentially taking information from 2 different sharepoint list - everything is good to this point.

 

In the 'StandardsOffered' sharepoint list there is a Column which contains the Vehicle numbers - numerous entries (these are added by a separate power app.  There is also a column which records how many times a vehicle has been called which is named 'CalledCount'

 

What I need is a textbox or label with gallery5 that will lookup the vehicle number which is in the 'ThisCar' label (Taken from the 'Cars' Sharepoint list) and then return the sum of 'CalledCount' for that vehicle from the StandardsOffered sharepoint list.

 

Can this be done and if so how????

 

Thanks

 

Categories:
  • Verified answer
    RusselThomas Profile Picture
    4,014 on at

    Hi @Station1901 ,

     

    It sounds like you're looking for the Sum() function - something along these lines;

    Sum(Filter(StandardsOffered, VehicleNumberColumn=ThisCar.Text), CalledCount)

     Hope this helps,

    RT

  • Station1901 Profile Picture
    209 on at

    That works perfectly, thankyou.

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

#2
WarrenBelz Profile Picture

WarrenBelz 202 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard