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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
sqlpuzzle
Contributor III
Contributor III

Drill Down Line Chart

Hi ,

 

Doing a simple line chart.

The x-axis dimension should be Year ->  Month-Year -> Date-Month-Year in a drilldown or a cyclical.

The measure should be the count of a filed with respect to the above dimension.

How can this be done?

A sample is attached.

 

 

Labels (1)
1 Solution

Accepted Solutions
QFabian
MVP
MVP

Hi @sqlpuzzle , try doing this in your script :

 


[Data]:
LOAD Id,
Date(floor(date),'DD MMM YYYY') as date_month_year,
monthname(date) as month_year,
year(date) as year
FROM
data.csv
(txt, codepage is 1252, embedded labels, delimiter is ',', msq);

 

Greetings!! Fabián Quezada (QFabian)
did it work for you? give like and mark the solution as accepted.

View solution in original post

1 Reply
QFabian
MVP
MVP

Hi @sqlpuzzle , try doing this in your script :

 


[Data]:
LOAD Id,
Date(floor(date),'DD MMM YYYY') as date_month_year,
monthname(date) as month_year,
year(date) as year
FROM
data.csv
(txt, codepage is 1252, embedded labels, delimiter is ',', msq);

 

Greetings!! Fabián Quezada (QFabian)
did it work for you? give like and mark the solution as accepted.