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

Announcements
Note: You may notice some temporary visual or styling issues in the Community. Our vendor is actively investigating.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Adjustable timeline on graph

Hi,

I have a graph, and I want to use a list box, to choose between a x-as in months or in weeks. I have a drop down menu on my graph at the moment, but I want my client to be able to change it with a list box. How do I do this? My dimensions are

Month(shipdate) as [Month]

Week(shipdate) as [Week]

Thanks in advance.

4 Replies
luis_pimentel
Partner - Creator III
Partner - Creator III

Create a Data Island Table with two values for one field:

DimTable:

LOAD * INLINE [

    DimField

    Month

    Week

];

Then set both dimensions on your chart and use the getFieldSelections function in the Conditional Showing option. That way, depending on what have you selected in that field, dimensions will be hiden/shown.

Hope that helps.

MK_QSL
MVP
MVP

Create a Cyclic Group and use as a dimension.

luis_pimentel
Partner - Creator III
Partner - Creator III

By the way, in the "What new" qvw for version 11 there is some great examples of this issue.

Not applicable
Author

Hi,

here is a sample document.

Hope it helps.

Best Regards