Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
smilingjohn
Specialist
Specialist

Color Code for Expression

Hi All, 

I have a requirement to color code  one of the column by using calculated dimension. 

I use this below simple calculated dimension which  works perfectly fine . 

If( Category=SubCategory,'G','R')  This simple works for me .. But I have to use this with one of the complex expression which is below ... How can I  achieve the above expression  in below mentioned expression 

=Aggr(count(Distinct {<Status-={'Progress','On Road','1Phase'},
Demand={'VeryHigh','Popular'}>}if(Order_Date<AcceptDate and (isnull(CLOSE_DATE) or CLOSE_DATE>=AcceptDate and (PRODUCT=(Product_Sub)or PRODUCT=('null'))),ID))
+
count(Distinct{<Status-={'Progress','On Road','1Phase'},
Demand={'VeryHigh','Popular'}>}
if(Order_Date>AcceptDate and (PRODUCT=(Product_Sub)or PRODUCT=('null')),ID)),Area,Caps,[Sub-Caps],AcceptDate) 

 

Can someone please help me with this 

 

Thanks

John

Labels (4)
2 Replies
smilingjohn
Specialist
Specialist
Author

Hi Expertise

Any suggestions on  my post 

 

Thanks

 

smilingjohn
Specialist
Specialist
Author

Hi Expertise I tried with everything that I could but this is not working for me ...

Any advice would really make a change 

 

Thanks in advance