I would like to filter my gallery by an SQL datetime2 column called DueDate
I have got it to work by using the DateAdd function on the DueDate column but this results in a delegation warning.
Filter(
'[SQLTABLE]',
DateAdd(DueDate, TimeZoneOffset(DueDate), Minutes) = Dropdown2.Selected.Result
)
I originally tried to use the DateAdd and TimeZoneOffset on my drop down of dates which is populated using the same Column.
Unfortunately this does not work and I can't figure out why. Have also tried this using the date picker with no luck.
Distinct(
'[SQLTABLE]'.DueDate,
DateAdd(DueDate, TimeZoneOffset(DueDate), Minutes)
)