Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
DSDD
Contributor III
Contributor III

How to switch between yearly, monthly, weekly, daily data in a barplot/barchart?

Dear Community,

i try to create one barchart, for which i'm able to switch between yearly, monthly, weekly and daily bars. I don't want a drill down, but i want a switch between 4 different aggregations.

The switch shall be with buttons in a separate box.

Let's assume that raw data contains only dates, nur further aggregation.

I really appreciate your help in finding a solution for this supposably simple question.

Regards

 

 

Labels (2)
1 Solution

Accepted Solutions
DSDD
Contributor III
Contributor III
Author

Thank you very much for your response. It worked.

I came across a second preferable solution:

I conditioned the dimension on a variable, which was defined by the button values.
DSDD_1-1604616015861.png

 

View solution in original post

2 Replies
sasis551
Contributor III
Contributor III

Step1: create 4 charts & 4 buttons (year/month/week/daily)

Step 2: add all 4 charts in container visualization.

Step3: create variable 

Step4: on container  properties you can create show/hide condition using variable.

Then it is possible your task I believe

DSDD
Contributor III
Contributor III
Author

Thank you very much for your response. It worked.

I came across a second preferable solution:

I conditioned the dimension on a variable, which was defined by the button values.
DSDD_1-1604616015861.png