Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I am trying to get the exact day number as of today from day 1 of year 2017.
I used this string for getting the current day number in current month:
Day(Date(today()))
But string - Year(Date(today())) does not do the trick. Hope someone helps me.
Thanks a lot!
Joy
Hi,
I think what you need is this function:
daynumberofyear - script and chart function ‒ Qlik Sense
Note that you can also remove the date() function from your expression.
Hi,
I think what you need is this function:
daynumberofyear - script and chart function ‒ Qlik Sense
Note that you can also remove the date() function from your expression.
Year(Today()) returns number only.. When we add Date() as always it takes as String
may be this
Today() - YearStart(Today())
Try like this
=DayNumberOfYear(Today())
wow this works!
I used (DayNumberOfYear(today())) Thanks a lot Onno!