Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
berryandcherry6
Creator III
Creator III

Getting undefined for variable in load script

Hi,

i have a a variable in Load Script with below

Load

    Min(CanonicalDate) AS MinDate,

    Max(CanonicalDate) AS MaxDate

RESIDENT DateBridge; 

let Month_year  = Date(MonthStart(peek('MaxDate'),-1),'MMM-YY'); 

Now  in frontend

'$(Month_year )' but this gives me Undefined in textbox,


How is to get Jul-16 as answer



Regards,




13 Replies
avinashelite

Share the QVW and the sample data files , will try to debug the same

Anil_Babu_Samineni

Can you post full script which you resident load also

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
berryandcherry6
Creator III
Creator III
Author

Hi Sunny,

TRACE $(vTest2);

Also  gives blank Value.

sunny_talwar

Would you be able to share you application with us?