I have an app that is live, right now, working. It has been working for years at this point.
When I go to edit the app, core functionality does not work. Namely, everything that attempts to hit a table in our Azure MS SQL database and filter on ANY kind of date column.
The connections are showing as valid.
If i create a gallery and point it at a table, it works fine.
If i filter that table by simple things like int's or bools, it filters fine.
If I add any condition on the "WorkedDate" column, everything gets screwed up.
The WorkedDate data type is datetimeoffset(7) because that's what I was told to do eons ago when I created this to get powerapps to play nice and not have to sprinkle all sorts of crazy logic everywhere. I have tested with normal Date column tables, and get the same results as detailed below.
Examples:
This works, returns data, hits the gallery:
Filter('AUDIT.FBCountSheet', ValidRecord = true && Location = varMasterNumber)
This returns nothing, note I've added WorkedDate as a filter. I have 100% confirmed that worked date and selected date are identical to powerapps, and have even use DateTime() in place of selected date to EXACTLY match the record, and it returns nothing:
Filter('AUDIT.FBCountSheet', ValidRecord = true && Location = varMasterNumber && WorkedDate = DateWorkedDate.SelectedDate)
This, returns an error "Data returned by the service was invalid". The only change between this code and the previous is instead of "WorkedDate =" as the filter, it's "WorkedDate >". I have no idea how this is even possible that it can run the first example, and return blank on the second, and error on the 3rd.
Filter('AUDIT.FBCountSheet', ValidRecord = true && Location = varMasterNumber && WorkedDate > DateWorkedDate.SelectedDate)
I have made 0 changes to this app between the last time it worked and now. Has there been some breaking change to powerapps?

Report
All responses (
Answers (