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 :
Liquid error: Exception has been thrown by the target of an invocation. Liquid error: Exception has been thrown by the target of an invocation. Liquid error: Exception has been thrown by the target of an invocation. Liquid error: Exception has been thrown by the target of an invocation. Liquid error: Exception has been thrown by the target of an invocation. Liquid error: Exception has been thrown by the target of an invocation.
Power Platform Community / Forums / Power Apps / Gallery check if value...
Power Apps
Unanswered

Gallery check if value is either in Monday, Tuesday, Wednesday, Thursday or Friday column based on weekday

(0) ShareShare
ReportReport
Posted on by 2

Hi,

I have a Gallery that shows dates based on a filter. First I create a sequence of the next 14 dates/days. This sequence is the source of my filter. For the filter I then take the weekdays for each of the 14 dates and want to check if for (lets say the first day is Monday) I find a checked box in the column Monday. So for each of the 14 dates I need to check if its weekday has a value in the corresponding column. 

Example: 1 (so any checked value) in my desired table.column(this is where I want to look in either the monday, tuesday, wednesday, thursday or friday column based on the weekday of that date)

Filter(ForAll(Sequence(14,Day(Today())),Date(2021, Month(Now()), Value)), 1 in Table.Switch(
 Weekday(Value),
 2, "Monday",
 3, "Tuesday",
 4, "Wednesday",
 5, "Thursday",
 6, "Friday",
))

 This approach does not work. Is there any way to achieve this. Maybe with look up?

tdirksen_0-1640189906856.png

The form in powerapps should now return only the Mondays and tuesdays for the next 2 weeks because this is where the function should find checked elements.(I used german names for the days because I am german. But Montag = Monday and Dienstag = Tuesday. Sorry for that.) 

Categories:

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

#2
M Bilal Khan Profile Picture

M Bilal Khan 323

#3
Mohsin Ali Profile Picture

Mohsin Ali 226

Last 30 days Overall leaderboard