<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Coloring a pie chart by expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Coloring-a-pie-chart-by-expression/m-p/2049638#M1222957</link>
    <description>&lt;P&gt;I have an expression to build a pie chart that compares dates to sort the data.&amp;nbsp; The expression to create the pie chart works fine, but when I try to use that same expression to build the color by expression, the color never changes.&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;=If((not isnull([SA Milestone Revised Date])) and (Date([SA Milestone Revised Date]))  &amp;gt;= Today() 
and isnull([SA Milestone Completed Date])
and
TimeStamp([SA Milestone Revised Date]) &amp;gt;= today()
and
Timestamp([SA Milestone Revised Date]) &amp;lt;= Today()+ $($(vMilestoneFilter))
, lightblue(), //f


If((not isnull([SA Milestone Initial Date]) and isnull([SA Milestone Revised Date])) and (Date([SA Milestone Initial Date])) &amp;gt;= Today() 
and isnull([SA Milestone Completed Date])
and [SA TOTAL_REQUIRED_VALUE]&amp;gt;=$($(vDollar_Threshold))
and
TimeStamp([SA Milestone Initial Date]) &amp;gt;= today()
and
Timestamp([SA Milestone Initial Date]) &amp;lt;= Today() + $($(vMilestoneFilter))

, lightblue(), //f
If(not isnull([SA Milestone Revised Date]) and (Date([SA Milestone Revised Date]) &amp;lt; Today() 
and isnull([SA Milestone Completed Date])
and [SA TOTAL_REQUIRED_VALUE]&amp;gt;=$($(vDollar_Threshold))
and $($(vMilestoneFilter)) = 7200
)
, Red(), //pd

If(not isnull([SA Milestone Revised Date]) and (Date([SA Milestone Revised Date]) &amp;lt; Today() 
and not isnull([SA Milestone Completed Date]) and Date([SA Milestone Completed Date] &amp;gt; Date([SA Milestone Revised Date]))
and [SA TOTAL_REQUIRED_VALUE]&amp;gt;=$($(vDollar_Threshold))
and $($(vMilestoneFilter)) = 7200
)
, green(), //cl

If((isnull([SA Milestone Revised Date]) and not isnull([SA Milestone Initial Date])) 
and (Date([SA Milestone Initial Date]) &amp;lt; Today() and isnull([SA Milestone Completed Date])
and [SA TOTAL_REQUIRED_VALUE]&amp;gt;=$($(vDollar_Threshold))
and $($(vMilestoneFilter)) = 7200
)
, Red(), //pd

If((isnull([SA Milestone Revised Date]) and not isnull([SA Milestone Initial Date])) 
and (Date([SA Milestone Initial Date]) &amp;lt; Today() and Date([SA Milestone Completed Date]) &amp;gt; Date([SA Milestone Initial Date])
and [SA TOTAL_REQUIRED_VALUE]&amp;gt;=$($(vDollar_Threshold))
and $($(vMilestoneFilter)) = 7200
)
, green(), //cl



If(not isnull([SA Milestone Completed Date])
and $($(vMilestoneFilter)) = 7200 
and [SA TOTAL_REQUIRED_VALUE]&amp;gt;=$($(vDollar_Threshold)), Yellow())))))))&lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 15 Mar 2023 15:47:19 GMT</pubDate>
    <dc:creator>Evan0211</dc:creator>
    <dc:date>2023-03-15T15:47:19Z</dc:date>
    <item>
      <title>Coloring a pie chart by expression</title>
      <link>https://community.qlik.com/t5/QlikView/Coloring-a-pie-chart-by-expression/m-p/2049638#M1222957</link>
      <description>&lt;P&gt;I have an expression to build a pie chart that compares dates to sort the data.&amp;nbsp; The expression to create the pie chart works fine, but when I try to use that same expression to build the color by expression, the color never changes.&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;=If((not isnull([SA Milestone Revised Date])) and (Date([SA Milestone Revised Date]))  &amp;gt;= Today() 
and isnull([SA Milestone Completed Date])
and
TimeStamp([SA Milestone Revised Date]) &amp;gt;= today()
and
Timestamp([SA Milestone Revised Date]) &amp;lt;= Today()+ $($(vMilestoneFilter))
, lightblue(), //f


If((not isnull([SA Milestone Initial Date]) and isnull([SA Milestone Revised Date])) and (Date([SA Milestone Initial Date])) &amp;gt;= Today() 
and isnull([SA Milestone Completed Date])
and [SA TOTAL_REQUIRED_VALUE]&amp;gt;=$($(vDollar_Threshold))
and
TimeStamp([SA Milestone Initial Date]) &amp;gt;= today()
and
Timestamp([SA Milestone Initial Date]) &amp;lt;= Today() + $($(vMilestoneFilter))

, lightblue(), //f
If(not isnull([SA Milestone Revised Date]) and (Date([SA Milestone Revised Date]) &amp;lt; Today() 
and isnull([SA Milestone Completed Date])
and [SA TOTAL_REQUIRED_VALUE]&amp;gt;=$($(vDollar_Threshold))
and $($(vMilestoneFilter)) = 7200
)
, Red(), //pd

If(not isnull([SA Milestone Revised Date]) and (Date([SA Milestone Revised Date]) &amp;lt; Today() 
and not isnull([SA Milestone Completed Date]) and Date([SA Milestone Completed Date] &amp;gt; Date([SA Milestone Revised Date]))
and [SA TOTAL_REQUIRED_VALUE]&amp;gt;=$($(vDollar_Threshold))
and $($(vMilestoneFilter)) = 7200
)
, green(), //cl

If((isnull([SA Milestone Revised Date]) and not isnull([SA Milestone Initial Date])) 
and (Date([SA Milestone Initial Date]) &amp;lt; Today() and isnull([SA Milestone Completed Date])
and [SA TOTAL_REQUIRED_VALUE]&amp;gt;=$($(vDollar_Threshold))
and $($(vMilestoneFilter)) = 7200
)
, Red(), //pd

If((isnull([SA Milestone Revised Date]) and not isnull([SA Milestone Initial Date])) 
and (Date([SA Milestone Initial Date]) &amp;lt; Today() and Date([SA Milestone Completed Date]) &amp;gt; Date([SA Milestone Initial Date])
and [SA TOTAL_REQUIRED_VALUE]&amp;gt;=$($(vDollar_Threshold))
and $($(vMilestoneFilter)) = 7200
)
, green(), //cl



If(not isnull([SA Milestone Completed Date])
and $($(vMilestoneFilter)) = 7200 
and [SA TOTAL_REQUIRED_VALUE]&amp;gt;=$($(vDollar_Threshold)), Yellow())))))))&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 15 Mar 2023 15:47:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coloring-a-pie-chart-by-expression/m-p/2049638#M1222957</guid>
      <dc:creator>Evan0211</dc:creator>
      <dc:date>2023-03-15T15:47:19Z</dc:date>
    </item>
  </channel>
</rss>

