<?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 Set Analysis: Show minimum week value for each month in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Show-minimum-week-value-for-each-month/m-p/1093187#M363385</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qlik Developers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm facing an issue coming up with a Set Analysis expression to show inventory value for every month in a year (it should show minimum week for every month). When I use the below expression, it shows only value for January (1st week) but other months remain NULL or blank.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if((Only([Month Number])), Sum({$&amp;lt;[Year]={$(=max(Total [Year]))},[Week Number]={$(=min(Total [Week Number]))}&amp;gt;} Inv_Units), Sum({$&amp;lt;[Year]={$(=max(Total [Year]))}&amp;gt;}&amp;nbsp; Inv_Units))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above expression showing only 1st week value for January and blank for others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;January&amp;nbsp;&amp;nbsp; 50&lt;/P&gt;&lt;P&gt;February&amp;nbsp;&amp;nbsp; -&lt;/P&gt;&lt;P&gt;March&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&lt;/P&gt;&lt;P&gt;April&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&lt;/P&gt;&lt;P&gt;and so on....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where as I want to see values for each month (min 1st week for every month not only January)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;January&amp;nbsp;&amp;nbsp; 50&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;February&amp;nbsp; 45&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;March&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 38&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;April&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;and so on....&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I thought of the below expression to achieve the desired results but this was also showing only January.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;=if((Only([Month Number])), Sum({$&amp;lt;[Year]={$(=max(Total [Year]))},[Month Number]={$(=(Total [Month Number]))},[Week Number]={$(=min(Total [Week Number]))}&amp;gt;} Inv_Units), Sum({$&amp;lt;[Year]={$(=max(Total [Year]))}&amp;gt;}&amp;nbsp; Inv_Units))&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I would really appreciate your help!!&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thanks!&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Vidit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Apr 2016 14:04:29 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-04-11T14:04:29Z</dc:date>
    <item>
      <title>Set Analysis: Show minimum week value for each month</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Show-minimum-week-value-for-each-month/m-p/1093187#M363385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qlik Developers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm facing an issue coming up with a Set Analysis expression to show inventory value for every month in a year (it should show minimum week for every month). When I use the below expression, it shows only value for January (1st week) but other months remain NULL or blank.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if((Only([Month Number])), Sum({$&amp;lt;[Year]={$(=max(Total [Year]))},[Week Number]={$(=min(Total [Week Number]))}&amp;gt;} Inv_Units), Sum({$&amp;lt;[Year]={$(=max(Total [Year]))}&amp;gt;}&amp;nbsp; Inv_Units))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above expression showing only 1st week value for January and blank for others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;January&amp;nbsp;&amp;nbsp; 50&lt;/P&gt;&lt;P&gt;February&amp;nbsp;&amp;nbsp; -&lt;/P&gt;&lt;P&gt;March&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&lt;/P&gt;&lt;P&gt;April&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&lt;/P&gt;&lt;P&gt;and so on....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where as I want to see values for each month (min 1st week for every month not only January)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;January&amp;nbsp;&amp;nbsp; 50&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;February&amp;nbsp; 45&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;March&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 38&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;April&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;and so on....&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I thought of the below expression to achieve the desired results but this was also showing only January.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;=if((Only([Month Number])), Sum({$&amp;lt;[Year]={$(=max(Total [Year]))},[Month Number]={$(=(Total [Month Number]))},[Week Number]={$(=min(Total [Week Number]))}&amp;gt;} Inv_Units), Sum({$&amp;lt;[Year]={$(=max(Total [Year]))}&amp;gt;}&amp;nbsp; Inv_Units))&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I would really appreciate your help!!&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thanks!&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Vidit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2016 14:04:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Show-minimum-week-value-for-each-month/m-p/1093187#M363385</guid>
      <dc:creator />
      <dc:date>2016-04-11T14:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: Show minimum week value for each month</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Show-minimum-week-value-for-each-month/m-p/1093188#M363386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample to look at?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2016 15:41:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Show-minimum-week-value-for-each-month/m-p/1093188#M363386</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-11T15:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: Show minimum week value for each month</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Show-minimum-week-value-for-each-month/m-p/1093189#M363387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't share much but here is a screen shot. If you see all other months are 0 but only feb shows value. We follow retail calendar so our first month is Feb (Just to clear out confusion).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Vidit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikSetAnalysis.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/121238_QlikSetAnalysis.jpg" style="height: 433px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2016 15:47:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Show-minimum-week-value-for-each-month/m-p/1093189#M363387</guid>
      <dc:creator />
      <dc:date>2016-04-11T15:47:31Z</dc:date>
    </item>
  </channel>
</rss>

