<?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: Colour scatter points relative to reference lines in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Colour-scatter-points-relative-to-reference-lines/m-p/42194#M772010</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the help. Now my chart looks like this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 May 2018 13:26:12 GMT</pubDate>
    <dc:creator>robmarr789</dc:creator>
    <dc:date>2018-05-16T13:26:12Z</dc:date>
    <item>
      <title>Colour scatter points relative to reference lines</title>
      <link>https://community.qlik.com/t5/QlikView/Colour-scatter-points-relative-to-reference-lines/m-p/42190#M772002</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;Can any one show me how to colour the scatter points on this chart based on the following rules&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;1. If points are in top right quadrant then colour Green&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;2. If points are in bottom right then colour Red&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;3. If points are in bottom left then colour Orange&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;4. If points are in top left then colour blue&lt;/P&gt;&lt;P&gt;&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;Bare in mind the reference points are set relative to the percentile so will move as and when new data is added.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colour-scatter-points-relative-to-reference-lines/m-p/42190#M772002</guid>
      <dc:creator>robmarr789</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Colour scatter points relative to reference lines</title>
      <link>https://community.qlik.com/t5/QlikView/Colour-scatter-points-relative-to-reference-lines/m-p/42191#M772004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why a new post? &lt;/P&gt;&lt;P&gt;What's the difference with &lt;A _jive_internal="true" href="https://community.qlik.com/thread/301500"&gt;https://community.qlik.com/thread/301500&lt;/A&gt;&amp;nbsp;&amp;nbsp; ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 13:00:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colour-scatter-points-relative-to-reference-lines/m-p/42191#M772004</guid>
      <dc:creator>bc-thebruuu</dc:creator>
      <dc:date>2018-05-16T13:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: Colour scatter points relative to reference lines</title>
      <link>https://community.qlik.com/t5/QlikView/Colour-scatter-points-relative-to-reference-lines/m-p/42192#M772006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you look the source data is formatted differently meaning my expressions are different. I'm not sure how to rearrange the colour definition&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 13:11:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colour-scatter-points-relative-to-reference-lines/m-p/42192#M772006</guid>
      <dc:creator>robmarr789</dc:creator>
      <dc:date>2018-05-16T13:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Colour scatter points relative to reference lines</title>
      <link>https://community.qlik.com/t5/QlikView/Colour-scatter-points-relative-to-reference-lines/m-p/42193#M772008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok&lt;/P&gt;&lt;DIV&gt;OkOk&lt;/DIV&gt;&lt;DIV&gt;Let's work step by step.&lt;/DIV&gt;&lt;DIV&gt;First . in&amp;nbsp; the expressions, you need to use set analysis&lt;/DIV&gt;&lt;DIV&gt;"Sales", &lt;/DIV&gt;&lt;DIV&gt;SUM({&amp;lt;Year = {"=$(=Year(Today()))"}&amp;gt;}Sales)&lt;/DIV&gt;&lt;DIV&gt;"Variance"&lt;/DIV&gt;&lt;DIV&gt;SUM({&amp;lt;Year = {"=$(=Year(Today()))"}&amp;gt;}Sales)-SUM({&amp;lt;Year = {"=$(=Year(Today())-1)"}&amp;gt;}Sales)&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 13:17:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colour-scatter-points-relative-to-reference-lines/m-p/42193#M772008</guid>
      <dc:creator>bc-thebruuu</dc:creator>
      <dc:date>2018-05-16T13:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: Colour scatter points relative to reference lines</title>
      <link>https://community.qlik.com/t5/QlikView/Colour-scatter-points-relative-to-reference-lines/m-p/42194#M772010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the help. Now my chart looks like this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 13:26:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colour-scatter-points-relative-to-reference-lines/m-p/42194#M772010</guid>
      <dc:creator>robmarr789</dc:creator>
      <dc:date>2018-05-16T13:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: Colour scatter points relative to reference lines</title>
      <link>https://community.qlik.com/t5/QlikView/Colour-scatter-points-relative-to-reference-lines/m-p/42195#M772013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Here's a first step implementation ...&lt;/DIV&gt;&lt;DIV&gt;I added a YearType column in the script, with values PY (Present Year) and LY (Last Year), null otherwise&lt;/DIV&gt;&lt;DIV&gt;Please note that Today is calculated at Refresh Time ... you should probably use the Now function&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Please note that with the given data you only have two "quadrants"&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 13:26:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colour-scatter-points-relative-to-reference-lines/m-p/42195#M772013</guid>
      <dc:creator>bc-thebruuu</dc:creator>
      <dc:date>2018-05-16T13:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: Colour scatter points relative to reference lines</title>
      <link>https://community.qlik.com/t5/QlikView/Colour-scatter-points-relative-to-reference-lines/m-p/42196#M772015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good,&lt;/P&gt;&lt;P&gt;You can now apply formulas similar to the one we saw before&lt;IMG alt="sample_sales3.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/202537_sample_sales3.png" style="height: 450px; width: 620px;" /&gt;&lt;/P&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 13:29:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colour-scatter-points-relative-to-reference-lines/m-p/42196#M772015</guid>
      <dc:creator>bc-thebruuu</dc:creator>
      <dc:date>2018-05-16T13:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Colour scatter points relative to reference lines</title>
      <link>https://community.qlik.com/t5/QlikView/Colour-scatter-points-relative-to-reference-lines/m-p/42197#M772018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I'm confused the points on the chart are not displayed as they were before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For instance there are no negative variances&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 13:33:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colour-scatter-points-relative-to-reference-lines/m-p/42197#M772018</guid>
      <dc:creator>robmarr789</dc:creator>
      <dc:date>2018-05-16T13:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: Colour scatter points relative to reference lines</title>
      <link>https://community.qlik.com/t5/QlikView/Colour-scatter-points-relative-to-reference-lines/m-p/42198#M772020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I opened the original app, there were no data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 13:35:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colour-scatter-points-relative-to-reference-lines/m-p/42198#M772020</guid>
      <dc:creator>bc-thebruuu</dc:creator>
      <dc:date>2018-05-16T13:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: Colour scatter points relative to reference lines</title>
      <link>https://community.qlik.com/t5/QlikView/Colour-scatter-points-relative-to-reference-lines/m-p/42199#M772021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry this has become too complicated for my skill level. I wanted a solution similar to the first post without having to use set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't worry, thanks for your help though&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 13:42:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colour-scatter-points-relative-to-reference-lines/m-p/42199#M772021</guid>
      <dc:creator>robmarr789</dc:creator>
      <dc:date>2018-05-16T13:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: Colour scatter points relative to reference lines</title>
      <link>https://community.qlik.com/t5/QlikView/Colour-scatter-points-relative-to-reference-lines/m-p/42200#M772022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok what about creating two columns in the script on wontaining Sales for current year and another for previous year?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 13:50:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colour-scatter-points-relative-to-reference-lines/m-p/42200#M772022</guid>
      <dc:creator>bc-thebruuu</dc:creator>
      <dc:date>2018-05-16T13:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Colour scatter points relative to reference lines</title>
      <link>https://community.qlik.com/t5/QlikView/Colour-scatter-points-relative-to-reference-lines/m-p/42201#M772023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately the sales will always come in in one column. i.e. a ledger&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can it not be done without using set analysis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 13:53:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colour-scatter-points-relative-to-reference-lines/m-p/42201#M772023</guid>
      <dc:creator>robmarr789</dc:creator>
      <dc:date>2018-05-16T13:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: Colour scatter points relative to reference lines</title>
      <link>https://community.qlik.com/t5/QlikView/Colour-scatter-points-relative-to-reference-lines/m-p/42202#M772024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the script you can use a preceding load:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;LET CY=Num#(Year(Today()));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;LOAD CustomerGroupName, Date, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if(Num#(Trim([Year]))=$(CY), Sales) as Sales_CY,if(Year=$(CY)-1,Sales) as Sales_PY;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;LOAD * Inline [&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;CustomerGroupName, Date, Sales, Year&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;in this way you read a table with the following columns&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;CustomerGroupName, Date, Sales, Year&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;and you get in qlik a table with the following columns&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;CustomerGroupName, Date, Sales_CY, Sales_PY&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 14:03:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colour-scatter-points-relative-to-reference-lines/m-p/42202#M772024</guid>
      <dc:creator>bc-thebruuu</dc:creator>
      <dc:date>2018-05-16T14:03:04Z</dc:date>
    </item>
  </channel>
</rss>

