Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

line chart expression which involves aggregation - not ignoring date selection

Hi All,

I am new to Qlikview and I hope someone helps me with this issue.

I am trying to get people count for all the Dates in a Line chart but I am not able to find a right expression which involves aggregation.

I tried below expression:

                                        Sum(Aggr(FldPeopleCount,  Year, Department, country )) => Peoplecount

This expression gives below line chart. A blue dot for  FldPeopleCount (Aggregated) only for the current date(DateField) - 15/03/2013.

Untitled1.png

But I want Peoplecount for all the dates with aggregation for FldPeopleCount. Below is the required line chart which shows data for all the dates:

Untitled.png

I have been trying many expressions but I am not able to find a correct expression which ignores date selection and gives the above graph. 

Please help me with this expression. Thanks in advance!

1 Solution

Accepted Solutions
udit_kumar_sana
Creator II
Creator II

Hi ,

Please find here below the attached  file ,for your issue.

Regards,

Udit

View solution in original post

11 Replies
Not applicable
Author

Any suggestions ? I tried this expression. It did not work.

sum(Aggr(Sum({<DateFeild=>})FldPeopleCount), Year, Department, Country)

Not applicable
Author

Hi dshreegiri,

try this expression,

sum(aggr(sum(FldpeopleCount)),datefield,year,department,country)

Not applicable
Author

Hi nirmal,

Thanks for the reply.

It did not work. I want to ignore date selection. Your expression shows data for only the selected date.

Not applicable
Author

ok try this

sum(Aggr(Sum({$<DateFeild=>})FldPeopleCount), Year, Department, Country)

Not applicable
Author

dts not working

Not applicable
Author

Can you upload your sample application

Not applicable
Author

I dnt think I can upload that application it has some confidential information.

Not applicable
Author

Iam asking just sample application

Not applicable
Author

Sample application