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: 
Matsa
Creator
Creator

set analysis-comparing 2 fields

Hi experts,

I need a help on set analysis.

I want to do set analysis based on camparing 2 fileds .

I need to count ,FILED1 when COUNT1=COUNT2 which is not change with selection.

I wrote this one:

='TOTAL :'&count(distinct{<FILED1={"=COUNT1=COUNT2"}>} FILED1)

would you please guide me how should I correct it.

Thank you in advance.

regards,

Matsa

Labels (1)
6 Replies
Saravanan_Desingh

Hi, I didn't see any issue with this expression. Please let me know what kind of issue you are facing.

Matsa
Creator
Creator
Author

Hi @Saravanan_Desingh ,it changes based on selection, But I need fixed value for all.

Regards,

Matsa

Saravanan_Desingh

Hi,

 

Can you please try this?

='TOTAL :'&count(distinct{1<FILED1={"=COUNT1=COUNT2"}>} FILED1)

Matsa
Creator
Creator
Author

hi @Saravanan_Desingh ,

it is strange but even with this 1 , it changes based on selection.

Regards,

Matsa

Saravanan_Desingh

Please post a sample app. That will help to dissect.

Brett_Bleess
Former Employee
Former Employee

I suspect the following Design Blog link may be helpful too:

https://community.qlik.com/t5/Qlik-Design-Blog/Set-Analysis-in-the-Aggr-function/ba-p/1463822

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.