<?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: Help with Qlikview Formula in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-Qlikview-Formula/m-p/413704#M153897</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nayan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Glad it's fixed. I would suggest you to use Set Analysis to write similar conditions in the future scenarios. It's a very powerful feature and you will get accurate results for your logical calculations with ease.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Khaled.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jan 2013 11:35:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-01-11T11:35:33Z</dc:date>
    <item>
      <title>Help with Qlikview Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Qlikview-Formula/m-p/413699#M153892</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;Need a quick help.&amp;nbsp; I have a formula showing Quantity&amp;nbsp; on Purchases Order for component code only:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;Total&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;[Component Code]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;[Assembly Type]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; = 'ITEM', &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;[Loc Qty on PO]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;[Component Qty]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; )) * Weighting &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is for all branches.&amp;nbsp; However, I want to show the&amp;nbsp; quantity on Purchase Order&amp;nbsp; for one of our branches&amp;nbsp; &lt;SPAN style="text-decoration: underline;"&gt;Johannesburg&lt;/SPAN&gt; ,only , and this is my formula:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Branch&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;= 'Johannesburg', (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;Total&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;[Component Code]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;[Assembly Type]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; = 'ITEM', &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;[Loc Qty on PO]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;[Component Qty]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; )) * Weighting)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;However this does not work and the result is blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please can you help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;Nayan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2013 09:31:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Qlikview-Formula/m-p/413699#M153892</guid>
      <dc:creator />
      <dc:date>2013-01-11T09:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Qlikview Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Qlikview-Formula/m-p/413700#M153893</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;May be you can try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//For all branches&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;[Assembly Type] = {'ITEM'}&amp;gt;}([Loc Qty on PO] * [Component Qty])*Weighting)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//For Johannesburg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;[Assembly Type] = {'ITEM'},Branch= {'Johannesburg'}&amp;gt;}([Loc Qty on PO] * [Component Qty])*Weighting)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Khaled.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2013 09:40:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Qlikview-Formula/m-p/413700#M153893</guid>
      <dc:creator />
      <dc:date>2013-01-11T09:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Qlikview Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Qlikview-Formula/m-p/413701#M153894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Khaled&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks .&amp;nbsp; Will try it and let you know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;Nayan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2013 09:59:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Qlikview-Formula/m-p/413701#M153894</guid>
      <dc:creator />
      <dc:date>2013-01-11T09:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Qlikview Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Qlikview-Formula/m-p/413702#M153895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Khaled&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therer is an error in the formula.&amp;nbsp; The error that comes up is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Bad filed names(s): Weighting"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;Nayan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2013 10:08:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Qlikview-Formula/m-p/413702#M153895</guid>
      <dc:creator />
      <dc:date>2013-01-11T10:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Qlikview Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Qlikview-Formula/m-p/413703#M153896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Khaled&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I moved the bracket after weighting and placed it before and it worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Nayan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2013 10:47:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Qlikview-Formula/m-p/413703#M153896</guid>
      <dc:creator />
      <dc:date>2013-01-11T10:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Qlikview Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Qlikview-Formula/m-p/413704#M153897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nayan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Glad it's fixed. I would suggest you to use Set Analysis to write similar conditions in the future scenarios. It's a very powerful feature and you will get accurate results for your logical calculations with ease.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Khaled.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2013 11:35:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Qlikview-Formula/m-p/413704#M153897</guid>
      <dc:creator />
      <dc:date>2013-01-11T11:35:33Z</dc:date>
    </item>
  </channel>
</rss>

