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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
rcorcoran
Creator
Creator

chart drill through

Hi

another query on a chart.

The chart attached is showing data this year v previous 2 years but it is showing a total for all areas.

I need it to show total for each area if they are selected from the area list box.

Any help appreciated

R

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

Your expression: =Sum({1<[ImmVacc 117] ={12},ReferredYYYY={'$(=Max(ReferredYYYY))'}>}ActualValue)

and [ImmVacc 117] seems to be blank in 2015 and you are using the set analysis statement to include only [ImmVacc 117] which equal 12.

Error.PNG

Otherwise to let your selections in Area work you can do something like this:

=Sum({1<[ImmVacc 117] ={12},ReferredYYYY={'$(=Max(ReferredYYYY))'}, RDODesc = p(RDODesc)>}ActualValue)

HTH

Best,

Sunny

View solution in original post

4 Replies
rubenmarin
MVP
MVP

Hi R, you can add a TOTAL clause per RDODesc and remove the {1} that ignores all selections, ie:

=Sum(TOTAL <RDODesc> {<[ImmVacc 117] ={12},ReferredYYYY={'$(=Max(ReferredYYYY)-1)'}>}ActualValue)

sunny_talwar
MVP
MVP

Your expression: =Sum({1<[ImmVacc 117] ={12},ReferredYYYY={'$(=Max(ReferredYYYY))'}>}ActualValue)

and [ImmVacc 117] seems to be blank in 2015 and you are using the set analysis statement to include only [ImmVacc 117] which equal 12.

Error.PNG

Otherwise to let your selections in Area work you can do something like this:

=Sum({1<[ImmVacc 117] ={12},ReferredYYYY={'$(=Max(ReferredYYYY))'}, RDODesc = p(RDODesc)>}ActualValue)

HTH

Best,

Sunny

rcorcoran
Creator
Creator
Author

Thanks Sunindia that works great

R

sunny_talwar
MVP
MVP

I am glad it worked.

Best,

Sunny