<?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. :Re: Set analysis Syntax in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-Syntax/m-p/187695#M504255</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well thx a lot Miguel, your syntax just work fine. Very helpful !!!&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Dec 2009 16:48:00 GMT</pubDate>
    <dc:creator>alex59800</dc:creator>
    <dc:date>2009-12-15T16:48:00Z</dc:date>
    <item>
      <title>Set analysis Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Syntax/m-p/187692#M504252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I am quite a beginner in set analysis syntax so i would need your help:&lt;/P&gt;&lt;P&gt;I have two dimensions i want to use in a set analysis expression to format my table:&lt;/P&gt;&lt;P&gt;-Distribution networks (going from 01 to 22 in text format)&lt;/P&gt;&lt;P&gt;-Analytics families (going from 98510 to 98599 in numeric format)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use ONLY(YEAR) and ONLY(YEAR)-1 to select variable periods following monthly and daily Sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With distribution networks and analytics families in dimension, my first expression column is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;FIRST COLUMN&lt;/B&gt; to traduce turnover for ANALYTICS &amp;gt;98518 and &amp;lt;98527 in distribution networks 01 and 07 (it's working maybe there is more simple expression ...???):&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;YEAR={$(=ONLY(YEAR)-1)} [ANALYTICS] = {'&amp;lt; 98518'} [DISTRIB NETWORKS]={'07'} &amp;gt;} [SALES]) + sum({&amp;lt;YEAR={$(=ONLY(YEAR)-1)} [ANALYTICS] = {'&amp;lt; 98518'} [DISTRIB NETWORKS]={'01'} &amp;gt;} [SALES])+&lt;BR /&gt;sum({&amp;lt;YEAR={$(=ONLY(YEAR)-1)} [ANALYTICS] = {'&amp;gt; 98527'} [DISTRIB NETWORKS]={'07'} &amp;gt;} [SALES]) + sum({&amp;lt;YEAR={$(=ONLY(YEAR)-1)} [ANALYTICS] = {'&amp;gt; 98527'} [DISTRIB NETWORKS]={'01'} &amp;gt;} [SALES])&lt;/P&gt;&lt;P&gt;&lt;B&gt;SECOND COLUMN&lt;/B&gt; to traduce turnover for ANALYTICS &amp;lt;98518 in distribution networks different from 01 and 07 &lt;B&gt;(I NEED HELP on that)&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;THIRD COLUMN&lt;/B&gt; to traduce turnover for ANALYTICS from 98518 included to 98521 included whatever the distribution network is. &lt;B&gt;(I NEED HELP on that)&lt;/B&gt;&lt;/P&gt;&lt;P&gt;FOURTH COLUMN to traduce turnover for ANALYTICS from 98522 included to 98527 included whatever the distribution network is. &lt;B&gt;(I NEED HELP on that)&lt;/B&gt;&lt;/P&gt;&lt;P&gt;thanks guys&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2009 15:29:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Syntax/m-p/187692#M504252</guid>
      <dc:creator>alex59800</dc:creator>
      <dc:date>2009-12-15T15:29:18Z</dc:date>
    </item>
    <item>
      <title>Set analysis Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Syntax/m-p/187693#M504253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dauchy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Dauchy wrote:&lt;STRONG&gt;FIRST COLUMN&lt;/STRONG&gt; to traduce turnover for ANALYTICS &amp;gt;98518 and&amp;lt;98527 in distribution networks 01 and 07 (it's working maybe thereis more simple expression ...???):&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Actually, I'd try something (untested but in any case, very similar), to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=sum({&amp;lt;YEAR={$(=ONLY(YEAR)-1)} [ANALYTICS] = {"&amp;gt;98518&amp;lt;98527"}, [DISTRIBUTION NETWORK]={"01","07"} &amp;gt;} [SALES])&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;By the way, I see [ANALYTICS] field with two different ranges of values: 98000 and 01/07 so I understand that you mean&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;[DISTRIBUTION NETWORK]='01'&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;instead of &lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;[ANALYTICS]='01'&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;Let me know if I'm wrong. &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;STRONG&gt;&lt;BR /&gt;Dauchy wrote:&lt;BR /&gt;SECOND COLUMN&lt;/STRONG&gt; to traduce turnover for ANALYTICS &amp;lt;98518 in distribution networks different from 01 and 07 &lt;STRONG&gt;(I NEED HELP on that)&lt;/STRONG&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;PRE style="margin: 0px;"&gt;&lt;STRONG&gt;=sum({&amp;lt;YEAR={$(=ONLY(YEAR)-1)} [ANALYTICS] = {"&amp;lt;98518"}, [DISTRIBUTION NETWORK]-={"01","07"} &amp;gt;} [SALES])&lt;/STRONG&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;DIV&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;STRONG&gt;&lt;BR /&gt;Dauchy wrote:&lt;BR /&gt;THIRD COLUMN&lt;/STRONG&gt; to traduce turnover for ANALYTICS from 98518 included to 98521 included whatever the distribution network is. &lt;STRONG&gt;(I NEED HELP on that)&lt;/STRONG&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=sum({&amp;lt;YEAR={$(=ONLY(YEAR)-1)} [ANALYTICS] = {"&amp;gt;=98518&amp;lt;=98521"} &amp;gt;} [SALES])&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;DIV&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Dauchy wrote:FOURTH COLUMN to traduce turnover for ANALYTICS from 98522 included to 98527 included whatever the distribution network is. &lt;STRONG&gt;(I NEED HELP on that)&lt;/STRONG&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=sum({&amp;lt;YEAR={$(=ONLY(YEAR)-1)} [ANALYTICS] = {"&amp;gt;=98522&amp;lt;=98527"} &amp;gt;} [SALES])&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;DIV&gt;Hope this helps&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2009 16:02:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Syntax/m-p/187693#M504253</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2009-12-15T16:02:50Z</dc:date>
    </item>
    <item>
      <title>Re. :Re: Set analysis Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Syntax/m-p/187694#M504254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi miguel&lt;/P&gt;&lt;P&gt;You're totally right, i made a mistake by translating my expression from french to english. I corrected it. 01 and 07 are for distribution networks, not for analytics. I'm gonna test your syntax and i 'll be back soon.&lt;/P&gt;&lt;P&gt;Thax a lot for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2009 16:13:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Syntax/m-p/187694#M504254</guid>
      <dc:creator>alex59800</dc:creator>
      <dc:date>2009-12-15T16:13:40Z</dc:date>
    </item>
    <item>
      <title>Re. :Re: Set analysis Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Syntax/m-p/187695#M504255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well thx a lot Miguel, your syntax just work fine. Very helpful !!!&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2009 16:48:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Syntax/m-p/187695#M504255</guid>
      <dc:creator>alex59800</dc:creator>
      <dc:date>2009-12-15T16:48:00Z</dc:date>
    </item>
  </channel>
</rss>

