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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Keitaru
Creator II
Creator II

Color Pivot Table

Having issues with my pivot table. want it to be able to be completely colored based on the logic below

if(Dimensionality()<>0 and secondaryDimensionality()<>0,
If(interval([TRO Date]-Today(),'d') <= 0,lightred(),
IF(interval([TRO Date]-Today(),'d') > 0 and interval([TRO Date]-Today(),'d') < 60 ,rgb(255,190,0),
IF(interval([TRO Date]-today(),'d') >= 60,lightgreen()))))

3 logic are Horizontal Axis (TRO Period):

  1. TRO Date is in the past (Red)
  2. TRO Date to expire in 60 days (Amber)
  3. TRO Date that 60 days and beyond (Green) 

However, I'm unsure why not all the fields are being colored. The expression seems correct but i'm not entirely sure why the pivot is partially colored.pivot.PNG

 

 

Labels (1)
0 Replies