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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
jasonseril
Creator
Creator

if to set analysis

hi to all,

can anybody change the expression below to set analysis? this is making the document's performance slow,

if

(

(

(

????='???' and ??????='??', num(sum({$<CityGroup1 = {'??'} >} CUST_CNT)/10000, '#,##0'),

if(????='???' and ??????='??', num(sum({$<CityGroup1 = {'??'} >} CUST_CNT)/sum({$<CityGroup1 = {'*'} >} CUST_CNT)*100,'#.##') & ' %',

thanks in advance, more power,



jason



Labels (1)
1 Reply
Miguel_Angel_Baeyens
Support
Support


jasonseril wrote:????='???' and ??????='??',


Hi Jason,

Are green values variable names o fields? In this second case, try something like

Num(Sum({ $< CityGroup1 = {'...'}, green={'blue'}, green={'blue'} > }))


Unfortunately, quoting your charset gives me some wrong characters in the reply, so change my "green" for your expressions in green and "blue" for yours in blue.