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 / Auto-sum fields in SP ...
Power Apps
Unanswered

Auto-sum fields in SP list

(0) ShareShare
ReportReport
Posted on by 302

Hello, I wish to calculate the last set of 8g showing Night in the column Duty

 

Virikefe22_0-1669109300765.png

Virikefe22_1-1669115710727.png

Right now, it's displaying the last value on the gallery but I want it to calculate all the set of data in the MONRING shift. MORNING shift comes in hourly basis... 7am, 8am, 9am and so forth... so while the data is dropping in the hourly order, I want it added to the data once it is posted or I want it updated on this Pallets label.

 

Categories:
I have the same question (0)
  • BCBuizer Profile Picture
    22,505 Super User 2025 Season 2 on at

    Hi @Virikefe22,

     

    My first try would look something like this:

     

    Sum(
    	Filter(
    		'Savoury Hourly Performance Tracker',
    		DateValue(Created) = Today(),
    		Duty.Value = Last( 
    			Sort(
    				'Savoury Hourly Performance Tracker',
    				Created,
    				Descending
    			)
    		).Duty.Value
    	),
    	8g
    )

     

    This filters the data source by the Created column to match today's date and to match the last type of shift. The values in the 8g column of the remaining row are then summed to created the requested number.

  • NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    Hi @Virikefe22 ,
    You can try using below formula - 

    With({_date: First(Sort('Savoury Hourly Performance Tracker', Created, Descending)).DATE}, Sum(Filter('Savoury Hourly Performance Tracker', DUTY.Value="Morning" && DATE=_date),'8g')

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard