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: 
Not applicable

Show only current months of Current Quarter

Hi All,

Can anyone suggest me solution for the below problem,

Calender Date Starts from =November 2013-October 2014

Quarter starts from Nov-Oct.

Q1=Nov-Jan,Q2=Feb-Apr,Q3=May-July,Q4=Aug-Oct.

How to keep a text box,Such that when user clicks on that,

it shows only current Quarter Months(i.e-As of Now(May,June,July) in the bar chart.

I have attached the qvw.

1 Solution

Accepted Solutions
tresesco
MVP
MVP

7 Replies
ashfaq_haseeb
Champion III
Champion III

Hi try below.

=Sum({<Date={'>=$(=QuarterStart(Max(Date)))<=$(=Max(Date))'}>} Sales)

Regards

ASHFAQ

tresesco
MVP
MVP

In a list box:

=Concat(distinct Month(If(InQuarter(Date,Today(),0),Date)), ',')

Update: as your quarter is self defined, try: =Concat(distinct Month(If(InQuarter(Date,Today(),0,2),Date)), ',')

Not applicable
Author

Hi Ashfaq,

It is not working.

Not applicable
Author

Hi Tresesco,

Can you please tell me where to implement your Calculation?

Am not able to get it in list box

tresesco
MVP
MVP

PFA

Not applicable
Author

If i Click on Current quarter text box, data should change for the below bar chart. Bar chart should show sales Data for , June,June end,july,july end, May,May end

tresesco
MVP
MVP

This? PFA