<?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: Re: To calculate Quantity based on Units in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/To-calculate-Quantity-based-on-Units/m-p/498155#M686378</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you'll have to use Jonathan's snippet for Quantity and Factor.&lt;/P&gt;&lt;P&gt;See attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jan 2014 18:44:30 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-01-17T18:44:30Z</dc:date>
    <item>
      <title>To calculate Quantity based on Units</title>
      <link>https://community.qlik.com/t5/QlikView/To-calculate-Quantity-based-on-Units/m-p/498151#M686374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks very easy but I dont get it. Seems to be not my day. I just wanted to get the values of Quantity_in_kWh in the following example.&lt;/P&gt;&lt;P&gt;Hope someone can help.&amp;nbsp; See the attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;P&gt;Sravan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Jan 2014 12:11:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-calculate-Quantity-based-on-Units/m-p/498151#M686374</guid>
      <dc:creator />
      <dc:date>2014-01-12T12:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: To calculate Quantity based on Units</title>
      <link>https://community.qlik.com/t5/QlikView/To-calculate-Quantity-based-on-Units/m-p/498152#M686375</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;Your environment setting is for , (comma) as the decimal separator, but your data uses a . (period); so QV does not recognise your values as numbers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change &lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET DecimalSep=',';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;to&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET DecimalSep='.';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: you could use the number interpretation function rather than changing the environment, for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD ...., Num#(Quantity, '#.#####', '.', ' ') As Quantity, ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Jan 2014 12:34:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-calculate-Quantity-based-on-Units/m-p/498152#M686375</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-01-12T12:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: To calculate Quantity based on Units</title>
      <link>https://community.qlik.com/t5/QlikView/To-calculate-Quantity-based-on-Units/m-p/498153#M686376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that does not solve the problem. I think I am making some silly mistake or overlooking something. why cant I multiply the Quantity and unit to get the Quantity_in_kWh?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Jan 2014 12:38:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-calculate-Quantity-based-on-Units/m-p/498153#M686376</guid>
      <dc:creator />
      <dc:date>2014-01-12T12:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: To calculate Quantity based on Units</title>
      <link>https://community.qlik.com/t5/QlikView/To-calculate-Quantity-based-on-Units/m-p/498154#M686377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;also replace this in your script&lt;/P&gt;&lt;P&gt;text(Quantity) as Quantity,&lt;/P&gt;&lt;P&gt;with&lt;/P&gt;&lt;P&gt;Quantity,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Jan 2014 13:26:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-calculate-Quantity-based-on-Units/m-p/498154#M686377</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-01-12T13:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Re: To calculate Quantity based on Units</title>
      <link>https://community.qlik.com/t5/QlikView/To-calculate-Quantity-based-on-Units/m-p/498155#M686378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you'll have to use Jonathan's snippet for Quantity and Factor.&lt;/P&gt;&lt;P&gt;See attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2014 18:44:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-calculate-Quantity-based-on-Units/m-p/498155#M686378</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-17T18:44:30Z</dc:date>
    </item>
  </channel>
</rss>

