<?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: Change Sheet Colour Background using GetCurrentSelections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Change-Sheet-Colour-Background-using-GetCurrentSelections/m-p/837702#M530723</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Piet,&lt;/P&gt;&lt;P&gt;as iam new to qlikview could u explain steps to do this .not able to understand from where colour is allocated and in list box how action is performing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Jun 2015 10:01:08 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-06-11T10:01:08Z</dc:date>
    <item>
      <title>Change Sheet Colour Background using GetCurrentSelections</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Sheet-Colour-Background-using-GetCurrentSelections/m-p/837691#M530712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure if this is the right way to achieve this, but I am trying to change the background colour of a sheet depending on a particular selection within a dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently using - =if(GetCurrentSelections(SurveyQuestions)='TEXT TO LOOK FOR',yellow(),white()) and although I know the current selection text is correct (am throwing it out to a textbox), the colour of the sheet doesn't change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps there are better ways to achieve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Immy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 13:53:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Sheet-Colour-Background-using-GetCurrentSelections/m-p/837691#M530712</guid>
      <dc:creator>imtiaz_ullah</dc:creator>
      <dc:date>2015-06-05T13:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Change Sheet Colour Background using GetCurrentSelections</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Sheet-Colour-Background-using-GetCurrentSelections/m-p/837692#M530713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Figured it out... GetFieldSelections!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 14:04:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Sheet-Colour-Background-using-GetCurrentSelections/m-p/837692#M530713</guid>
      <dc:creator>imtiaz_ullah</dc:creator>
      <dc:date>2015-06-05T14:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Change Sheet Colour Background using GetCurrentSelections</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Sheet-Colour-Background-using-GetCurrentSelections/m-p/837693#M530714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you really sure?? When you use GetCurrentSlections the text I Aspect is "SurveyQuestions: TEXT TO LOOK FOR"&lt;/P&gt;&lt;P&gt;If you have takeb that into account, check capitalisation, qlikview is case sensitive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can better use&lt;/P&gt;&lt;P&gt;GetFieldSelections(SurveyQuestions)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you don't have the extra text'. A working example is attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 14:05:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Sheet-Colour-Background-using-GetCurrentSelections/m-p/837693#M530714</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2015-06-05T14:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: Change Sheet Colour Background using GetCurrentSelections</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Sheet-Colour-Background-using-GetCurrentSelections/m-p/837694#M530715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah thanks Piet - I realised that in the end.&lt;/P&gt;&lt;P&gt;I have managed to get it work, but actually some odd behaviour still exists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Essentially I have an image which when clicked I want it to apply a filter on the sheet. This in turn does "stuff", one of which is to change the colour background.&lt;/P&gt;&lt;P&gt;The only way I can see to do this is by adding an action to SELECT IN FIELD. Whilst this works and filters the sheet, the colour doesn't actually change. I have to actually select it within the list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's almost like Qlik isn't simulating an actual click on the record in the list box when it does the SELECT IN FIELD action.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does that make sense? If I click the actual record in the list box after, the colour changes, just not when I click on the image with the Action tied to it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 14:12:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Sheet-Colour-Background-using-GetCurrentSelections/m-p/837694#M530715</guid>
      <dc:creator>imtiaz_ullah</dc:creator>
      <dc:date>2015-06-05T14:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: Change Sheet Colour Background using GetCurrentSelections</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Sheet-Colour-Background-using-GetCurrentSelections/m-p/837695#M530716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, it does not make sense. Are you sure the value gets selected in the correct field. I've attached a working example, if that does not help you, can you attach a qvw that demonstrates this problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 18:04:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Sheet-Colour-Background-using-GetCurrentSelections/m-p/837695#M530716</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2015-06-05T18:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: Change Sheet Colour Background using GetCurrentSelections</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Sheet-Colour-Background-using-GetCurrentSelections/m-p/837696#M530717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Piet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the message (attached) when trying to open the qvw... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/88619_Capture.PNG" style="height: 82px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Immy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 07:14:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Sheet-Colour-Background-using-GetCurrentSelections/m-p/837696#M530717</guid>
      <dc:creator>imtiaz_ullah</dc:creator>
      <dc:date>2015-06-08T07:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Change Sheet Colour Background using GetCurrentSelections</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Sheet-Colour-Background-using-GetCurrentSelections/m-p/837697#M530718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That message says you are using the (free) Personal Edition, which is only able to open qvw files created by others for a few times (I think 4). After that you can only use qvw files created by yourself. The option to embed a license in a qvw file is limited to QlikTech employees, which I'm not. So unless you get a license, you're unable to open my files, which brings me back to my previous question. Can you attach a qvw that demonstrates the problem? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are worried about data privacy, have a look at this:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-1290"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 09:09:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Sheet-Colour-Background-using-GetCurrentSelections/m-p/837697#M530718</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2015-06-08T09:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: Change Sheet Colour Background using GetCurrentSelections</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Sheet-Colour-Background-using-GetCurrentSelections/m-p/837698#M530719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning Piet - your example is almost perfect. It now works, although what is odd, is that if I have more than one picture to click on (in order to change background colour), I need to click the image twice each time as the first click sets the background back to white, the 2nd then turns it to the desired colour.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for you help thus far.&lt;/P&gt;&lt;P&gt;Immy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 07:47:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Sheet-Colour-Background-using-GetCurrentSelections/m-p/837698#M530719</guid>
      <dc:creator>imtiaz_ullah</dc:creator>
      <dc:date>2015-06-11T07:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Change Sheet Colour Background using GetCurrentSelections</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Sheet-Colour-Background-using-GetCurrentSelections/m-p/837699#M530720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Immy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You're welcome, the reason it first turns white again is because of the condition in the button's action. You can change it to e.g.&lt;/P&gt;&lt;P&gt;=if(GetFieldSelections(SurveyQuestions)='Text to look for A','','Text to look for A')&lt;/P&gt;&lt;P&gt;for the first picture and e.g.&lt;/P&gt;&lt;P&gt;=if(GetFieldSelections(SurveyQuestions)='Text to look for B','','Text to look for B')&lt;/P&gt;&lt;P&gt;for the 2nd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And for the Sheet color&lt;/P&gt;&lt;P&gt;=if(GetFieldSelections(SurveyQuestions)='Text to look for A',yellow(),&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(GetFieldSelections(SurveyQuestions)='Text to look for B',red(),&lt;/P&gt;&lt;P&gt;white()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when you click on a picture, the sheet will get the corresponding color, click the same again white and when you click on the other image it will immediately change to the other color.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example attached again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 09:26:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Sheet-Colour-Background-using-GetCurrentSelections/m-p/837699#M530720</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2015-06-11T09:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: Change Sheet Colour Background using GetCurrentSelections</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Sheet-Colour-Background-using-GetCurrentSelections/m-p/837700#M530721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect! - Although now... If I click the same image once it's fine, if I click it again, it goes white, almost like I am removing the selection on the 2nd click? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 09:33:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Sheet-Colour-Background-using-GetCurrentSelections/m-p/837700#M530721</guid>
      <dc:creator>imtiaz_ullah</dc:creator>
      <dc:date>2015-06-11T09:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: Change Sheet Colour Background using GetCurrentSelections</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Sheet-Colour-Background-using-GetCurrentSelections/m-p/837701#M530722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exactly, the condition checks whether the value is already selected, if it is it will select '', which is removing the selection. If you don't want that just change the action on the image to select in the field the value&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;Text to look for A&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 09:43:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Sheet-Colour-Background-using-GetCurrentSelections/m-p/837701#M530722</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2015-06-11T09:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Change Sheet Colour Background using GetCurrentSelections</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Sheet-Colour-Background-using-GetCurrentSelections/m-p/837702#M530723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Piet,&lt;/P&gt;&lt;P&gt;as iam new to qlikview could u explain steps to do this .not able to understand from where colour is allocated and in list box how action is performing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 10:01:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Sheet-Colour-Background-using-GetCurrentSelections/m-p/837702#M530723</guid>
      <dc:creator />
      <dc:date>2015-06-11T10:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Change Sheet Colour Background using GetCurrentSelections</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Sheet-Colour-Background-using-GetCurrentSelections/m-p/837703#M530724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep - that's exactly what I went and did! &lt;/P&gt;&lt;P&gt;All working as expected now, seems like i just needed the rule on the background selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot - nice learning curve which I can use across the product going forward.&lt;/P&gt;&lt;P&gt;Immy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 10:15:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Sheet-Colour-Background-using-GetCurrentSelections/m-p/837703#M530724</guid>
      <dc:creator>imtiaz_ullah</dc:creator>
      <dc:date>2015-06-11T10:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Change Sheet Colour Background using GetCurrentSelections</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Sheet-Colour-Background-using-GetCurrentSelections/m-p/837704#M530725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Imtiaz,&lt;/P&gt;&lt;P&gt; Could u please explain how it works and steps for implementing creating.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 10:20:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Sheet-Colour-Background-using-GetCurrentSelections/m-p/837704#M530725</guid>
      <dc:creator />
      <dc:date>2015-06-11T10:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: Change Sheet Colour Background using GetCurrentSelections</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Sheet-Colour-Background-using-GetCurrentSelections/m-p/837705#M530726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The select in field action is on a text box with image as background&lt;/P&gt;&lt;P&gt;&lt;IMG alt="ActionSelect.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/89074_ActionSelect.png" style="height: 519px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;So clicking on the image will select a value in the field, the sheet has a calculated color checking for which value&amp;nbsp; is selected to set a different color&lt;/P&gt;&lt;P&gt;&lt;IMG alt="SheetPropColor.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/89081_SheetPropColor.png" style="height: 364px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 10:29:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Sheet-Colour-Background-using-GetCurrentSelections/m-p/837705#M530726</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2015-06-11T10:29:29Z</dc:date>
    </item>
  </channel>
</rss>

