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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
upaliwije
Creator II
Creator II

set analysis

Ii have pivot table with 3  dimensions namely dept,year,region. I want a set expression to calculate sum of sales where dept should remain static and other two dimension shold change as per selections. Pls some help me

Labels (2)
3 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

That's not possible if you use dept as a dimension in your pivot table. The easiest fix is to remove dept as dimension from your pivot table and add a listbox with dept as field. Then simply select the dept value you're interested in in the listbox. No set analysis necessary. Or if you do not want to use a listbox you can hardcode the dept in a set analysis expression. Something like sum({<dept={'MyDept1'}>} amount).


talk is cheap, supply exceeds demand
s_uhlig
Partner - Creator
Partner - Creator

Hi,

something like:

sum({1<year=P(),region=P()>} sales)

or

sum({<dept=>} sales)

may help and by the way: this is the wrong group to ask such questions.

Regards

Sven

upaliwije
Creator II
Creator II
Author

Tks it is working