<?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 Grey chart colors - not able to ignore date selections in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Grey-chart-colors-not-able-to-ignore-date-selections/m-p/1938301#M77333</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have a dashboard showing debt balances per selected date.&lt;/P&gt;
&lt;P&gt;I also have a chart showing the debt balance from that day and until maturity date.&lt;/P&gt;
&lt;P&gt;I am not able to get the colors into the chart, other than the selected date...&lt;/P&gt;
&lt;P&gt;I make selections like this:&lt;/P&gt;
&lt;P&gt;Year: 2022&lt;/P&gt;
&lt;P&gt;Month: Mar&lt;/P&gt;
&lt;P&gt;Day: 31&lt;/P&gt;
&lt;P&gt;CurrencyDate: 31.03.2022&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And in my chart I have Date as Stack, I have currency-type as Area, and as measure I have this set analysis:&lt;/P&gt;
&lt;P&gt;=Num(&lt;BR /&gt;Sum({&amp;lt;PaymentType= {'Balance'}&lt;BR /&gt;,_SecurityCategory= {'1'}&lt;BR /&gt;, [Security Year]= &lt;BR /&gt;, [Security Month]=&lt;BR /&gt;, [Security Day]=&lt;BR /&gt;, [Security Date]= {"&amp;gt;=$(=Date(Min([Security Date])))"} &amp;gt;} $(vAmount_in_Local_or_USD))/1000000&lt;BR /&gt;, '#&amp;nbsp;##0,00M')&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyone has any idea how I can solve this? I have tried so many different combinations, nothing works.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;I would like the chart to show colors as if I selected from 31.03.2022 and to the last date....&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="espen31415_0-1654081709757.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/80794iED5F553A6A1E4381/image-size/medium?v=v2&amp;amp;px=400" role="button" title="espen31415_0-1654081709757.png" alt="espen31415_0-1654081709757.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Jun 2022 11:10:40 GMT</pubDate>
    <dc:creator>espen31415</dc:creator>
    <dc:date>2022-06-01T11:10:40Z</dc:date>
    <item>
      <title>Grey chart colors - not able to ignore date selections</title>
      <link>https://community.qlik.com/t5/App-Development/Grey-chart-colors-not-able-to-ignore-date-selections/m-p/1938301#M77333</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have a dashboard showing debt balances per selected date.&lt;/P&gt;
&lt;P&gt;I also have a chart showing the debt balance from that day and until maturity date.&lt;/P&gt;
&lt;P&gt;I am not able to get the colors into the chart, other than the selected date...&lt;/P&gt;
&lt;P&gt;I make selections like this:&lt;/P&gt;
&lt;P&gt;Year: 2022&lt;/P&gt;
&lt;P&gt;Month: Mar&lt;/P&gt;
&lt;P&gt;Day: 31&lt;/P&gt;
&lt;P&gt;CurrencyDate: 31.03.2022&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And in my chart I have Date as Stack, I have currency-type as Area, and as measure I have this set analysis:&lt;/P&gt;
&lt;P&gt;=Num(&lt;BR /&gt;Sum({&amp;lt;PaymentType= {'Balance'}&lt;BR /&gt;,_SecurityCategory= {'1'}&lt;BR /&gt;, [Security Year]= &lt;BR /&gt;, [Security Month]=&lt;BR /&gt;, [Security Day]=&lt;BR /&gt;, [Security Date]= {"&amp;gt;=$(=Date(Min([Security Date])))"} &amp;gt;} $(vAmount_in_Local_or_USD))/1000000&lt;BR /&gt;, '#&amp;nbsp;##0,00M')&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyone has any idea how I can solve this? I have tried so many different combinations, nothing works.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;I would like the chart to show colors as if I selected from 31.03.2022 and to the last date....&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="espen31415_0-1654081709757.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/80794iED5F553A6A1E4381/image-size/medium?v=v2&amp;amp;px=400" role="button" title="espen31415_0-1654081709757.png" alt="espen31415_0-1654081709757.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2022 11:10:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Grey-chart-colors-not-able-to-ignore-date-selections/m-p/1938301#M77333</guid>
      <dc:creator>espen31415</dc:creator>
      <dc:date>2022-06-01T11:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: Grey chart colors - not able to ignore date selections</title>
      <link>https://community.qlik.com/t5/App-Development/Grey-chart-colors-not-able-to-ignore-date-selections/m-p/1938660#M77355</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/163103"&gt;@espen31415&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you have a colour expression on your chart?&lt;/P&gt;
&lt;P&gt;If so, what I expect is happening is that the set analysis on your measure is showing values outside of the natural selections. The colour expression probably doesn't have the same set analysis, so outside of the selected values is appearing grey.&lt;/P&gt;
&lt;P&gt;What you therefore need to do is ignore selections when calculating the colours, which you can do with a set analysis set of&amp;nbsp;&lt;STRONG&gt;{1}&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;That's a bit of a guess as to what is happening, but it is certainly something that I have seen before.&lt;/P&gt;
&lt;P&gt;Hope that helps.&lt;BR /&gt;Steve&lt;/P&gt;
&lt;P&gt;Hope it helps.&lt;/P&gt;
&lt;P&gt;Steve&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2022 22:23:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Grey-chart-colors-not-able-to-ignore-date-selections/m-p/1938660#M77355</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2022-06-01T22:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: Grey chart colors - not able to ignore date selections</title>
      <link>https://community.qlik.com/t5/App-Development/Grey-chart-colors-not-able-to-ignore-date-selections/m-p/1938941#M77383</link>
      <description>&lt;P&gt;Hi Steve,&lt;/P&gt;
&lt;P&gt;Thanks for the suggestion, i do use colour by dimension, the same if statemnt as I use in Area:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="espen31415_0-1654170838700.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/80891i2C2D941BCF17E3D1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="espen31415_0-1654170838700.png" alt="espen31415_0-1654170838700.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Do you see if this could be any reason for my color problems?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Br Espen&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2022 11:55:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Grey-chart-colors-not-able-to-ignore-date-selections/m-p/1938941#M77383</guid>
      <dc:creator>espen31415</dc:creator>
      <dc:date>2022-06-02T11:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: Grey chart colors - not able to ignore date selections</title>
      <link>https://community.qlik.com/t5/App-Development/Grey-chart-colors-not-able-to-ignore-date-selections/m-p/1939006#M77391</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/163103"&gt;@espen31415&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The expression you have in the screenshot, is that the dimension code or is it the colour expression code?&lt;/P&gt;
&lt;P&gt;The issue may be that you have too many data points in the chart. Can you try changing the dimension to month rather than date to see if that then works correctly.&lt;/P&gt;
&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2022 14:23:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Grey-chart-colors-not-able-to-ignore-date-selections/m-p/1939006#M77391</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2022-06-02T14:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: Grey chart colors - not able to ignore date selections</title>
      <link>https://community.qlik.com/t5/App-Development/Grey-chart-colors-not-able-to-ignore-date-selections/m-p/1941570#M77576</link>
      <description>&lt;P&gt;Hi Steve,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry for my late response.&lt;/P&gt;
&lt;P&gt;You are right about the amount of datapoints could be one of the reasons for those grey gaps.&amp;nbsp; I tried a solution adding "start of each month" in my set analysis, and then it seems to be all good.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, I am not able to modify the colors by expression. It seems that if I choose by dimension, and select "Dimension 2" the colors are set by default.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="espen31415_3-1654772489711.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/81362i6B7E27514B0A0630/image-size/medium?v=v2&amp;amp;px=400" role="button" title="espen31415_3-1654772489711.png" alt="espen31415_3-1654772489711.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="espen31415_2-1654772382108.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/81360i3BDC461D93BC3DC5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="espen31415_2-1654772382108.png" alt="espen31415_2-1654772382108.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I choose to select excatly the same dimension, by it's name, the chart becomes grey..&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="espen31415_4-1654772513551.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/81363iEAC210EAD2608CDD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="espen31415_4-1654772513551.png" alt="espen31415_4-1654772513551.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="espen31415_5-1654772526805.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/81364i3E94BC3535FF880F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="espen31415_5-1654772526805.png" alt="espen31415_5-1654772526805.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is what I have in dimesions and measure:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="espen31415_6-1654772598350.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/81366iB7AEAD390E602AF3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="espen31415_6-1654772598350.png" alt="espen31415_6-1654772598350.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="espen31415_7-1654772617982.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/81367iF46008E1E365D6AB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="espen31415_7-1654772617982.png" alt="espen31415_7-1654772617982.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="espen31415_8-1654772665726.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/81368iA39797999BAD4DB3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="espen31415_8-1654772665726.png" alt="espen31415_8-1654772665726.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If i try to use color by expression as below, it gets all yellow as if no dimension exists:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="espen31415_9-1654772735988.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/81369i50F45C180A3DF811/image-size/medium?v=v2&amp;amp;px=400" role="button" title="espen31415_9-1654772735988.png" alt="espen31415_9-1654772735988.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="espen31415_11-1654772949895.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/81371i118FB6C3427BDF33/image-size/medium?v=v2&amp;amp;px=400" role="button" title="espen31415_11-1654772949895.png" alt="espen31415_11-1654772949895.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Espen&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 11:11:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Grey-chart-colors-not-able-to-ignore-date-selections/m-p/1941570#M77576</guid>
      <dc:creator>espen31415</dc:creator>
      <dc:date>2022-06-09T11:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Grey chart colors - not able to ignore date selections</title>
      <link>https://community.qlik.com/t5/App-Development/Grey-chart-colors-not-able-to-ignore-date-selections/m-p/1942117#M77604</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/163103"&gt;@espen31415&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Colours on multi-demensional line charts can be problematic.&lt;/P&gt;
&lt;P&gt;Have you tried having a Master Dimension for the stack and then set the colours on the Master Dimension values and then drop it on the chart, selecting Color By?&lt;/P&gt;
&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 11:11:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Grey-chart-colors-not-able-to-ignore-date-selections/m-p/1942117#M77604</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2022-06-10T11:11:14Z</dc:date>
    </item>
  </channel>
</rss>

