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

Date in Chart

Hi Experts,

Can anyone help me with the below query.

I have Reporting Period in X axis and sale of mangos in Y axis.

I have 6 monthend data in the Reporting Period (eg: 201201,201112,201111,201110,201109,201108 {in YYYYMM format})

If I put the dates in a list box and select any particular date (for some other reason) , the graph is showing only that date which is very obvious!

I want the graph to show data for all the dates together even if i have selected any single date from the listbox.

Also please note I have defined 6 variables for the last 6 month end dates i.e

Var1 = 201201

Var2 = 201112

Var3 = 201111

Var4 = 201110

Var6 = 201109

Var6 = 201108

How to do it?

Pls help !

Thanks

Paul

7 Replies
CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     Can you post your expression?

     To exclude selection in particular field

     Sum({<DateField=>} Sales) This will exclude the selection in DateField in box.

Celambarasan

Not applicable
Author

You can try set analysis

your expression will be something like

=sum({<[Reporting Period]=>} saleofmangos)

which will ignore any selection made to reporting period

Not applicable
Author

Hi Gopal,

in the set analysis given by you what should I mention in "[Reporting Period] = ?? "

Hi Celambarasan,

In the expression I have 'saleofmangoes' .

CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     Don't mention anything leave simply as it is.

     =sum({<[Reporting Period]=>} saleofmangoes)

How you calculating for 6 months?

Celambarasan

Not applicable
Author

Hi Celambarasan,

The above set is not working

I am not calculating anything by any formulae. The sale of Mango data is readily avalable in the excel tht i have loaded in Qlikview.

The data in excel looks like this :

CountryReporting preiod Sale of Mangoes
Australia20120151
Australia20111262
Australia20111189
Australia20111099
Australia201109223
Australia201108112
Australia201201211
Australia20111259
Australia20111163
Australia20111065
Australia20110984
Australia20110857
China20120125
China20111264
China20111174
China20111085
China20110921
China20110835
China20120145
China20111253
China20111159
China20111087
China20110965
China20110884

Now I want show this data in graph in such a way that even if I select a single date in qlikview my graph will still show data for the last 6 months ( that is from 201201 to 201108)

Hope I can make you understand my requirement.

Thanks

Paul

Not applicable
Author

Keep Country & [Reporting preiod] in dimesion and expression as

  =sum({<[Reporting preiod]=>} [Sale of Mangoes])

CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     Then how your are displaying six months period?

Celambarasan