<?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: Load statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-statement/m-p/1039855#M938818</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/113516_Capture.JPG" style="width: 620px; height: 375px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Feb 2016 04:46:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-02-04T04:46:51Z</dc:date>
    <item>
      <title>Load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Load-statement/m-p/1039853#M938816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please can someone help.&lt;/P&gt;&lt;P&gt;I am trying to cxreate another column in the load statement that will do a calculation of field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently we have "solution_Time_Achieved" which shows 'Yes', 'No' and 'NA'.&lt;/P&gt;&lt;P&gt;The calculation used on my documen to get the percentage are as follows:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ({$&amp;lt;SOLUTION_TIME_ACHIEVED={'Yes'}&amp;gt;} SOLUTION_TIME_ACHIEVED) / Count({$&amp;lt;SOLUTION_TIME_ACHIEVED={'Yes','No'}&amp;gt;} SOLUTION_TIME_ACHIEVED),'##%') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However this makes it difficult to change colors depending on certain values on a bar chart so I want to create another column in the LOAD statement that will already work out the percentage. That way I can say if value is higher or lower it should show this or that color.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the following but it does not work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;PICData:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; *,&lt;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SOLUTION_TIME_ACHIEVED&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;like&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; 'Yes' / (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SOLUTION_TIME_ACHIEVED&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;like&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; 'Yes','No' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SOLUTION_TIME_PERCENTAGE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; [\\smuc6314\L4_AGILO8_SHARE\QV_Projects\QVZA\ITSM-Reporting_P\11_QVD_Generator_QVD\FG-ZA_AllData.qvd]&lt;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;); &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 11:53:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-statement/m-p/1039853#M938816</guid>
      <dc:creator />
      <dc:date>2016-02-03T11:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Load-statement/m-p/1039854#M938817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thought about it last night and this was a stupid question, sorry. This will never work as it is a calculation of a couple of fields so there is no way of adding it as a column. So now my question:&lt;/P&gt;&lt;P&gt;How can I change the colors on the bar chart to show:&lt;/P&gt;&lt;P&gt;red - if value of expression is below 95%&lt;/P&gt;&lt;P&gt;Green - if value of expression is above 95%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My bar chart uses the following expression:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SOLUTION_TIME_ACHIEVED&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Yes'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SOLUTION_TIME_ACHIEVED&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) / &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SOLUTION_TIME_ACHIEVED&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Yes','No'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SOLUTION_TIME_ACHIEVED&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;and I display it as percentage.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 04:45:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-statement/m-p/1039854#M938817</guid>
      <dc:creator />
      <dc:date>2016-02-04T04:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Load-statement/m-p/1039855#M938818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/113516_Capture.JPG" style="width: 620px; height: 375px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 04:46:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-statement/m-p/1039855#M938818</guid>
      <dc:creator />
      <dc:date>2016-02-04T04:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: Load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Load-statement/m-p/1039856#M938819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dont worry I got it right!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the following on the expression "Background color"&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SOLUTION_TIME_ACHIEVED&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Yes'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SOLUTION_TIME_ACHIEVED&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) / &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SOLUTION_TIME_ACHIEVED&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Yes','No'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SOLUTION_TIME_ACHIEVED&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &amp;gt;=0.95, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RGB&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(0,128,0), &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RGB&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(255,0,0)) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 04:50:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-statement/m-p/1039856#M938819</guid>
      <dc:creator />
      <dc:date>2016-02-04T04:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Load-statement/m-p/1039857#M938820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Job. Mark your answer as correct answer and close the thread please &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, 04 Feb 2016 07:22:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-statement/m-p/1039857#M938820</guid>
      <dc:creator />
      <dc:date>2016-02-04T07:22:48Z</dc:date>
    </item>
  </channel>
</rss>

