<?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: Background color in button - exclude in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Background-color-in-button-exclude/m-p/1108631#M366919</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Sakir Ali&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This formula worked when I selected company code 100 and 110.&lt;/P&gt;&lt;P&gt;But I wanted it to worked if excluded 100 and 110.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Jun 2016 09:58:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-06-24T09:58:54Z</dc:date>
    <item>
      <title>Background color in button - exclude</title>
      <link>https://community.qlik.com/t5/QlikView/Background-color-in-button-exclude/m-p/1108628#M366916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi, QlikView Community&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have a simple dataset what you can look at in the excel file.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have one trouble I am trying to solve regarding background color in button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have a button that has actions that is supposed to select two Company Codes (100 and 110).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;And I use this formula below in the text button to change colors when Compmany Code 100 and 110.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=if(Concat(distinct [Company Code],',')='100,110',RGB(0, 240, 16), RGB(15, 48, 99))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;It works exactly like I want to. But I how can use to the similar if formula to change colors in the button when I exclude&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;company code 100 and 110.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I know I could use this formula below for this dataset but I want to exclude 100 and 110&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=if(Concat(distinct [Company Code],',')='120,130,140',RGB(0, 240, 16), RGB(15, 48, 99))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;regards Darri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2016 08:45:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-color-in-button-exclude/m-p/1108628#M366916</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-24T08:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Background color in button - exclude</title>
      <link>https://community.qlik.com/t5/QlikView/Background-color-in-button-exclude/m-p/1108629#M366917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;=if(Concat(distinct [Company Code],',')='120,130,140' and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Concat(distinct [Company Code],',')&amp;lt;&amp;gt;'100,110'&lt;/SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Concat(distinct [Company Code],',')&amp;lt;&amp;gt;'100,110',&lt;/SPAN&gt;RGB(0, 240, 16), RGB(15, 48, 99)))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2016 09:00:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-color-in-button-exclude/m-p/1108629#M366917</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-06-24T09:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: Background color in button - exclude</title>
      <link>https://community.qlik.com/t5/QlikView/Background-color-in-button-exclude/m-p/1108630#M366918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try this expression as well:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=IF(wildMatch(concat([Company Code],','),'*110*') AND wildMatch(concat([Company Code],','),'*100*'),RGB(0, 240, 16), RGB(15, 48, 99))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2016 09:17:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-color-in-button-exclude/m-p/1108630#M366918</guid>
      <dc:creator />
      <dc:date>2016-06-24T09:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: Background color in button - exclude</title>
      <link>https://community.qlik.com/t5/QlikView/Background-color-in-button-exclude/m-p/1108631#M366919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Sakir Ali&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This formula worked when I selected company code 100 and 110.&lt;/P&gt;&lt;P&gt;But I wanted it to worked if excluded 100 and 110.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2016 09:58:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-color-in-button-exclude/m-p/1108631#M366919</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-24T09:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Background color in button - exclude</title>
      <link>https://community.qlik.com/t5/QlikView/Background-color-in-button-exclude/m-p/1108632#M366920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Avinah R&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This formula worked exactly like I wanted. &lt;/P&gt;&lt;P&gt;But I am worried about when I have thousands company code and they are changing every month and it will a lot to work to update them.&lt;/P&gt;&lt;P&gt;Do you have any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards Darri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2016 10:01:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-color-in-button-exclude/m-p/1108632#M366920</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-24T10:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Background color in button - exclude</title>
      <link>https://community.qlik.com/t5/QlikView/Background-color-in-button-exclude/m-p/1108633#M366921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;push all those company code to variable and then compare the variable &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; that will make the process automated &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2016 10:48:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-color-in-button-exclude/m-p/1108633#M366921</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-06-24T10:48:43Z</dc:date>
    </item>
  </channel>
</rss>

