<?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: Tolerance variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Tolerance-variables/m-p/538676#M1134406</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd start by doing those multiplications on your script.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;EXTENDED_AMT&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;*&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;CONVERSION_RATE as NewField1,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;To restrict the number of records or values to be shown, they are some ways.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;If is a straight table, do it in the dimension limits tab.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;You can use calculated dimensions in the dimension tab.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;You can notice them with visual clues or other color changes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;Send an example. Easy, with little data, to see what you have in your table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;Salutes.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Nov 2013 16:44:15 GMT</pubDate>
    <dc:creator>christian77</dc:creator>
    <dc:date>2013-11-18T16:44:15Z</dc:date>
    <item>
      <title>Tolerance variables</title>
      <link>https://community.qlik.com/t5/QlikView/Tolerance-variables/m-p/538675#M1134405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;I have a straight table where I calculate the variance of the the cost value from the mean.&amp;nbsp; To do this I use the following expression:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;avg&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;EXTENDED_AMT&lt;/SPAN&gt;*&lt;SPAN style="color: #800000;"&gt;CONVERSION_RATE&lt;/SPAN&gt;) / &lt;SPAN style="color: #0000ff;"&gt;avg&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;total&lt;/SPAN&gt; &amp;lt;&lt;SPAN style="color: #800000;"&gt;COST_CD&lt;/SPAN&gt;&amp;gt; &lt;SPAN style="color: #800000;"&gt;EXTENDED_AMT&lt;/SPAN&gt;*&lt;SPAN style="color: #800000;"&gt;CONVERSION_RATE&lt;/SPAN&gt;)-1 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;I am trying to restrict the output in the table if the value returned in the above is &amp;gt; 20%.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;I tried to do this using an input box and the following expression, but it didn't work:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;//if( (avg(EXTENDED_AMT*CONVERSION_RATE) / avg(total &amp;lt;COST_CD&amp;gt; EXTENDED_AMT*CONVERSION_RATE)) &amp;gt; vToleranceLevel, (avg(EXTENDED_AMT*CONVERSION_RATE)) / avg(total &amp;lt;COST_CD&amp;gt; EXTENDED_AMT*CONVERSION_RATE),0) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;avg&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;EXTENDED_AMT*CONVERSEION_RATE&lt;/SPAN&gt;) / &lt;SPAN style="color: #0000ff;"&gt;avg&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;total&lt;/SPAN&gt; &amp;lt;&lt;SPAN style="color: #800000;"&gt;COST_CD&lt;/SPAN&gt;&amp;gt; &lt;SPAN style="color: #800000;"&gt;EXTENDED_AMT*CONVERSION_RATE&lt;/SPAN&gt;)-1 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;vToleranceLevel is my input variable.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Any help will be much appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Daniel&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2013 15:43:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tolerance-variables/m-p/538675#M1134405</guid>
      <dc:creator>danielnevitt</dc:creator>
      <dc:date>2013-11-18T15:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Tolerance variables</title>
      <link>https://community.qlik.com/t5/QlikView/Tolerance-variables/m-p/538676#M1134406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd start by doing those multiplications on your script.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;EXTENDED_AMT&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;*&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;CONVERSION_RATE as NewField1,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;To restrict the number of records or values to be shown, they are some ways.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;If is a straight table, do it in the dimension limits tab.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;You can use calculated dimensions in the dimension tab.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;You can notice them with visual clues or other color changes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;Send an example. Easy, with little data, to see what you have in your table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;Salutes.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2013 16:44:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tolerance-variables/m-p/538676#M1134406</guid>
      <dc:creator>christian77</dc:creator>
      <dc:date>2013-11-18T16:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: Tolerance variables</title>
      <link>https://community.qlik.com/t5/QlikView/Tolerance-variables/m-p/538677#M1134407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideally I would like to be have the choice of the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) An input box to set the level of variance from the mean of to be shown in the table&lt;/P&gt;&lt;P&gt;2) An expression/dimension that restricts the level of variance from the mean to be shown in the table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a test qvw file, but I am not sure how to attach it on this forum?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help with the above would be great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 14:45:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tolerance-variables/m-p/538677#M1134407</guid>
      <dc:creator>danielnevitt</dc:creator>
      <dc:date>2013-11-19T14:45:46Z</dc:date>
    </item>
  </channel>
</rss>

