Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Join us at the Cloud Data and Analytics Tour! REGISTER TODAY
cancel
Showing results for 
Search instead for 
Did you mean: 
smilingjohn
Creator III
Creator III

exp

HI All ,

can someone explain this what is thi expression doing ? i have field (listbox) by nam iball within which there is only on string that is "perform"

basicall i need to show he number count for " perform" too like other brands  hence i copied this expression from where i copied this it has  3 data in that ( there is a listbox called Department and whitin department there are finance, HR, Acnt) but for iball there is only one that is perform . thereofre i need to edit this expression accordingly

=concat(

  {$<

  Iball = ,

  Hierarchy = P(Hierarchy_S)

  >

  } distinct

  if (Aggr(

  Count(DISTINCT

  {$<

  Date={">=$(StartDate)<=$(EndDate)"},

  Iball = ,

  Hierarchy = P(Hierarchy_S)

  >} Lead_UID)

  ,Iball) >0,

  Iball &'|'&

  Num(

  Aggr(

  Count(DISTINCT

  {$<

  Iball = ,

  Hierarchy = P(Hierarchy_S),

  Date={">=$(StartDate)<=$(EndDate)"}

  >} Lead_UID)

  , Iball)

  , '#,##0')

  &'|'&

  if(

  Aggr(

  Num(

  Count(DISTINCT

  {$<

  Iball = ,

  Hierarchy = P(Hierarchy_S)

  >} Lead_UID)

  , '#,##0')

  , Iball) > 0, 1,0)

  &'|'&

  if(wildmatch(GetFieldSelections(Iball),'*'&Iball&'*')>0, 1, 0)

  )

, ';')

0 Replies