<?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 Setting color based on value being selectable ( date range selection/navigation ) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Setting-color-based-on-value-being-selectable-date-range/m-p/1071762#M524145</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm drawing a bar chart with date as dimension and sum( {1} Data.Counter ) as expression, to get a full view of item count over time.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="img_1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/115249_img_1.png" style="height: 169px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;I'd like to set the color of currently selected dates, like this&lt;/P&gt;&lt;P&gt;&lt;IMG alt="img_2.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/115250_img_2.png" style="height: 169px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;I know I can set color in the properties of the expression&lt;/P&gt;&lt;P&gt;&lt;IMG alt="img_3.png" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/115251_img_3.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;But I can't figure out the if -expression I should use. Does anyone know how to achieve this? What I'm looking for is something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="java" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14558812270018077" jivemacro_uid="_14558812270018077"&gt;
&lt;P&gt;if ( CurrentDate IN SelectedDates, RGB(0, 0, 0), RGB(255, 255, 255) )&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Feb 2016 11:28:16 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-02-19T11:28:16Z</dc:date>
    <item>
      <title>Setting color based on value being selectable ( date range selection/navigation )</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-color-based-on-value-being-selectable-date-range/m-p/1071762#M524145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm drawing a bar chart with date as dimension and sum( {1} Data.Counter ) as expression, to get a full view of item count over time.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="img_1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/115249_img_1.png" style="height: 169px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;I'd like to set the color of currently selected dates, like this&lt;/P&gt;&lt;P&gt;&lt;IMG alt="img_2.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/115250_img_2.png" style="height: 169px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;I know I can set color in the properties of the expression&lt;/P&gt;&lt;P&gt;&lt;IMG alt="img_3.png" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/115251_img_3.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;But I can't figure out the if -expression I should use. Does anyone know how to achieve this? What I'm looking for is something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="java" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14558812270018077" jivemacro_uid="_14558812270018077"&gt;
&lt;P&gt;if ( CurrentDate IN SelectedDates, RGB(0, 0, 0), RGB(255, 255, 255) )&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 11:28:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-color-based-on-value-being-selectable-date-range/m-p/1071762#M524145</guid>
      <dc:creator />
      <dc:date>2016-02-19T11:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: Setting color based on value being selectable ( date range selection/navigation )</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-color-based-on-value-being-selectable-date-range/m-p/1071763#M524146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could try something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(YourDateField, red())&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; or maybe&lt;/P&gt;&lt;P&gt;if(Year = getfieldselections(Year), red())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 12:24:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-color-based-on-value-being-selectable-date-range/m-p/1071763#M524146</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-02-19T12:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Setting color based on value being selectable ( date range selection/navigation )</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-color-based-on-value-being-selectable-date-range/m-p/1071764#M524147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would use something like &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Count(Date)&amp;gt;0, LightGreen(), LightGrey())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 12:30:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-color-based-on-value-being-selectable-date-range/m-p/1071764#M524147</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2016-02-19T12:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: Setting color based on value being selectable ( date range selection/navigation )</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-color-based-on-value-being-selectable-date-range/m-p/1071765#M524148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or, may be even like,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; If(&lt;STRONG&gt;Date=Date&lt;/STRONG&gt;, LightGreen(), LightGrey())&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Edit: Well,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Marcus's:&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(&lt;STRONG&gt;YourDateField&lt;/STRONG&gt;, red())&lt;/SPAN&gt;&amp;nbsp; is even simpler.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 12:40:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-color-based-on-value-being-selectable-date-range/m-p/1071765#M524148</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-02-19T12:40:23Z</dc:date>
    </item>
  </channel>
</rss>

