Hi All,
I’m trying to add a column within my table (Dataverse) using formula which would work out the weekday hours. Unfornatley, it’s not liking the formula I’ve input giving me an error.
Error: Invalid argument type (Decimal). Expecting a Enum (StartOfWeek) value instead.
Formula: If(Or(Weekday('Start Time',2)<>6,Weekday('Start Time',2)<>7),DateDiff('Start Time','End Time',TimeUnit.Hours),0)
Data Types: 'Start Time' – Date/Time, 'End Time' – Date/Time
Does anyone know how to fix this? Any help would be appreciated!
Thanks, SBX