Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have various dates in data from those date how I will know whether that date belongs to Saturday or Sunday.
If it belongs to Saturday or Sunday then only in another column it should wright SAT or SUN depends on date. For e.g.
09/12/2023 then 'SAT'
10/12/2023 then 'SUN'
11/12/2023 then NULL etc.
Perhaps this?
If(WeekDay(DateField)='Sat', 'Sat',
If(WeekDay(DateField)='Sun', 'Sun', 'Null'))
More info, weekday - script and chart function | Qlik Sense on Windows Help
Weekday(), perhaps?
Perhaps this?
If(WeekDay(DateField)='Sat', 'Sat',
If(WeekDay(DateField)='Sun', 'Sun', 'Null'))
More info, weekday - script and chart function | Qlik Sense on Windows Help
Thanks it is working