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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Kpim
Partner - Contributor
Partner - Contributor

Quarter Field values be Q1 and Q2

Hi

I know this code : dual('Qrt' & Ceil(Month(Date)/3), Ceil(Month(Date)/3)) for quarters   but I want to create a line graph showing  the dates that fall in Quarter 1 and 2.

How can I do that ?

Labels (1)
1 Solution

Accepted Solutions
vinieme12
Champion III
Champion III

use your Date field as dimension and restrict data for Q1 and Q2 using Set Analysis

 

example

dimension  = Datefield

measure = sum({<quarterfield={'Q1','Q2'}>}Sales)

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.

View solution in original post

1 Reply
vinieme12
Champion III
Champion III

use your Date field as dimension and restrict data for Q1 and Q2 using Set Analysis

 

example

dimension  = Datefield

measure = sum({<quarterfield={'Q1','Q2'}>}Sales)

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.