<?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: SIMPLE? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SIMPLE/m-p/812341#M1027928</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I WANT IN THE CHART LEVEL &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Feb 2015 13:17:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-02-16T13:17:55Z</dc:date>
    <item>
      <title>SIMPLE?</title>
      <link>https://community.qlik.com/t5/QlikView/SIMPLE/m-p/812339#M1027926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;i have&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;coloumn 1&amp;nbsp; having Yes,No&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;coloumn 2&amp;nbsp; having&amp;nbsp;&amp;nbsp;&amp;nbsp; 100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;coloumn 3 having&amp;nbsp;&amp;nbsp; 50&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my req is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(coloumn1='Yes',max(fabs(coloumn(2)+3*coloumn(3)),fabs(coloumn(2)-3*coloumn(3))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have used because i have negative values in my data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want get when coloumn 1 is Yes&amp;nbsp; then max(coloumn(2)+3*coloumn(3)),fabs(coloumn(2)-3*coloumn(3)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex:&amp;nbsp;&amp;nbsp; max(100+3*50,100-3*50)&amp;nbsp;&amp;nbsp; = max(250,50)&amp;nbsp;&amp;nbsp; it should return&amp;nbsp;&amp;nbsp; 250&amp;nbsp; for Yes &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it means&amp;nbsp; for yes only i want see data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it is no&amp;nbsp; then i want get blank space&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to write a condition for this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 12:46:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SIMPLE/m-p/812339#M1027926</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-16T12:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: SIMPLE?</title>
      <link>https://community.qlik.com/t5/QlikView/SIMPLE/m-p/812340#M1027927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi CommonQlik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where do you want to do this calculation?&lt;/P&gt;&lt;P&gt;In the script or on the GUI?&lt;/P&gt;&lt;P&gt;I would guess in the script - that would be better, performance-wise, and as the calculation depends on a column in the table, it won't be changed by the user.&lt;/P&gt;&lt;P&gt;Then write it, pretty much like you have it,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; IF([column1] = 'YES', max([column2] + (3*[column3])), max([column2] - (3*[column3])) &amp;lt;&amp;lt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just keep in mind that in the script, since you use the aggregation_function max(), you need a GROUP BY clause to encompass all other fields in the LOAD - so if there are fields that you don't want to&amp;nbsp; build groups on, you will have to leave those aside and join them to the outcome of this again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 13:08:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SIMPLE/m-p/812340#M1027927</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-02-16T13:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: SIMPLE?</title>
      <link>https://community.qlik.com/t5/QlikView/SIMPLE/m-p/812341#M1027928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I WANT IN THE CHART LEVEL &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 13:17:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SIMPLE/m-p/812341#M1027928</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-16T13:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: SIMPLE?</title>
      <link>https://community.qlik.com/t5/QlikView/SIMPLE/m-p/812342#M1027929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In your graph, use coloumn 1 as a dimension and the expression will be:&lt;/P&gt;&lt;P&gt;if(coloumn1='Yes',RangeMax(fabs(coloumn(2)+3*coloumn(3)),fabs(coloumn(2)-3*coloumn(3)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 13:36:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SIMPLE/m-p/812342#M1027929</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-16T13:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: SIMPLE?</title>
      <link>https://community.qlik.com/t5/QlikView/SIMPLE/m-p/812343#M1027930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Coloumn1='Yes',rangemax(fabs(Coloumn2+3*Coloumn3),fabs(Coloumn2-3*Coloumn3)),' ')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where Coloumn1, Coloumn2, Column3 are Coloumn names in the table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 13:51:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SIMPLE/m-p/812343#M1027930</guid>
      <dc:creator>PradeepReddy</dc:creator>
      <dc:date>2015-02-16T13:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: SIMPLE?</title>
      <link>https://community.qlik.com/t5/QlikView/SIMPLE/m-p/812344#M1027931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it it is showing data for&amp;nbsp;&amp;nbsp; Column1= No&amp;nbsp; also&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 14:05:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SIMPLE/m-p/812344#M1027931</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-16T14:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: SIMPLE?</title>
      <link>https://community.qlik.com/t5/QlikView/SIMPLE/m-p/812345#M1027932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is it showing the same results for no? or something like 0?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 14:11:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SIMPLE/m-p/812345#M1027932</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-16T14:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: SIMPLE?</title>
      <link>https://community.qlik.com/t5/QlikView/SIMPLE/m-p/812346#M1027933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not same result and not 0&amp;nbsp; giving some output like for yes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 14:13:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SIMPLE/m-p/812346#M1027933</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-16T14:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: SIMPLE?</title>
      <link>https://community.qlik.com/t5/QlikView/SIMPLE/m-p/812347#M1027934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can u show a screenshot and paste the exact expression you use in your graph?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 14:28:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SIMPLE/m-p/812347#M1027934</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-16T14:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: SIMPLE?</title>
      <link>https://community.qlik.com/t5/QlikView/SIMPLE/m-p/812348#M1027935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;got it now it is showing values for only Yes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but if the value suppose to come 50.3&amp;nbsp; but i am getting 50.6 here&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 14:51:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SIMPLE/m-p/812348#M1027935</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-16T14:51:00Z</dc:date>
    </item>
  </channel>
</rss>

