Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
techvarun
Specialist II
Specialist II

Please correct the formula below I am not getting any values

Hi Experts

        Can anyone please fix the formula below

num(makedate(year(today()),month(today()),Date(today(),'DD'))),

When i run the script in pieces I am getting the results as below

year(today()),   2015

month(today()) 05

Date(today(),'DD'), 21 but as in makedate() i am getting null as the result

Thanks

Varun

5 Replies
manishnarang
Partner - Creator
Partner - Creator

Try this:

=num(makedate(year(today()),month(today()),Day(today())))

But what is the actual requirement?

you can take the num of today's date simply as : =num(Date(Today()))

anbu1984
Master III
Master III

=Num(makedate(year(today()),month(today()),Day(today())))

t_moutault
Contributor III
Contributor III

hi,

can you tell us what you want to achieve ?

nagaiank
Specialist III
Specialist III

You may try this:

=Date(num(makedate(year(today()),month(today()),Day(today()))))

Not applicable

the day part of the makedate expression seems to be the issue. try this

makedate(year(today()),month(today()),Day(today()))