HI,
Today is 4/11/2022...
Have a question about some code I have. Why does line 1 produce records from last Friday, 4/1/2022,
and line 2 obviously produces today records as expected?
LINE 1 : //Filter(dvDailyTeamss, WorkDate=First(Sort(Distinct(dvDailyTeamss,WorkDate),Result,Descending)).Result)
Line 2: //Filter(dvDailyTeamss, WorkDate=Today())
I would have thought if I am sorting Line 1 (descending) , and using the FIRST function, it would pick up the latest date, which is today, 4/11/2022?
See attached PNG file for dataverse table columns being referenced.
Thanks!