Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
shamiul_islam
Contributor III
Contributor III

Set Analysis in Dimension

I want to use set analysis in dimension where the dimension is not changed for selecting the date. I used an expression which is given below:

Aggr(Only({<Year-=>} Stype), Stype)

Aggr(Only({<Year=>} Stype), Stype)

Aggr(Only({<Year>} Stype), Stype)

But these three expressions are not working.

If Anyone know about this help me. Thanks in advance 🙂

Labels (2)
5 Replies
Arthur_Fong
Partner - Specialist III
Partner - Specialist III

You are selecting Date or Year?

This should work if your goal is to ignore Year selection in your expression.

Aggr(Only({<Year=>} Stype), Stype)

If you want to ignore date,try adding date into the expression as well.

Aggr(Only({<Year=,date=>} Stype), Stype)

shamiul_islam
Contributor III
Contributor III
Author

I was trying those two fomula also, but none of them were working Jkfong93
Arthur_Fong
Partner - Specialist III
Partner - Specialist III

Do you have a sample app?

Brett_Bleess
Former Employee
Former Employee

Per Arthur's request, are you able to provide any sort of sample app here, believe that is going to be necessary for you to receive further help on things.  If you figured things out on your own, please consider posting what you did, and then mark that post using the Accept as Solution button so others will know what worked.  If you can post a sample app or further details, perhaps someone will be able to offer further guidance.  Outside that, the only thing I have to potentially help is the follow Design Blog link on Set Analysis that has some other links at the bottom of it as well that may be helpful.

https://community.qlik.com/t5/Qlik-Design-Blog/A-Primer-on-Set-Analysis/ba-p/1468344

The Dates in Set Analysis link at the bottom of the post may be the more pertinent link, just FYI.

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.
sunny_talwar

I think the issue is that ignoring a filter within Dimension doesn't really control the chart. In order to do this, you will need to ignore selection in the expression.... So something like this

Dimension

Aggr(Stype, Stype)

or just

Stype

Expression

Sum({<Year>}Measure)