<?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 Condition Tricky in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/IF-Condition-Tricky/m-p/1024942#M924365</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the Reply.&lt;/P&gt;&lt;P&gt;I need one line Code if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one question??&lt;/P&gt;&lt;P&gt;You have done Left Join without any Primary Key...... Is this right approach........!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Apr 2016 17:50:47 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-04-13T17:50:47Z</dc:date>
    <item>
      <title>IF Condition Tricky</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Condition-Tricky/m-p/1024937#M924360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to multiply Percentage of different Product with another Product in Nested IF condition&lt;/P&gt;&lt;P&gt;and that too in Back end Script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly go through my Attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Eric&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/IF-Condition-Tricky/m-p/1024937#M924360</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: IF Condition Tricky</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Condition-Tricky/m-p/1024938#M924361</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;STRONG&gt;If(Product='D',Value*only(&lt;SPAN style="color: #ff0000;"&gt;total&lt;/SPAN&gt; {&amp;lt;Product={'C'}&amp;gt;}percentage),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Value*percentage)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 09:50:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Condition-Tricky/m-p/1024938#M924361</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-13T09:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: IF Condition Tricky</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Condition-Tricky/m-p/1024939#M924362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think he is asking in script &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 09:56:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Condition-Tricky/m-p/1024939#M924362</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-04-13T09:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: IF Condition Tricky</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Condition-Tricky/m-p/1024940#M924363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;LOAD *,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; If(Product='D',Value*Previous(percentage), Value*percentage) AS Amount &lt;/P&gt;
&lt;P&gt;&amp;nbsp; INLINE [&lt;/P&gt;
&lt;P&gt;Proposal, Product, percentage, Value&lt;/P&gt;
&lt;P&gt;1111, A, 5, 1000&lt;/P&gt;
&lt;P&gt;1112, B, 10, 2000&lt;/P&gt;
&lt;P&gt;1113, C, 20, 3000&lt;/P&gt;
&lt;P&gt;1114, D, 30, 4000&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Note: Here Load Order of data matters. That is, you might have to user Order By clause while loading the data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 10:05:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Condition-Tricky/m-p/1024940#M924363</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-04-13T10:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: IF Condition Tricky</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Condition-Tricky/m-p/1024941#M924364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this in the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Proposal, Product, percentage, Value&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1111, A, 5, 1000&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1112, B, 10, 2000&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1113, C, 20, 3000&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1114, D, 30, 4000&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Left Join (Table)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD percentage as NewPercentage&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Where Product = 'C';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FinalTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Proposal,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Product,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; percentage,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Value,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Value*If(Product = 'D', NewPercentage, percentage) AS Amount&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 10:07:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Condition-Tricky/m-p/1024941#M924364</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-13T10:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: IF Condition Tricky</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Condition-Tricky/m-p/1024942#M924365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the Reply.&lt;/P&gt;&lt;P&gt;I need one line Code if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one question??&lt;/P&gt;&lt;P&gt;You have done Left Join without any Primary Key...... Is this right approach........!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 17:50:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Condition-Tricky/m-p/1024942#M924365</guid>
      <dc:creator />
      <dc:date>2016-04-13T17:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: IF Condition Tricky</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Condition-Tricky/m-p/1024943#M924366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Tresesco&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the Reply.&lt;/P&gt;&lt;P&gt;I have just shared the sample data. There are multiple field values against them there are different-different Percentages.&lt;/P&gt;&lt;P&gt;Also, Peek and Previous will not do the trick in my case.&lt;/P&gt;&lt;P&gt;Is there any other alternative.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Regards&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Eric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 17:52:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Condition-Tricky/m-p/1024943#M924366</guid>
      <dc:creator />
      <dc:date>2016-04-13T17:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: IF Condition Tricky</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Condition-Tricky/m-p/1024944#M924367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is an issue with joining a single value to multiple rows? I don't think we need a primary key here, infact this won't work if we add a primary key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One line code? Do you have something in mind? Have you checked out tresesco's solution may be?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 17:55:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Condition-Tricky/m-p/1024944#M924367</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-13T17:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: IF Condition Tricky</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Condition-Tricky/m-p/1024945#M924368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QlikView join syntax does not require any key fields to be defined.&lt;/P&gt;&lt;P&gt;Any identical field names are matched, any different field names are added as new columns.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 18:07:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Condition-Tricky/m-p/1024945#M924368</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2016-04-13T18:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: IF Condition Tricky</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Condition-Tricky/m-p/1024946#M924369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One Line Code I mean small and Powerful.&lt;/P&gt;&lt;P&gt;Like something i tried in Script but failed. See this:&lt;/P&gt;&lt;P&gt;IF(Product='D',Value*(&lt;SPAN style="font-size: 13.3333px;"&gt;IF(Product='C',Percentage&lt;/SPAN&gt;)),Value*Percentage&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;I think what i am trying&amp;nbsp; is a wrong approach.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I don't want to take a long route.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 18:39:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Condition-Tricky/m-p/1024946#M924369</guid>
      <dc:creator />
      <dc:date>2016-04-13T18:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: IF Condition Tricky</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Condition-Tricky/m-p/1024947#M924370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You Colin and Sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am here for my issue and&amp;nbsp; now &lt;SPAN style="font-size: 13.3333px;"&gt;i have&lt;/SPAN&gt; learned some really great concept which i was not knowing earlier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You again. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 19:08:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Condition-Tricky/m-p/1024947#M924370</guid>
      <dc:creator />
      <dc:date>2016-04-13T19:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: IF Condition Tricky</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Condition-Tricky/m-p/1024948#M924371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have one question??&lt;/P&gt;&lt;P&gt;Does that thing cause duplicate values and multiple frequencies against one unique ID.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 19:10:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Condition-Tricky/m-p/1024948#M924371</guid>
      <dc:creator />
      <dc:date>2016-04-13T19:10:26Z</dc:date>
    </item>
  </channel>
</rss>

