cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ell1990
Helper I
Helper I

Button Visible If...

I want to add a button to an app that is only visible on certain days in the week.

Is this possible?

Would appreciate some suggestions.

Thanks
1 ACCEPTED SOLUTION

Accepted Solutions
mdevaney
Super User
Super User

@ell1990 

Yes, it is possible.  This sample code goes in the Visible property of the button.

Weekday(Today()) in [1,3,7]

 

Include any numbers for days you want the button to be Visible on between the square brackets separated by commas.

 

1 - Sunday

2 - Monday

3 - Tuesday 

4 - Wednesday

5 - Thursday

6 - Friday

7 - Saturday

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

3 REPLIES 3
mdevaney
Super User
Super User

@ell1990 

Yes, it is possible.  This sample code goes in the Visible property of the button.

Weekday(Today()) in [1,3,7]

 

Include any numbers for days you want the button to be Visible on between the square brackets separated by commas.

 

1 - Sunday

2 - Monday

3 - Tuesday 

4 - Wednesday

5 - Thursday

6 - Friday

7 - Saturday

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

Brilliant - thank you!

@ell1990 

You are most welcome.  Best of luck in building your app!

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,636)