Notifications
Announcements
Hey guys,
I want to filter a gallery by comparing the date on a column and today.
In the SP list the column is a string formatted as "dd/mm/yyyy" but when i go to filter the gallery as "Filter(Gallery1;Bookingdate>=Text(Today();"dd/mm/yyyy")) it gives me error.
Any tips?
Check the data type in the Bookingdate column, whether it is plain text or date. If it's date, you don't need to use the Text() function. If it's text, you can do it like this:
Filter( Gallery1, DateValue(Bookingdate) >= Today() )
More information about the DateValue function here.
You need to do this:
You need to compare date with date, rather than date with text.
Please Accept as Solution if it solves your question. Or just give it a Thumbs Up if it is helpful because this can help others.
LinkedIn: https://www.linkedin.com/in/charlie-phipps-%F0%9F%91%A8%E2%80%8D%F0%9F%92%BB-91338715b/YouTube: https://www.youtube.com/channel/UChmFBGU1YKIU91sNMQ7buGgTwitter: https://twitter.com/phipps0218
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 717 Most Valuable Professional
Michael E. Gernaey 329 Super User 2025 Season 2
Power Platform 1919 268