Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
yadav_anil782
Creator II
Creator II

SET ANALYSIS

Dear Community ,

i want  two expression with set analysis -

1-  sum of "amount" column  with " condition is "account_code" = 4332

2- sum of "amount" with condition is "account_code" = 3301,3302,3303,3304. plz revert  so can get the correct value 

6 Replies
qlikmsg4u
Specialist
Specialist

=Sum({<account_code = {"4332"}>}amount)

=Sum({<account_code = {"3301","3302","3303","3304"}>}amount)

PrashantSangle

Hi,

1:

sum({<account_code={"4332"}>}amount)

2:

sum({<account_code={"3301","3302","3303","3304"}>}amount)

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
arulsettu
Master III
Master III

hi try this

1. sum({<account_code={'4332'}>}amount)

2. sum({<account_code={'3301','3302','3303','3304'}>}amount)

prma7799
Master III
Master III

Please check

=sum({<account_code = {4332}>}amount)

=sum({<account_code = {3301,3302,3303,3304}>}amount)

gautik92
Specialist III
Specialist III

=Sum({$<account_code={'4332'}>}amount)

=Sum({$<account_code={'3301','3302','3303','3304'}>}amount)

vikasmahajan

Hi,

Please find detailed set analysis syntax and examples using this document you can write your own expression.

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.