Hi everyone.
In my PowerApps application, i'm pulling from Oracle some records into my DataTable. Once of the columns is the " STRT_DTT" for the Start date. The format of that field is: "Saturday, March 20, 2021 04:30:00 AM".
My goals is to be able to filter the records based on that file. I need to filter all records where STRT_DTT is >= Today(),-31,Days.
Bot for some reason, it does not work.
Last thing I've tried was:
(Text(STRT_DTT,DateTimeFormat.LongDate) >= Text(Today(),DateTimeFormat.LongDate)-31)
I have also tested below, but still not pulling any records.
I've created a new Textbox called: tx30DaysAgo
The default field equals to below code:
Text(DateAdd(DatePicker1_2.SelectedDate,-30,Days),DateTimeFormat.LongDateTime)
That gives me the same format and -30 days, it equals to: "Thursday, February 18, 2021 12:00:00 AM"
Now i update the data query with:
STRT_DTT > Value(tx30DaysAgo.Text)
But nothing, no results what so ever, and without any errors.
Can you please help me? Thank you