Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
martin_hamilton
Creator
Creator

include a variable in load script

Hi

Am determining the quarter based on a date field but want to include a variable for the current year or pull it from the original date field. so far i have this:

'Q' & ceil(month([CONNECTED_MONTH])/3)

Which is created a value of Q1, Q2, Q3, Q4.

I wish to have it state Q1-2016, etc

Any help appreciated.

Cheers

Martin

4 Replies
sunny_talwar

Not sure I understand the logic for creating Q1-2016. Can you elaborate?

martin_hamilton
Creator
Creator
Author

I was looking at providing a filter function on a dashboard so someone could select the Quarter data associated with the records.

Anil_Babu_Samineni

You want to show like this

Q1-2016

Q2-2016

Q3-2016

Q4-2016

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
martin_hamilton
Creator
Creator
Author

yes if possible.

thanks