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

Month to Week drill down in a bar chart

Hello,

Is there a way to achieve Month to Week drill down in a Bar chart?

The attached image shows the Sales by Month Year and i am looking to drill down to the weeks when the lines are selected. Each line represents a country.

Dimension 1: Month Year

Dimension 2: Country

Expression: Sum(Sales)

Thanks.

5 Replies
Not applicable
Author

Hi!

If you already have the Week field in your QVW, you just need to create a cyclic group with Month first and than Week. And then delete the Month dimension of the chart and after add the cyclic group as dimension.

If you don't have the field Week or if isn't this the problem, please attach an example application (QVW).

Best regards,

Marcello

Not applicable
Author

Thanks for the reply Marcello.

For your solution to work,the user has to click on the cyclic icon to switch between the months and weeks. is there a way to automatically change the axis values from months to weeks based on the selections? Assume that the user select a month or two, then the chart axis value should switch to weeks instead of months. is it possible?

makrishnaraj
Contributor III
Contributor III

Hi,

Try to use the drill down group

hope this is helpful.

Not applicable
Author

Hi Gamavi

Solution 1:

The Drill-down Group is the way to automatically change the axis values from months to weeks based on the selections, but to perform the drill-down you have to select just one month. The group icon (button) shold be used to drill-up.

Solution 2:

If you don't want to use groups, you can try to create 2 charts over positioned: one with month as dimension and other with week as dimension. Then use the Conditional Show property (in Layout tab) to show the Week chart only when there is at least one month selected (for this, use GetSelectedCount () function). If you clear the selection, the Month chart will be automaticaly showed.

Hope it helps!

Marcello

Anonymous
Not applicable
Author

Drill down group will be the best option for you. Just create a new group on the dimensions tab and choose the radio button for drill down and add in both your month followed by week fields. Then use this group as your chart dimension.