<?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 what is wrong with set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/what-is-wrong-with-set-analysis/m-p/244494#M1206240</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm guessing those months are strings as they have a leading zero. Try:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sum ([CA HT en euros]) / Sum ( {&amp;lt;Mois='01'&amp;gt;} [CA HT en euros])&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;This expression is respecting the dimension for the record it is in. I'd guess you want something like:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sum ([CA HT en euros]) / Sum ( {&amp;lt;Mois='01'&amp;gt;} TOTAL [CA HT en euros])&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;That will get you the sum for whatever dimension you have divided by the total for January, ignoring the dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Feb 2010 16:04:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-02-24T16:04:41Z</dc:date>
    <item>
      <title>what is wrong with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-wrong-with-set-analysis/m-p/244493#M1206239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have a plot chart with 2 dimension Annee &amp;amp; Mois&lt;/P&gt;&lt;P&gt;I want to calculate for each month an index based on january (Mois=01)&lt;/P&gt;&lt;P&gt;so my expression is:&lt;/P&gt;&lt;P&gt;Sum ([CA HT en euros]) / Sum ( {&amp;lt;Mois=01&amp;gt;} [CA HT en euros])&lt;/P&gt;&lt;P&gt;But no chart is displayed.&lt;/P&gt;&lt;P&gt;In my input table the field Mois take the value 01, 02 , ...., 12&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help&lt;/P&gt;&lt;P&gt;Jean-Jacques&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2010 15:28:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-wrong-with-set-analysis/m-p/244493#M1206239</guid>
      <dc:creator />
      <dc:date>2010-02-24T15:28:47Z</dc:date>
    </item>
    <item>
      <title>what is wrong with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-wrong-with-set-analysis/m-p/244494#M1206240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm guessing those months are strings as they have a leading zero. Try:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sum ([CA HT en euros]) / Sum ( {&amp;lt;Mois='01'&amp;gt;} [CA HT en euros])&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;This expression is respecting the dimension for the record it is in. I'd guess you want something like:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sum ([CA HT en euros]) / Sum ( {&amp;lt;Mois='01'&amp;gt;} TOTAL [CA HT en euros])&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;That will get you the sum for whatever dimension you have divided by the total for January, ignoring the dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2010 16:04:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-wrong-with-set-analysis/m-p/244494#M1206240</guid>
      <dc:creator />
      <dc:date>2010-02-24T16:04:41Z</dc:date>
    </item>
    <item>
      <title>what is wrong with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-wrong-with-set-analysis/m-p/244495#M1206241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks NMiller for your answer but it didn't work. You guessed well about the calculation.&lt;/P&gt;&lt;P&gt;As i have also the year in the file, i created a new field as :&lt;/P&gt;&lt;P&gt;Monthname( Makedate(Annee , Mois)) as MonthName ,&lt;/P&gt;&lt;P&gt;How can write the expression using MonthName = January ? I'm sure you have an idea and allow to bypass the string for Month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JJ&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2010 17:09:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-wrong-with-set-analysis/m-p/244495#M1206241</guid>
      <dc:creator />
      <dc:date>2010-02-24T17:09:59Z</dc:date>
    </item>
    <item>
      <title>what is wrong with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-wrong-with-set-analysis/m-p/244496#M1206242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jean-Jacques,&lt;/P&gt;&lt;P&gt;If you have set a MonthNames variable in your script (it is by default), you may use for your set analysis something like&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;Mois = {$(=Subfield(MonthNames, ';', Num(Mois)))} &amp;gt;} [CA HT en euros])&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;where the subfield function will return your default month name... &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2010 17:43:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-wrong-with-set-analysis/m-p/244496#M1206242</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-02-24T17:43:29Z</dc:date>
    </item>
    <item>
      <title>what is wrong with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-wrong-with-set-analysis/m-p/244497#M1206243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe something like:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sum ([CA HT en euros]) / Sum ( {&amp;lt;MonthName='Jan'&amp;gt;} TOTAL [CA HT en euros])&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;You'll need to verify the format of your MonthName field and format the set modifier accordingly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2010 18:17:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-wrong-with-set-analysis/m-p/244497#M1206243</guid>
      <dc:creator />
      <dc:date>2010-02-24T18:17:00Z</dc:date>
    </item>
  </channel>
</rss>

