<?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: SET Analysis Question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SET-Analysis-Question/m-p/839281#M295019</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have fields like [Month/Year] ,[DateKey] , [ItemID] , [LeadTime]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating the line chart showing &lt;STRONG style="color: #0000ff;"&gt;LeadTimeGap % measure&lt;/STRONG&gt; for each Month/Year. So Dimension is Month/Year. I want to &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;s&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #ff0000;"&gt;&lt;STRONG&gt;how all the Month/Year even though I select the Month/Year on LB&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find below Nr &amp;amp; Dr parts:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Denominator is pretty Straight Forward: Total No of ItemID's in the May-2015 month&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count( &lt;STRONG style="color: #ff0000;"&gt;{&amp;lt;[Month/Year]=&amp;gt;}&lt;/STRONG&gt; DISTINCT [ItemID] ) --&amp;gt; I added the SET to ignore the [Month/Year] selections&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Numerator calculation is little complex. I need to count ItemID only if &lt;STRONG style="color: #ff00ff;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="color: #ff00ff;"&gt;&lt;STRONG style="color: #ff00ff;"&gt; ItemID current Month avg LeadTime ) - (ItemID Prev 6 Months avg LeadTime) must b/n -1 to 1&lt;/STRONG&gt;. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure how to write Nr expression in SET analysis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Jun 2015 18:32:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-06-05T18:32:11Z</dc:date>
    <item>
      <title>SET Analysis Question</title>
      <link>https://community.qlik.com/t5/QlikView/SET-Analysis-Question/m-p/839279#M295017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All, I am trying to calculation the % for Each Month/Year. and please find the below steps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension: Month/Year [May-2015, Apr-2015 etc]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt; Basic:&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Sum of ItemID if ItemID avg LeadTime - Prev 6 Months avg LeadTime range -1 to 1 then 1 else 0&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp; &lt;STRONG style=": ; color: #993366;"&gt;/&lt;/STRONG&gt; &lt;STRONG style="color: #ff00ff;"&gt;[Count of ItemID for Month]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How Can I write this on SET Analysis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 18:10:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-Analysis-Question/m-p/839279#M295017</guid>
      <dc:creator />
      <dc:date>2015-06-05T18:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: SET Analysis Question</title>
      <link>https://community.qlik.com/t5/QlikView/SET-Analysis-Question/m-p/839280#M295018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its hard to understand your expression. Would you be able to put it in words of what you are trying to do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 18:12:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-Analysis-Question/m-p/839280#M295018</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-05T18:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: SET Analysis Question</title>
      <link>https://community.qlik.com/t5/QlikView/SET-Analysis-Question/m-p/839281#M295019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have fields like [Month/Year] ,[DateKey] , [ItemID] , [LeadTime]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating the line chart showing &lt;STRONG style="color: #0000ff;"&gt;LeadTimeGap % measure&lt;/STRONG&gt; for each Month/Year. So Dimension is Month/Year. I want to &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;s&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #ff0000;"&gt;&lt;STRONG&gt;how all the Month/Year even though I select the Month/Year on LB&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find below Nr &amp;amp; Dr parts:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Denominator is pretty Straight Forward: Total No of ItemID's in the May-2015 month&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count( &lt;STRONG style="color: #ff0000;"&gt;{&amp;lt;[Month/Year]=&amp;gt;}&lt;/STRONG&gt; DISTINCT [ItemID] ) --&amp;gt; I added the SET to ignore the [Month/Year] selections&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Numerator calculation is little complex. I need to count ItemID only if &lt;STRONG style="color: #ff00ff;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="color: #ff00ff;"&gt;&lt;STRONG style="color: #ff00ff;"&gt; ItemID current Month avg LeadTime ) - (ItemID Prev 6 Months avg LeadTime) must b/n -1 to 1&lt;/STRONG&gt;. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure how to write Nr expression in SET analysis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 18:32:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-Analysis-Question/m-p/839281#M295019</guid>
      <dc:creator />
      <dc:date>2015-06-05T18:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: SET Analysis Question</title>
      <link>https://community.qlik.com/t5/QlikView/SET-Analysis-Question/m-p/839282#M295020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any thoughts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jun 2015 12:52:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-Analysis-Question/m-p/839282#M295020</guid>
      <dc:creator />
      <dc:date>2015-06-06T12:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: SET Analysis Question</title>
      <link>https://community.qlik.com/t5/QlikView/SET-Analysis-Question/m-p/839283#M295021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It may or may not work with set analysis.&amp;nbsp; Besides, not enough information to give you the precise answer.&amp;nbsp; From the available information, here is the directions:&lt;/P&gt;&lt;P&gt;count(distinct&lt;/P&gt;&lt;P&gt; if((&lt;EM&gt;CurrentMonthAvgLeadTime - Prev6MonthAvgLeadTime&lt;/EM&gt;) &amp;gt;-1&lt;/P&gt;&lt;P&gt;&amp;nbsp; and (&lt;EM&gt;CurrentMonthAvgLeadTime - Prev6MonthAvgLeadTime&lt;/EM&gt;) &amp;lt; 1,&lt;/P&gt;&lt;P&gt; ItemID))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to substitute the&lt;/P&gt;&lt;P&gt;&lt;EM&gt;CurrentMonthAvgLeadTime&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Prev6MonthAvgLeadTime&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;with your actual expressions of course.&lt;/P&gt;&lt;P&gt;Or, upload an example of your app for a more specific answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jun 2015 19:00:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-Analysis-Question/m-p/839283#M295021</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-06T19:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: SET Analysis Question</title>
      <link>https://community.qlik.com/t5/QlikView/SET-Analysis-Question/m-p/839284#M295022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael, Please find the attached qvw for reference:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the formula for avg Lead Time&lt;/P&gt;&lt;P&gt;avg LeadTime = avg( Actual_Lead_Time)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: because of huge data, I attached for 3months&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 20:20:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-Analysis-Question/m-p/839284#M295022</guid>
      <dc:creator />
      <dc:date>2015-06-09T20:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: SET Analysis Question</title>
      <link>https://community.qlik.com/t5/QlikView/SET-Analysis-Question/m-p/839285#M295023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have no idea what you're trying to calculate. Can you give an example using actual numbers? Perhaps an excel file with some example calculations?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 18:50:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-Analysis-Question/m-p/839285#M295023</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-06-11T18:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: SET Analysis Question</title>
      <link>https://community.qlik.com/t5/QlikView/SET-Analysis-Question/m-p/839286#M295024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gysbert, Please find the attached excel with sample data and I explained my calculation in the other tab as well. The &lt;STRONG&gt;data&lt;/STRONG&gt; tab is my data and I explained calculations on &lt;STRONG&gt;OUTPUT&lt;/STRONG&gt; tab. Please let me know in case of any concerns.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jun 2015 02:10:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-Analysis-Question/m-p/839286#M295024</guid>
      <dc:creator />
      <dc:date>2015-06-14T02:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: SET Analysis Question</title>
      <link>https://community.qlik.com/t5/QlikView/SET-Analysis-Question/m-p/839287#M295025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good, that excel file certainly helped to explain your question. See attached qvw for a solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jun 2015 16:55:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-Analysis-Question/m-p/839287#M295025</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-06-14T16:55:55Z</dc:date>
    </item>
  </channel>
</rss>

