Label dates by an increment (dates since x)

Knowledge Drop

Last tested: Oct 10, 2019
 

CASE

when ROUND(datediff / increment, 0) <= 1

then "label 1"

else concat( "label 2", cast(round(datediff / increment, 0) as string))end

This content is subject to limited support.                

Version history
Last update:
‎07-07-2021 01:15 PM
Updated by: