<?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 based on multiple fields or specific text in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Background-Color-based-on-multiple-fields-or-specific-text/m-p/913033#M316787</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, i usually don't forget important details but i can see i forgot one thing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Dimension is not just [StoreName], it is: StoreNumber &amp;amp; '-' &amp;amp; StoreName, so i really don't know the syntax for using the match function on this calculated dimension, so thats why i just went with the wildmatch, but now its an issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Aug 2015 08:21:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-08-06T08:21:37Z</dc:date>
    <item>
      <title>Background Color based on multiple fields or specific text</title>
      <link>https://community.qlik.com/t5/QlikView/Background-Color-based-on-multiple-fields-or-specific-text/m-p/913030#M316784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qliksperts!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to build a number of charts from which a storemanager can click on store X in chart 1 and then this store will be highlighted in all the other charts. This is working just fine with the background colour expression below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=if(wildmatch(GetFieldSelections([StoreName]),'*'&amp;amp;only({1}[StoreName]) ) ,rgb(100,255,100))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;However, some of the storenames are very similar (' XXX Webshop' and 'Webshop' as an example), and so several stores are highlighted because of the wildmatch search. Can i alter the expression above to search for the exact same text, hence not highlighting 'Webshop' when 'XXX Webshop' is being clicked on?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An alternative could be to make something like the below expression although i know the syntax wont work.. The StoreNumber is not unique (although it really ought to be) so i can't just use that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(wildmatch(GetFieldSelections([StoreName]),'*'&amp;amp;only({1}[StoreName]) )&lt;/P&gt;&lt;P&gt;AND&lt;/P&gt;&lt;P&gt;wildmatch(GetFieldSelections([StoreNumber]),'*'&amp;amp;only({1}[StoreNumber]) )&lt;/P&gt;&lt;P&gt;,rgb(100,255,100))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any good suggestions out there? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANKS A LOT! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 08:13:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-Color-based-on-multiple-fields-or-specific-text/m-p/913030#M316784</guid>
      <dc:creator />
      <dc:date>2015-08-06T08:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: Background Color based on multiple fields or specific text</title>
      <link>https://community.qlik.com/t5/QlikView/Background-Color-based-on-multiple-fields-or-specific-text/m-p/913031#M316785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use match instead of wildmatch &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 08:17:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-Color-based-on-multiple-fields-or-specific-text/m-p/913031#M316785</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2015-08-06T08:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Background Color based on multiple fields or specific text</title>
      <link>https://community.qlik.com/t5/QlikView/Background-Color-based-on-multiple-fields-or-specific-text/m-p/913032#M316786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;how is only working for you??? If StoreName has multiple rows of data, I would expect it to give null ( - ). When you put this in a text box object -&amp;gt; Only({1}StoreName) do you see value getting populated???&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 08:21:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-Color-based-on-multiple-fields-or-specific-text/m-p/913032#M316786</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-06T08:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: Background Color based on multiple fields or specific text</title>
      <link>https://community.qlik.com/t5/QlikView/Background-Color-based-on-multiple-fields-or-specific-text/m-p/913033#M316787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, i usually don't forget important details but i can see i forgot one thing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Dimension is not just [StoreName], it is: StoreNumber &amp;amp; '-' &amp;amp; StoreName, so i really don't know the syntax for using the match function on this calculated dimension, so thats why i just went with the wildmatch, but now its an issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 08:21:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-Color-based-on-multiple-fields-or-specific-text/m-p/913033#M316787</guid>
      <dc:creator />
      <dc:date>2015-08-06T08:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: Background Color based on multiple fields or specific text</title>
      <link>https://community.qlik.com/t5/QlikView/Background-Color-based-on-multiple-fields-or-specific-text/m-p/913034#M316788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try =if(getselectedcount(StoreName) and max(match(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;StoreName,&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;StoreName&lt;/SPAN&gt;)),&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;rgb(100,255,100)&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 08:27:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-Color-based-on-multiple-fields-or-specific-text/m-p/913034#M316788</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-08-06T08:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: Background Color based on multiple fields or specific text</title>
      <link>https://community.qlik.com/t5/QlikView/Background-Color-based-on-multiple-fields-or-specific-text/m-p/913035#M316789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;look at the attach file &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 08:32:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-Color-based-on-multiple-fields-or-specific-text/m-p/913035#M316789</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2015-08-06T08:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Background Color based on multiple fields or specific text</title>
      <link>https://community.qlik.com/t5/QlikView/Background-Color-based-on-multiple-fields-or-specific-text/m-p/913036#M316790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats the trick - dont actually know how i ended up with that expression in the first case. Simply by removing the only() i got the desired result... Not quiiite sure what/how/why but i'm a happy camper now &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(wildmatch(GetFieldSelections([StoreName]),&lt;/P&gt;&lt;P&gt;//'*'&amp;amp;only({1}&lt;/P&gt;&lt;P&gt;[StoreName]) &lt;/P&gt;&lt;P&gt;//)&lt;/P&gt;&lt;P&gt;,rgb(xxx,xxx,xxx))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 08:37:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-Color-based-on-multiple-fields-or-specific-text/m-p/913036#M316790</guid>
      <dc:creator />
      <dc:date>2015-08-06T08:37:56Z</dc:date>
    </item>
  </channel>
</rss>

