<?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: If Statements in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-Statements/m-p/643235#M476676</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Refer the default QlikView examples provided during the installation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dashboard Name :&amp;nbsp; "What is New in QlikView11"&lt;/P&gt;&lt;P&gt;Report name&amp;nbsp; : "Product Grouping"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 May 2014 12:18:20 GMT</pubDate>
    <dc:creator>PradeepReddy</dc:creator>
    <dc:date>2014-05-22T12:18:20Z</dc:date>
    <item>
      <title>If Statements</title>
      <link>https://community.qlik.com/t5/QlikView/If-Statements/m-p/643229#M476670</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;help me with the If statement ....I have salespersons in a chart with months so I want to see how 1 sales person is performing against other salespeople in each month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 11:51:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Statements/m-p/643229#M476670</guid>
      <dc:creator />
      <dc:date>2014-05-22T11:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: If Statements</title>
      <link>https://community.qlik.com/t5/QlikView/If-Statements/m-p/643230#M476671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can create two Alternate State. With these you can create a comperative study of two sales persons.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 11:54:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Statements/m-p/643230#M476671</guid>
      <dc:creator>senpradip007</dc:creator>
      <dc:date>2014-05-22T11:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: If Statements</title>
      <link>https://community.qlik.com/t5/QlikView/If-Statements/m-p/643231#M476672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please explain in more detail, can you please give an example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 12:00:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Statements/m-p/643231#M476672</guid>
      <dc:creator />
      <dc:date>2014-05-22T12:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Re: If Statements</title>
      <link>https://community.qlik.com/t5/QlikView/If-Statements/m-p/643232#M476673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 12:10:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Statements/m-p/643232#M476673</guid>
      <dc:creator>senpradip007</dc:creator>
      <dc:date>2014-05-22T12:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: If Statements</title>
      <link>https://community.qlik.com/t5/QlikView/If-Statements/m-p/643233#M476674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look at &lt;STRONG&gt;trellis&lt;/STRONG&gt; (dimension tab). Take two dimnesions, Month and SalesPerson.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 12:11:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Statements/m-p/643233#M476674</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-05-22T12:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: Re: If Statements</title>
      <link>https://community.qlik.com/t5/QlikView/If-Statements/m-p/643234#M476675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please find the updated one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 12:15:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Statements/m-p/643234#M476675</guid>
      <dc:creator>senpradip007</dc:creator>
      <dc:date>2014-05-22T12:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: If Statements</title>
      <link>https://community.qlik.com/t5/QlikView/If-Statements/m-p/643235#M476676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Refer the default QlikView examples provided during the installation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dashboard Name :&amp;nbsp; "What is New in QlikView11"&lt;/P&gt;&lt;P&gt;Report name&amp;nbsp; : "Product Grouping"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 12:18:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Statements/m-p/643235#M476676</guid>
      <dc:creator>PradeepReddy</dc:creator>
      <dc:date>2014-05-22T12:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: If Statements</title>
      <link>https://community.qlik.com/t5/QlikView/If-Statements/m-p/643236#M476677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are several ways to make the comparison of sales persons. The solution depends a bit on your data model and what the presentation requirements are.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The calculation it self should be possible to do without IF statements. For example with the Alternate States example or my set analysis based example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A good way to get solution inspiration is to explore the demo site and see if you can find something that looks like the application you are trying to construct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://demo.qlik.com/" title="http://demo.qlik.com/"&gt;Qlik Demos: See QlikView in Action&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 12:23:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Statements/m-p/643236#M476677</guid>
      <dc:creator>ToniKautto</dc:creator>
      <dc:date>2014-05-22T12:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: If Statements</title>
      <link>https://community.qlik.com/t5/QlikView/If-Statements/m-p/643237#M476678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried other methods they work fine, I just want to know how to use it in an if statement, eg. in my if statement i want to focus on a specific SalesPerson, (if the SalespersonName('Palesa') then show her Sales against other sales people else show all the sales)..... How can i write that statement in my expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 12:29:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Statements/m-p/643237#M476678</guid>
      <dc:creator />
      <dc:date>2014-05-22T12:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: If Statements</title>
      <link>https://community.qlik.com/t5/QlikView/If-Statements/m-p/643238#M476679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The answer to that question depends on the dimensionality of the calculation. If the Sales person is not in the dimensions, then you can find and compare the persons with IF statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason for this is that data grouped over for example Month=Jan will have values for both Adam and Bob, and there for you can find these with an IF statement.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="59396" alt="2014-05-22 14_50_33-QlikView x64 - [C__Users_tko_Documents___slask_sales comparison.qvw_].jpg" class="jive-image" src="/legacyfs/online/59396_2014-05-22 14_50_33-QlikView x64 - [C__Users_tko_Documents___slask_sales comparison.qvw_].jpg" /&gt;&lt;/P&gt;&lt;P&gt;If you instead have the SalesPerson as a dimension, the grouping will be different. In a data group with Month=Jan and SalesPerson=Adam, there for example is no data related to the SalesPerson=Bob. An IF statement looking for Bob's data will therefore not find any matches and the result will be empty. In this case the sum is 0, since a sum of nothing is 0.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="59398" alt="2014-05-22 14_57_39-QlikView x64 - [C__Users_tko_Documents___slask_sales comparison.qvw_].jpg" class="jive-image" src="/legacyfs/online/59398_2014-05-22 14_57_39-QlikView x64 - [C__Users_tko_Documents___slask_sales comparison.qvw_].jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 12:55:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Statements/m-p/643238#M476679</guid>
      <dc:creator>ToniKautto</dc:creator>
      <dc:date>2014-05-22T12:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: If Statements</title>
      <link>https://community.qlik.com/t5/QlikView/If-Statements/m-p/643239#M476680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;if(SalespersonName='Palesa',&lt;/SPAN&gt;Aggr(NODISTINCT Sum({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SalespersonName&lt;/SPAN&gt;={"Pol"}&amp;gt;} SalesAmount), Month), sum(SalesAmount))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chinni Kanna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 13:14:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Statements/m-p/643239#M476680</guid>
      <dc:creator />
      <dc:date>2014-05-22T13:14:33Z</dc:date>
    </item>
  </channel>
</rss>

