<?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 variable values picking  wrong in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/variable-values-picking-wrong/m-p/1118680#M368940</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 created variables. if I click on Audit &amp;amp; Assurance&amp;nbsp; and Staff variable values picking&amp;nbsp; wrong. I'm getting more than 100% in graph.&lt;/P&gt;&lt;P&gt;More than 100 % is wrong. Head count table having data for every month. Attrition table not having data for all months.(No employee exit in some months) Head count variables picking correct and Attrition variables picking wrong while selecting filters.&lt;/P&gt;&lt;P&gt;I need Attrition 14 months data and&amp;nbsp; Head count 14 months data .&lt;/P&gt;&lt;P&gt;Mar'2014 to Apr'2015 ....Last 14 Months&lt;/P&gt;&lt;P&gt;Mar'2015 to Apr'2016......Current&amp;nbsp; 14 Months&lt;/P&gt;&lt;P&gt;(In HR terms Attrition = Employee Exit)&lt;/P&gt;&lt;P&gt;Rolling Attrition = 14 Months Attrition Emp count/Avg Head count.&lt;/P&gt;&lt;P&gt;Avg Head count= 14 Months Head count/14&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; Variables:&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;vAttritionMonth&lt;/SPAN&gt;=AddMonths(Max([Attrition.Attrition Reporting Month - Orginal]),-13)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;vAttritionMonth1&lt;/SPAN&gt;=AddMonths(Max([Attrition.Attrition Reporting Month - Orginal]),-11)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;vAttritionMonth2&lt;/SPAN&gt;=AddMonths(Max([Attrition.Attrition Reporting Month - Orginal]),-25)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;vHeadCountMonth&lt;/SPAN&gt;=AddMonths(Max(Head_Count.CDate_H),-13)&lt;/P&gt;&lt;P&gt;vHeadCountMonth1=AddMonths(Max(Head_Count.CDate_H),-11)&lt;/P&gt;&lt;P&gt;vHeadCountMonth2=AddMonths(Max(Head_Count.CDate_H),-25)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expressions:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Round&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Attrition.Attrition Reporting Month - Orginal]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'&amp;gt;=$(=vAttritionMonth2)&amp;lt;$(=vAttritionMonth1)'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Attrition.Emp.Id&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;BR /&gt; /&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Round&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Head_Count.CDate_H&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'&amp;gt;=$(=vHeadCountMonth2)&amp;lt;$(=vHeadCountMonth1)'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Head_Count.Emp. Id]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/14)*100)/100 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Round&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Attrition.Attrition Reporting Month - Orginal]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'&amp;gt;=$(=vAttritionMonth)'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Attrition.Emp.Id&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/&lt;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Head_Count.CDate_H&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'&amp;gt;=$(=vHeadCountMonth)'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Head_Count.Emp. Id]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/14)*100)/100 &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Dimension&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;FunctionOthers &lt;/P&gt;&lt;P&gt;Filters:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FunctionOthers &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt;"&gt;Grade&lt;/SPAN&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Krishna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 21 May 2016 08:18:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-05-21T08:18:17Z</dc:date>
    <item>
      <title>variable values picking  wrong</title>
      <link>https://community.qlik.com/t5/QlikView/variable-values-picking-wrong/m-p/1118680#M368940</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 created variables. if I click on Audit &amp;amp; Assurance&amp;nbsp; and Staff variable values picking&amp;nbsp; wrong. I'm getting more than 100% in graph.&lt;/P&gt;&lt;P&gt;More than 100 % is wrong. Head count table having data for every month. Attrition table not having data for all months.(No employee exit in some months) Head count variables picking correct and Attrition variables picking wrong while selecting filters.&lt;/P&gt;&lt;P&gt;I need Attrition 14 months data and&amp;nbsp; Head count 14 months data .&lt;/P&gt;&lt;P&gt;Mar'2014 to Apr'2015 ....Last 14 Months&lt;/P&gt;&lt;P&gt;Mar'2015 to Apr'2016......Current&amp;nbsp; 14 Months&lt;/P&gt;&lt;P&gt;(In HR terms Attrition = Employee Exit)&lt;/P&gt;&lt;P&gt;Rolling Attrition = 14 Months Attrition Emp count/Avg Head count.&lt;/P&gt;&lt;P&gt;Avg Head count= 14 Months Head count/14&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; Variables:&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;vAttritionMonth&lt;/SPAN&gt;=AddMonths(Max([Attrition.Attrition Reporting Month - Orginal]),-13)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;vAttritionMonth1&lt;/SPAN&gt;=AddMonths(Max([Attrition.Attrition Reporting Month - Orginal]),-11)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;vAttritionMonth2&lt;/SPAN&gt;=AddMonths(Max([Attrition.Attrition Reporting Month - Orginal]),-25)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;vHeadCountMonth&lt;/SPAN&gt;=AddMonths(Max(Head_Count.CDate_H),-13)&lt;/P&gt;&lt;P&gt;vHeadCountMonth1=AddMonths(Max(Head_Count.CDate_H),-11)&lt;/P&gt;&lt;P&gt;vHeadCountMonth2=AddMonths(Max(Head_Count.CDate_H),-25)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expressions:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Round&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Attrition.Attrition Reporting Month - Orginal]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'&amp;gt;=$(=vAttritionMonth2)&amp;lt;$(=vAttritionMonth1)'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Attrition.Emp.Id&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;BR /&gt; /&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Round&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Head_Count.CDate_H&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'&amp;gt;=$(=vHeadCountMonth2)&amp;lt;$(=vHeadCountMonth1)'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Head_Count.Emp. Id]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/14)*100)/100 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Round&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Attrition.Attrition Reporting Month - Orginal]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'&amp;gt;=$(=vAttritionMonth)'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Attrition.Emp.Id&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/&lt;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Head_Count.CDate_H&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'&amp;gt;=$(=vHeadCountMonth)'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Head_Count.Emp. Id]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/14)*100)/100 &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Dimension&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;FunctionOthers &lt;/P&gt;&lt;P&gt;Filters:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FunctionOthers &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt;"&gt;Grade&lt;/SPAN&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Krishna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 May 2016 08:18:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-values-picking-wrong/m-p/1118680#M368940</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-21T08:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: variable values picking  wrong</title>
      <link>https://community.qlik.com/t5/QlikView/variable-values-picking-wrong/m-p/1118681#M368941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You divide the headcount by 14 to get a monthly average headcount. But you don't divide the attrition count by any number of months. That's why you get funny numbers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 May 2016 15:12:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-values-picking-wrong/m-p/1118681#M368941</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-05-22T15:12:14Z</dc:date>
    </item>
  </channel>
</rss>

