Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Calendar object is not working for Alternate State?

Hi Community,

May I know why the calendar object is not working properly for alternate state?

Alternate state is working for list box selection as well as the chart.

But when i try to select 2 different period (Analysis and Comparator), it will follow the latest date selection only...

Attached herewith the .qvw file for troubleshooting reference.

Kindly assist.

Thanks and best regards,

Chanel

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Chanel

I see what you after now [I hope]

Is the attached qvw more what you are after ?

Best Regards,     Bill




View solution in original post

10 Replies
Anonymous
Not applicable
Author

Channel

In your Calendar Objects, Presentation tab, for Data try selecting Field ShortCreatedDate instead of a variable.

Best Regards,     Bill

Not applicable
Author

Hi Bill,

Thanks for fast response!
I tried to go to General tab -> Data -> field -> ShortCreatedDate, it is not working because there is no start and end date for ShortCreatedDate.

Thanks and best regards,

Chanel

Anonymous
Not applicable
Author

Chanel

It works fine for me.

What kind of 'not working' are you experiencing ?

Best Regards,     Bill

Not applicable
Author

Hi Bill,

yupe, firstly i am unable to select a Start analysis date and end analysis date separately.

I could drag the date range like this, but there might be more than 1000 days. It is a good idea to drag date like this.

A new problem raised is if i selected a date range, calendar object will show something meaningless like "---"

Thanks and best regards,

Chanel

Anonymous
Not applicable
Author

Chanel

I see what you after now [I hope]

Is the attached qvw more what you are after ?

Best Regards,     Bill




Clever_Anjos
Employee
Employee

It´s not a problem of calendar.

You´re using variables.

Variables are not 'copied' to Alternate States.

They´re always related to Default State

Not applicable
Author

Just what Clever said. If you have differente states, you need same variables for these states.

Example:

Sheet1 = firstAlternateState

Then you need vStartDateFirstAlternateState and vEndDateFirstAlternateState

Sheet2 = SecondAlternateState

Then you need vStartDateSeondAlternateState and vEndDateSecondAlternateState

And so forth.

Not applicable
Author

Hi Clever,

Thanks for the explanation, but my variable will trigger the field which is set in document properties.

Best regards,

Chanel

Not applicable
Author

Awesome Bill!
I think I just missed out the format of date in variable trigger.

Thanks and best regards,

Chanel