Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
sibin_jacob
Creator III
Creator III

QlikView Expression/Script Issue

Hi All,

I want to convert the below chart expression logic into QlikView script.

=Count({$<_TargetCustomer={1}>} DISTINCT
Aggr(
If( (
Count({$<_TargetCustomer={1},_DataSource_F_Call={1}>} DISTINCT CPA_Contact_Cnt)
<
sum({$<_TargetCustomer={1},_DataSource_F_Target={1}>} Contact_Cycle_Plan_Qty) * 0.8 
and sum({$<_TargetCustomer={1},_DataSource_F_Target={1}>} Contact_Cycle_Plan_Qty) > 0)
,
CPA_Customer_Cnt, Null()),CPA_Customer_Cnt,[Cycle Name],Segmentation))


All the columns in the above expression are available in a single table.

I need to add all these condition into the QLikView script and keep the value into a single column.

is it possible to add these expression logic to script level?


The dimension for this chart is Month, Month column also available in the same table.


The above expression is working fine and getting the result correctly.


Can you please help me on this?


Thanks,

Sibin Jacob. C

0 Replies