Good day
I want to filter all the "closed" calls over the last 14 days from a SQL database in my PowerApps.
I have converted the date to int in SQL and have created a variable in the app as follows:
App / OnStart / Set(varDate, DateDiff(Today(),Days)-14)
(I have also used the following: Set(varDate, DateDiff(ClsDateClosedTxt,Today(),Days)-14) without success)
The gallery's filter is as follows:
SortByColumns(Filter(vw_ITChangeRequests,Status="Closed" && varDate),"StatusDateInt", Descending).
The filter produces all the results of all the closed calls and not just the last 14 days - can you please assist me
Thank you