<?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 variabilisation of dimension in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/variabilisation-of-dimension/m-p/1769446#M59507</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have some dimensions : Product1, Product2, Product3, ...I'm using those dimensions in set analysis&lt;/P&gt;&lt;P&gt;I have a filter to select the numero of the product (1, 2, 3 ...)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to set a variable to determine the dimension ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Equivalent to :&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(getfieldselection(value) = 1, sum({&amp;lt;Product1={something}&amp;gt;} measure),&lt;/P&gt;&lt;P&gt;if(getfieldselection(value) = 2, sum({&amp;lt;Product2={something}&amp;gt;} measure),&lt;/P&gt;&lt;P&gt;if(getfieldselection(value) = 3, sum({&amp;lt;Product3={something}&amp;gt;} measure),&lt;/P&gt;&lt;P&gt;))))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like something like :&lt;/P&gt;&lt;P&gt;myvariable = 'Product'&amp;amp;getfieldselection(value)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to do&amp;nbsp;sum({&amp;lt;myvariable={something}&amp;gt;} measure),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 18 Dec 2020 11:58:19 GMT</pubDate>
    <dc:creator>Michaels</dc:creator>
    <dc:date>2020-12-18T11:58:19Z</dc:date>
    <item>
      <title>variabilisation of dimension</title>
      <link>https://community.qlik.com/t5/App-Development/variabilisation-of-dimension/m-p/1769446#M59507</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have some dimensions : Product1, Product2, Product3, ...I'm using those dimensions in set analysis&lt;/P&gt;&lt;P&gt;I have a filter to select the numero of the product (1, 2, 3 ...)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to set a variable to determine the dimension ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Equivalent to :&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(getfieldselection(value) = 1, sum({&amp;lt;Product1={something}&amp;gt;} measure),&lt;/P&gt;&lt;P&gt;if(getfieldselection(value) = 2, sum({&amp;lt;Product2={something}&amp;gt;} measure),&lt;/P&gt;&lt;P&gt;if(getfieldselection(value) = 3, sum({&amp;lt;Product3={something}&amp;gt;} measure),&lt;/P&gt;&lt;P&gt;))))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like something like :&lt;/P&gt;&lt;P&gt;myvariable = 'Product'&amp;amp;getfieldselection(value)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to do&amp;nbsp;sum({&amp;lt;myvariable={something}&amp;gt;} measure),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 11:58:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/variabilisation-of-dimension/m-p/1769446#M59507</guid>
      <dc:creator>Michaels</dc:creator>
      <dc:date>2020-12-18T11:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: variabilisation of dimension</title>
      <link>https://community.qlik.com/t5/App-Development/variabilisation-of-dimension/m-p/1770545#M59621</link>
      <description>&lt;P&gt;Perhaps this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({&amp;lt;YourKey={"=$(myvariable)=something"}&amp;gt;} measure)&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Dec 2020 21:16:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/variabilisation-of-dimension/m-p/1770545#M59621</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2020-12-25T21:16:15Z</dc:date>
    </item>
  </channel>
</rss>

