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 / Shifts in factory - di...
Power Apps
Unanswered

Shifts in factory - diffrent time measuring than normal

(0) ShareShare
ReportReport
Posted on by

Good morning, 

 

I have a problem with time days and shifts in job. In my task a have to make special timer for shift working. Day in factory lasts from 6:00 AM to 5:59 AM ( Next day) and its diffrent to normal time measuring from 00:00 AM to 11:59PM 

1 shift - 6:00 AM -2:00 PM (today)    

2 shift 2:00 PM -10:00 PM (today)

3 shift 10:00 PM (today) - 6:00 AM (next day) ( so one shift is on two days)

Now I assign shift based on timer function like this

If(
(Hour(Now())<14)&&((Hour(Now())>=6));"Z1";
(Hour(Now())<22)&&((Hour(Now())>=14));"Z2";
(Hour(Now())<6)&&((Hour(Now())>=00));"Z3+";
(Hour(Now())<=23)&&((Hour(Now())>=22));"Z3"

So for to 1 shift I assign "Z1", for shift 2 "Z2" and problem is with sort of gallery in case of night shift because I want to show events only for shift that is now. In Power platform I can sort by days etc. For nihgt shift I assign two markers based on current time Z3+ and Z3

 

My question is how to properly assign markers to sort galery to show only one shift in this case ? I will answer your questions if you want to know more. 

 

Categories:
I have the same question (0)

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 335 Most Valuable Professional

#2
11manish Profile Picture

11manish 166

#3
sannavajjala87 Profile Picture

sannavajjala87 71 Super User 2026 Season 1

Last 30 days Overall leaderboard