I am trying to sum a total by the last 24 hours. I can't seem to get it to work. My sum work's as long as I remove the date parameter. I have tried several different ways.
The timestamp field in sql is formatted as [Timestamp] [datetime2](7) NOT NULL
Sum(Filter('Auditing.BatchTickets',PartCode=partvar,DateTimeValue(Timestamp,ShortDateTime)>= DateAdd( Now(), -24, Hours)),Quantity)