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: 
QlikBeginner1
Creator
Creator

Drill Down Dimension

Hi,

I have created a bar chart, and wanted to create a drill down dimension, which I can create and is working OK.

The first level is the year, the second level is the month and the third level will be the day. 

When I have tried to use the month function, this is fine, however I wanted the graph to show the month and year instead of just the month itself. 

For example, I want the image to show Feb 2020.

quote pic.JPG

 

I have tried to use the expression date(quote_expiry_date_key, 'mmm-yyyy'), this kind of works, however it creates multiple Feb 2020 instead of grouping into one bar?

quote pic2.JPG

Thanks all ! 🙂

1 Solution

Accepted Solutions
martinpohl
Partner - Master
Partner - Master

insight the data a date

02/25/2020

and

02/05/2020

are limited to visualize only month and year, but they know the individual date

so use

month(monthstart(quote_expire-Date_key)) 

instead

Regards

View solution in original post

3 Replies
martinpohl
Partner - Master
Partner - Master

insight the data a date

02/25/2020

and

02/05/2020

are limited to visualize only month and year, but they know the individual date

so use

month(monthstart(quote_expire-Date_key)) 

instead

Regards

QlikBeginner1
Creator
Creator
Author

Thank you sir!

=date(monthstart(quote_expiry_date_key),'MMM-YYYY')

This was the expression I used which is giving me what I wanted. Thank you for the guidence!

QlikBeginner1
Creator
Creator
Author

To finish off this question, 
I used this expression then to populate the day/month/year.

=date(daystart(quote_expiry_date_key),'DD-MMM-YYYY')

This is the output.

quote pic2.JPGquote pic1.JPG