<?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: Silly Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Silly-Expression/m-p/590998#M219203</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;great &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Mar 2014 06:14:47 GMT</pubDate>
    <dc:creator>qlikpahadi07</dc:creator>
    <dc:date>2014-03-20T06:14:47Z</dc:date>
    <item>
      <title>Silly Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Silly-Expression/m-p/590995#M219200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some times you have those days when you just forget the basics. Here's mine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is a sample qvw where I am looking to compute the Inactive Turnover% = SUM(Inactive)/SUM(ActiveSummary) and display it on a table by InactiveReason.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is a snapshot metric and therefore if the dimension is monthly, then it uses the month's values (easily done), if it is Quarterly, then uses end of quarter values for that quarter, if it is yearly, then end of year values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know this is possible in an expression but don't remember if I need to create the associated QuarterEnd and YearEnd values for each record in my MasterCalendar when I ultimately add it or can I do it without it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For instance,&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AsOfDate, Active, Inactive, InactiveReason&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1/31/2013, 1776&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1/31/2013, , 3, Voluntary&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1/31/2013, , 5, Involuntary&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2/28/2013, 1278&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2/28/2013, , 56, Voluntary&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2/28/2013, , 34, Involuntary&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3/31/2013, 1852, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3/31/2013, , 40, Voluntary&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3/31/2013, , 60, Involuntary&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4/30/2013, 1298, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4/30/2013, , 48, Voluntary&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4/30/2013, , 52, Involuntary&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If put in a straight table with Year and Quarter as the dimensions with Inactive Reason, I want Inactive % to be 40/1852 for Voluntary and 60/1852 for Involuntary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any assistance is appreciated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 04:12:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Silly-Expression/m-p/590995#M219200</guid>
      <dc:creator />
      <dc:date>2014-03-19T04:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: Silly Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Silly-Expression/m-p/590996#M219201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA may be this you are looking at ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 05:48:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Silly-Expression/m-p/590996#M219201</guid>
      <dc:creator>qlikpahadi07</dc:creator>
      <dc:date>2014-03-19T05:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Silly Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Silly-Expression/m-p/590997#M219202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that's not it. I found the solution by using flags to denote the QUarterEnd or MonthEnd and if the cycle is on quarter, then it uses the Quarter End values of the snapshot data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached solution&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 13:17:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Silly-Expression/m-p/590997#M219202</guid>
      <dc:creator />
      <dc:date>2014-03-19T13:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: Silly Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Silly-Expression/m-p/590998#M219203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;great &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 06:14:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Silly-Expression/m-p/590998#M219203</guid>
      <dc:creator>qlikpahadi07</dc:creator>
      <dc:date>2014-03-20T06:14:47Z</dc:date>
    </item>
  </channel>
</rss>

