Hi all,
I've scanned through the threads but am unable to find a solution for my current problem. I'm very new to powerapps so feel it's probably an easy one.
I'm creating an app for my company (travel) to sort discount codes by continent / city and date. I've managed to get it to filter by continent and city and am happy with it, however I'm struggling to set up an appropriate date filter.
I've used the datepicker control so users can select a specific date to search from. The aim is to get it to filter the data list to find offers that are within date. I have two columns in the table (StartDate and ExpirationDate) and have tried to device a way of filtering it so the chosen date is >= StartDate and < ExpirationDate, however it errors saying 'Expecting Text or number'
Looking through the threads I've come ot the conclusion there can be a problem with tranlsation of date/time data and I can see the potential in this as the datepicker looks to format date as dd/mm/yyyy where as the dates in the table (pulling through from a Sharepoint List) are formatted mm/dd/yyyy.
I've played around with a few formula's and this is the closest i've got that makes sense to me, but the error still pops up:
- Filter('Basic List', DateValue(Text(Start),"en") >= DateValue(Text(DatePicker1.SelectedDate)),"en" && DateValue(Text(Expiration_1),"en-gb") < DateValue(Text(DatePicker1.SelectedDate),"en"))

Hopefully the above screenshot will give a clearer idea as i want to filter the data to only show what is within date.
Any ideas what i could try?
Thanks!