<?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 Change formula in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Change-formula/m-p/409488#M1157207</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using the expression in bold to find the average days of inventory for multiple companies. It works when i select one company, but when i select two companies the formula doesn't work. &lt;/P&gt;&lt;P&gt;Basically, i want to take a company's (2010 inventory + 2011 inventory) /2) /(COGS)*365 What do i need to change in my expression so that it also works when i select two companies? Thank you. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(Year=Below(Year),(([Total Inventory]+Below([Total Inventory]))/2)/([COGS]))*365&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Mar 2013 15:57:27 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-03-05T15:57:27Z</dc:date>
    <item>
      <title>Change formula</title>
      <link>https://community.qlik.com/t5/QlikView/Change-formula/m-p/409488#M1157207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using the expression in bold to find the average days of inventory for multiple companies. It works when i select one company, but when i select two companies the formula doesn't work. &lt;/P&gt;&lt;P&gt;Basically, i want to take a company's (2010 inventory + 2011 inventory) /2) /(COGS)*365 What do i need to change in my expression so that it also works when i select two companies? Thank you. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(Year=Below(Year),(([Total Inventory]+Below([Total Inventory]))/2)/([COGS]))*365&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 15:57:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-formula/m-p/409488#M1157207</guid>
      <dc:creator />
      <dc:date>2013-03-05T15:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Change formula</title>
      <link>https://community.qlik.com/t5/QlikView/Change-formula/m-p/409489#M1157208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amv,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you add the dimension "Year" in your chart, this will work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I think you need to understand your formula, press F1 and search what makes each formula of your expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 16:38:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-formula/m-p/409489#M1157208</guid>
      <dc:creator>eddysanchez</dc:creator>
      <dc:date>2013-03-05T16:38:10Z</dc:date>
    </item>
  </channel>
</rss>

