<?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 Re: How to lock the color code ? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-lock-the-color-code/m-p/2480336#M100685</link>
    <description>&lt;P&gt;I found hahaha it's very easy finally.&lt;BR /&gt;&lt;BR /&gt;Just add a master item to your measure ! You can find it under the expression of your measure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Great day all.&lt;/P&gt;</description>
    <pubDate>Mon, 09 Sep 2024 06:06:35 GMT</pubDate>
    <dc:creator>keliane</dc:creator>
    <dc:date>2024-09-09T06:06:35Z</dc:date>
    <item>
      <title>How to lock the color code ?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-lock-the-color-code/m-p/2479222#M100573</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm using a graph that's displaying [Net Income] for the year 2024, 2023 and 2022. I've put 3 variables (v2024, v2023, v2022) and when the this variable = 0, it doesn't display the net income for this year.&lt;/P&gt;
&lt;P&gt;The thing is, when the user want to display only 1 year and displaying multiple years after, the color code is setting automatically to '1 color'.&lt;BR /&gt;&lt;BR /&gt;Any Ideas ? Thanks !&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2024 03:43:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-lock-the-color-code/m-p/2479222#M100573</guid>
      <dc:creator>keliane</dc:creator>
      <dc:date>2024-09-03T03:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to lock the color code ?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-lock-the-color-code/m-p/2479231#M100574</link>
      <description>&lt;P&gt;Hi, maybe you can try 'lock' color on years, not variables, with color expression like: if(year=2024, red(), if(year=2023, green(), yellow()))&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2024 05:15:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-lock-the-color-code/m-p/2479231#M100574</guid>
      <dc:creator>justISO</dc:creator>
      <dc:date>2024-09-03T05:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to lock the color code ?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-lock-the-color-code/m-p/2479250#M100578</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;This expression is not working for me &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This is my expression I'm Using for Year 2024 :&lt;BR /&gt;&lt;BR /&gt;Sum({&amp;lt;[Committed Limit]-={'Yes'},[Report Date.autoCalendar.Year]={$(=Max(Year))}&amp;gt;} [Exposure])&lt;BR /&gt;/&lt;BR /&gt;Count(Distinct {&amp;lt;[Report Date.autoCalendar.Year]={$(=Max(Year))}&amp;gt;} [Report Date])&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thank you !&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2024 06:52:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-lock-the-color-code/m-p/2479250#M100578</guid>
      <dc:creator>keliane</dc:creator>
      <dc:date>2024-09-03T06:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to lock the color code ?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-lock-the-color-code/m-p/2479553#M100605</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Still didn't find out guys //&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 08:38:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-lock-the-color-code/m-p/2479553#M100605</guid>
      <dc:creator>keliane</dc:creator>
      <dc:date>2024-09-04T08:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to lock the color code ?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-lock-the-color-code/m-p/2479565#M100608</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/303350"&gt;@keliane&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;it is possibile that functions $(=Max(Year)) doesn't work?&lt;/P&gt;
&lt;P&gt;Try this instead of your expression:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Sum({&amp;lt;[Committed Limit]-={'Yes'},[Report Date.autoCalendar.Year]={'$(=Max(Year))'}&amp;gt;} [Exposure])
/
Count(Distinct {&amp;lt;[Report Date.autoCalendar.Year]={'$(=Max(Year))'}&amp;gt;} [Report Date])&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 09:12:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-lock-the-color-code/m-p/2479565#M100608</guid>
      <dc:creator>gomeri</dc:creator>
      <dc:date>2024-09-04T09:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to lock the color code ?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-lock-the-color-code/m-p/2479736#M100629</link>
      <description>&lt;P&gt;My expression is working well, the problem is just coming from the color expression. I'm using a line chart btw, with multiple variable. Here is my full expression (that is working perfectly for the LINES) :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If(&lt;BR /&gt;vShowCommited = 0,&lt;BR /&gt;//Show ONLY exposure for UNCommited Lines&lt;BR /&gt;Sum({&amp;lt;[Committed Limit]-={'Yes'},[Report Date.autoCalendar.Year]={'$(=Max(Year))'}&amp;gt;} [Exposure])&lt;BR /&gt;/&lt;BR /&gt;Count(Distinct {&amp;lt;[Report Date.autoCalendar.Year]={'$(=Max(Year))'}&amp;gt;} [Report Date])&lt;BR /&gt;,&lt;BR /&gt;If( &lt;BR /&gt;vShowUncommited = 0,&lt;BR /&gt;//Show ONLY exposure for UnCommited Lines&lt;BR /&gt;Sum({&amp;lt;[Committed Limit]-={'No'},[Report Date.autoCalendar.Year]={'$(=Max(Year))'}&amp;gt;} [Exposure])&lt;BR /&gt;/&lt;BR /&gt;Count(Distinct {&amp;lt;[Report Date.autoCalendar.Year]={'$(=Max(Year))'}&amp;gt;} [Report Date])&lt;BR /&gt;,&lt;BR /&gt;//Show Exposure for Commited+Uncommited&lt;BR /&gt;Sum({&amp;lt;[Report Date.autoCalendar.Year]={'$(=Max(Year))'}&amp;gt;} [Exposure])&lt;BR /&gt;/&lt;BR /&gt;Count(Distinct {&amp;lt;[Report Date.autoCalendar.Year]={'$(=Max(Year))'}&amp;gt;} [Report Date])))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's working well with the option 'Mulicoloured' but when I'm displaying only 1 years (With buttons affiliated to variable) the option 'Multicoulored' change automatically to 'Sing Colour' and not coming back. So that's why I need a colour expression.&lt;/P&gt;
&lt;P&gt;Thanks for the one who's willing to help me !&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 02:15:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-lock-the-color-code/m-p/2479736#M100629</guid>
      <dc:creator>keliane</dc:creator>
      <dc:date>2024-09-05T02:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to lock the color code ?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-lock-the-color-code/m-p/2479742#M100630</link>
      <description>&lt;P&gt;I tried this expression :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If(&lt;BR /&gt;Column(1), // For Measure 1 (Current year)&lt;BR /&gt;RGB(255, 0, 0), // Red for Measure 1&lt;/P&gt;
&lt;P&gt;If(&lt;BR /&gt;Column(2), // For Measure 2 (Previous year)&lt;BR /&gt;RGB(0, 255, 0), // Green for Measure 2&lt;/P&gt;
&lt;P&gt;If(&lt;BR /&gt;Column(3), // For Measure 3 (Two years ago)&lt;BR /&gt;RGB(0, 0, 255) // Blue for Measure 3&lt;BR /&gt;)))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And it gave me something very strange, seems like the measures are being mix together ? I join you a screenshot !&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-09-05 112547.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171298i12369797B755BB97/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-09-05 112547.png" alt="Screenshot 2024-09-05 112547.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 03:28:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-lock-the-color-code/m-p/2479742#M100630</guid>
      <dc:creator>keliane</dc:creator>
      <dc:date>2024-09-05T03:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to lock the color code ?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-lock-the-color-code/m-p/2480108#M100652</link>
      <description>&lt;P&gt;Update : Still didn't fid the answer&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2024 09:48:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-lock-the-color-code/m-p/2480108#M100652</guid>
      <dc:creator>keliane</dc:creator>
      <dc:date>2024-09-06T09:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to lock the color code ?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-lock-the-color-code/m-p/2480332#M100683</link>
      <description>&lt;P&gt;Still pending argghhhh&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2024 05:34:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-lock-the-color-code/m-p/2480332#M100683</guid>
      <dc:creator>keliane</dc:creator>
      <dc:date>2024-09-09T05:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to lock the color code ?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-lock-the-color-code/m-p/2480336#M100685</link>
      <description>&lt;P&gt;I found hahaha it's very easy finally.&lt;BR /&gt;&lt;BR /&gt;Just add a master item to your measure ! You can find it under the expression of your measure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Great day all.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2024 06:06:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-lock-the-color-code/m-p/2480336#M100685</guid>
      <dc:creator>keliane</dc:creator>
      <dc:date>2024-09-09T06:06:35Z</dc:date>
    </item>
  </channel>
</rss>

