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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
subba5511
Contributor
Contributor

Qlik logic not working

Hi Guys

i have  fields like Key, Program, Month, Year, Partno

i want to show more than one program part no's  monthly.

exp:  if i click on partno  required only overlapping more than 1 program  partno data.

applied below logic

=if(
sum(total Aggr(Count(distinct Program),Key,Program,Month,Year,Partno))
>1,1,0)

this logic showing correct values in qlik but when i download monthly data coming 0 values data into 1  values data  in excel.

is there any way to use backend.

thanks in advance

Regards,

Subba

 

Labels (2)
2 Replies
ajaykakkar93
Specialist III
Specialist III

hi,

can you sharew a sample data in csv so can take a look 

Please mark the correct replies as Solution. Regards, ARK
Profile| GitHub|YouTube|Extension|Mashup|Qlik API|Qlik NPrinting

wilsonwebbe
Contributor II
Contributor II

I would suggest you do the aggregation in the back end, then do a preceding load to add the flag of 1 or 0.
In the front end, you calculation becomes sum(FLAG). you can then either add an aggregation according to your preference.