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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Moti_Mach
Contributor
Contributor

Using Variable on set analsys

Hallo,

i'm trying to build expression using set analsys for specific variable value but didnt succeed.

i didnt find anything similar on furom:

for ex:

i want to sum( Amount_USD) only for vLineDesc='A':

i try this but its not working....  

Sum(${<$(vLineDesc)={'A'}>}Amount_USD)

i'll appriciate your help.

moti.

 

Labels (1)
  • Other

4 Replies
lironbaram
Partner - Master III
Partner - Master III

hi 

variable aren't connected to the data

so using them in set analysis want do anything for your calculations 

set analysis is practically making selections in the data , 

so you need to use a field in your set analysis

Sue_Macaluso
Community Manager
Community Manager

Hi @Moti_Mach Are you using QlikView or Qlik Sense? I would like to move your post into the correct product forum. 

Did you find a solution to your question? Mark the solution as accepted : and if you found it useful, press the like button!
Moti_Mach
Contributor
Contributor
Author

HI,

Qlikview.

 

tx

 

moti

Brett_Bleess
Former Employee
Former Employee

Moti, have a look at the following Design Blog post, there are subsequent links to other posts at the bottom of this one, just FYI, hopefully this may be helpful to you in getting things sorted out on this one.  You may need to attach a sample application otherwise, so folks can see exactly what you are doing in relation to your data model and the variable in question.

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

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.