<?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: Comparing 2 alternate states in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparing-2-alternate-states-in-set-analysis/m-p/1221380#M390469</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can't provide data source but basically&lt;/P&gt;&lt;P&gt;PeriodA sales = sum( {[PeriodA]&amp;lt;StoreCode =$::StoreCode&amp;gt;} SalesValue)&lt;/P&gt;&lt;P&gt;PeriodB sales = sum( {[PeriodB]&amp;lt;StoreCode =$::StoreCode&amp;gt;} SalesValue)&lt;/P&gt;&lt;P&gt;Diff = [PeriodB sales] - [PeriodA sales]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and there are 2 listboxes each for year and month assigned to Period A and B. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Nov 2016 09:08:27 GMT</pubDate>
    <dc:creator>ninnartx</dc:creator>
    <dc:date>2016-11-24T09:08:27Z</dc:date>
    <item>
      <title>Comparing 2 alternate states in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-2-alternate-states-in-set-analysis/m-p/1221378#M390467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need some help with alternate states and set analysis. &lt;/P&gt;&lt;P&gt;The alternate state is set up in a way that users can select 2 different periods and see how much their sales increased or decreased, as seen from the picture attached. &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/144721_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;However, I would like to be able to count the number of products in each category. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;For example, decreased = 3, increased = 2. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;So I'm a little stuck trying to incorporate alternate state, aggr, and set analysis together. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Could someone provide me with a guideline pls? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thank you!!! &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 08:47:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-2-alternate-states-in-set-analysis/m-p/1221378#M390467</guid>
      <dc:creator>ninnartx</dc:creator>
      <dc:date>2016-11-24T08:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing 2 alternate states in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-2-alternate-states-in-set-analysis/m-p/1221379#M390468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you provide source data and how you have used alternate state here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 08:52:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-2-alternate-states-in-set-analysis/m-p/1221379#M390468</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2016-11-24T08:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing 2 alternate states in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-2-alternate-states-in-set-analysis/m-p/1221380#M390469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can't provide data source but basically&lt;/P&gt;&lt;P&gt;PeriodA sales = sum( {[PeriodA]&amp;lt;StoreCode =$::StoreCode&amp;gt;} SalesValue)&lt;/P&gt;&lt;P&gt;PeriodB sales = sum( {[PeriodB]&amp;lt;StoreCode =$::StoreCode&amp;gt;} SalesValue)&lt;/P&gt;&lt;P&gt;Diff = [PeriodB sales] - [PeriodA sales]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and there are 2 listboxes each for year and month assigned to Period A and B. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 09:08:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-2-alternate-states-in-set-analysis/m-p/1221380#M390469</guid>
      <dc:creator>ninnartx</dc:creator>
      <dc:date>2016-11-24T09:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing 2 alternate states in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-2-alternate-states-in-set-analysis/m-p/1221381#M390470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where you want to display this?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;However, I would like to be able to count the number of products in each category.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 09:26:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-2-alternate-states-in-set-analysis/m-p/1221381#M390470</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2016-11-24T09:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing 2 alternate states in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-2-alternate-states-in-set-analysis/m-p/1221382#M390471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in another text or chart (straight table) object. &lt;BR /&gt;Like at the top of the dashboard there will be 2 huge numbers that say&lt;BR /&gt;# of products which sales increased = 2&lt;/P&gt;&lt;P&gt;# of products which sales decreased = 3&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 09:31:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-2-alternate-states-in-set-analysis/m-p/1221382#M390471</guid>
      <dc:creator>ninnartx</dc:creator>
      <dc:date>2016-11-24T09:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing 2 alternate states in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-2-alternate-states-in-set-analysis/m-p/1221383#M390472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For Decreased...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=SUM(Aggr(IF(sum({PeriodB&amp;lt;StoreCode =$::StoreCode&amp;gt;}SalesValue)-sum({PeriodA&amp;lt;StoreCode =$::StoreCode&amp;gt;}SalesValue)&amp;lt;0,1),Product))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Increased..&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=SUM(Aggr(IF(sum({PeriodB&amp;lt;StoreCode =$::StoreCode&amp;gt;}SalesValue)-sum({PeriodA&amp;lt;StoreCode =$::StoreCode&amp;gt;}SalesValue)&amp;gt;0,1),Product))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For No Change&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=SUM(Aggr(IF(sum({PeriodB&amp;lt;StoreCode =$::StoreCode&amp;gt;}SalesValue)-sum({PeriodA&amp;lt;StoreCode =$::StoreCode&amp;gt;}SalesValue)=0,1),Product))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 09:40:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-2-alternate-states-in-set-analysis/m-p/1221383#M390472</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2016-11-24T09:40:49Z</dc:date>
    </item>
  </channel>
</rss>

