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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
tinkerz1
Creator II
Creator II

Variable Date as a number in the load script


I have set a variable called 'Month End Date' and linked it to an input box.

When I enter a date in te input box, 31/08/2015 and enter in the LOAD script num($(Month End Date)) as [Month End]

Why wont this show as a number in a straight table.

I thought QV held dual conditions for dates, everythings gets stored as a number?

Labels (1)
1 Reply
swuehl
Champion III
Champion III

Probably because your variable is just a text.

Try

Date#('$(Month End Date)','DD/MM/YYYY') as [Month End]