<?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 Using one dimension in an other in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-one-dimension-in-an-other-in-set-analysis/m-p/433164#M490008</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try to explain my problem, but sorry if it isn't clear, Englsih is not my langage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two tables with Year and Month in each one, but with a different name so there isn't any link. I can't change anything to that structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I need to use the value of one year and month in the other one. For example :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table Transac =&amp;gt; MoisTransac (month) and AnneeTransac (year)&lt;/P&gt;&lt;P&gt;Table km =&amp;gt; Mois (month) and Annee (year)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I need that the month Mois used in the sum is the same than the value of the month MoisTransac&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already tried this solutions with only the month but it doesn't work :&lt;/P&gt;&lt;PRE __default_attr="html" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13506470081093727" jivemacro_uid="_13506470081093727"&gt;&lt;P&gt;Sum( {&amp;lt;&amp;nbsp; Mois = {"=MoisTransac"}&amp;nbsp; &amp;gt;} [Km_Pro] ) &lt;/P&gt;&lt;P&gt;if(Mois=MoisTransac,[Km_Pro],0)&lt;/P&gt;&lt;P&gt;sum({&amp;lt; Mois=p(MoisTransac)&amp;gt;} [Km_Pro] )&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Oct 2012 11:48:10 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-10-19T11:48:10Z</dc:date>
    <item>
      <title>Using one dimension in an other in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-one-dimension-in-an-other-in-set-analysis/m-p/433164#M490008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try to explain my problem, but sorry if it isn't clear, Englsih is not my langage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two tables with Year and Month in each one, but with a different name so there isn't any link. I can't change anything to that structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I need to use the value of one year and month in the other one. For example :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table Transac =&amp;gt; MoisTransac (month) and AnneeTransac (year)&lt;/P&gt;&lt;P&gt;Table km =&amp;gt; Mois (month) and Annee (year)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I need that the month Mois used in the sum is the same than the value of the month MoisTransac&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already tried this solutions with only the month but it doesn't work :&lt;/P&gt;&lt;PRE __default_attr="html" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13506470081093727" jivemacro_uid="_13506470081093727"&gt;&lt;P&gt;Sum( {&amp;lt;&amp;nbsp; Mois = {"=MoisTransac"}&amp;nbsp; &amp;gt;} [Km_Pro] ) &lt;/P&gt;&lt;P&gt;if(Mois=MoisTransac,[Km_Pro],0)&lt;/P&gt;&lt;P&gt;sum({&amp;lt; Mois=p(MoisTransac)&amp;gt;} [Km_Pro] )&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2012 11:48:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-one-dimension-in-an-other-in-set-analysis/m-p/433164#M490008</guid>
      <dc:creator />
      <dc:date>2012-10-19T11:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: Using one dimension in an other in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-one-dimension-in-an-other-in-set-analysis/m-p/433165#M490009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this expression.this one&amp;nbsp; hopeful for u&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum( {&amp;lt;&amp;nbsp; Mois = {'$(=concat(chr(39)&amp;amp;MoisTransac&amp;amp;chr(39),','))'}&amp;nbsp; &amp;gt;} [Km_Pro] ) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2012 12:04:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-one-dimension-in-an-other-in-set-analysis/m-p/433165#M490009</guid>
      <dc:creator>perumal_41</dc:creator>
      <dc:date>2012-10-19T12:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Using one dimension in an other in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-one-dimension-in-an-other-in-set-analysis/m-p/433166#M490010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your answer, but sadly it doesn't work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2012 12:14:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-one-dimension-in-an-other-in-set-analysis/m-p/433166#M490010</guid>
      <dc:creator />
      <dc:date>2012-10-19T12:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: Using one dimension in an other in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-one-dimension-in-an-other-in-set-analysis/m-p/433167#M490011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please upload sample application for reference&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2012 12:34:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-one-dimension-in-an-other-in-set-analysis/m-p/433167#M490011</guid>
      <dc:creator>perumal_41</dc:creator>
      <dc:date>2012-10-19T12:34:08Z</dc:date>
    </item>
  </channel>
</rss>

