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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Date on year selection

Hello,

When Year is selected then, I want 1st date of April month in a text object.

eg.

2012 -> 01/04/2012

2011 -> 01/04/2011

Please reply.

Thanks

Labels (1)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

=if(Year>0, '01/04/' & Year)

If you only want a text object with the value, you can use the above expression.

View solution in original post

6 Replies
Anonymous
Not applicable
Author

=if(Year>0, '01/04/' & Year)

If you only want a text object with the value, you can use the above expression.

Not applicable
Author

Hai,

Please find the attachment ,May be this is what you need.

Thanks,

Rathish

jagan
Partner - Champion III
Partner - Champion III

Hi,

Try this

=MakeDate(Max(Year), 4, 1)

Hope this helps you.

Regards,

Jagan.

Not applicable
Author

Hi

use the makedate()

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

Not applicable
Author

Thanks

Not applicable
Author

Thank You Guys..........:)