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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Create a calendar

Hello, I'm a beginner on Talend. I was wondering if it was possible to create a new variable that displays all the dates for the current month. Let me explain. I would like, starting from nothing, to create a new variable on talend which takes into account the day that it is at the time of its execution. And that displays every day of the month. (Which takes into account the months of 30 or 31 days as well as the month of February). I succeeded using the tjava tool to create an ArrayList which contains the values ​​I want to obtain. But however, I don't see how I can use it afterwards. Because I would like to have a variable that I can then use in a tmap or each line corresponds to a different day. I do not know if I am very clear. Do not hesitate to ask questions if this is not the case. Thank you for your answers.

Sorry for my English
 
Labels (2)
1 Reply
Anonymous
Not applicable
Author

Hello,

You could declare a static variable in a routine, and add the setter/getter methods for this variable in the routine.

Let us know if this article helps

https://community.talend.com/t5/Design-and-Development/Can-I-define-a-variable-that-is-accessible-fr... 

Best regards

Sabrina