<?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: using variable and text in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/using-variable-and-text-in-set-analysis/m-p/1855998#M1215888</link>
    <description>&lt;P&gt;Hi Chris,&lt;/P&gt;
&lt;P&gt;Is there any reason why you wouldn't just create a variable that contained the full text, e.g. Backlog1, Backlog 2, etc.?&amp;nbsp; Concatenating within a set analysis expression, whether possible or not, will make your expression less readable.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Nov 2021 11:44:43 GMT</pubDate>
    <dc:creator>rbartley</dc:creator>
    <dc:date>2021-11-05T11:44:43Z</dc:date>
    <item>
      <title>using variable and text in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/using-variable-and-text-in-set-analysis/m-p/1855983#M1215886</link>
      <description>&lt;P&gt;Hi further to a previous post i am using set analysis to dispay one value in a text box.&lt;/P&gt;
&lt;P&gt;My simplified data is as below:&lt;/P&gt;
&lt;TABLE border="1" width="97.92682926829268%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="25%"&gt;ID&lt;/TD&gt;
&lt;TD width="25%"&gt;Area&lt;/TD&gt;
&lt;TD width="25%"&gt;Manager&lt;/TD&gt;
&lt;TD width="25%"&gt;Status&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%"&gt;Backlog1&lt;/TD&gt;
&lt;TD width="25%"&gt;Northwest&lt;/TD&gt;
&lt;TD width="25%"&gt;Jenny&lt;/TD&gt;
&lt;TD width="25%"&gt;Active&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%"&gt;Backlog2&lt;/TD&gt;
&lt;TD width="25%"&gt;Northeast&lt;/TD&gt;
&lt;TD width="25%"&gt;Steve&lt;/TD&gt;
&lt;TD width="25%"&gt;Closed&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%"&gt;Backlog3&lt;/TD&gt;
&lt;TD width="25%"&gt;Southwest&lt;/TD&gt;
&lt;TD width="25%"&gt;Mike&lt;/TD&gt;
&lt;TD width="25%"&gt;Active&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;InProgress1&lt;/TD&gt;
&lt;TD&gt;Southeast&lt;/TD&gt;
&lt;TD&gt;Carol&lt;/TD&gt;
&lt;TD&gt;Closed&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;=Only({$&amp;lt;ID={Backlog1}&amp;gt;} Area)&lt;/STRONG&gt; to display in a text box the Area related to the first ID and another for the second and so on.&lt;/P&gt;
&lt;P&gt;What i want to do is make the ID in the set analysis a variable (so that i can set some record set selection buttons up)... I assume that i can do this with a straight variable - i.e. a variable with a value of "Backlog1" (or "backlog"&amp;amp; number) however is there a way for me to do that within the formula itself.&lt;/P&gt;
&lt;P&gt;To put another way is it possible to create a set analysis that has a string concatenation like this&amp;nbsp; &lt;STRONG&gt;=Only({$&amp;lt;ID={"Backlog"&amp;amp;vNum}&amp;gt;} Area)&lt;/STRONG&gt;&amp;nbsp;combining the word backlog and the variable number?&lt;/P&gt;
&lt;P&gt;As always looking forward to suggestions!&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2021 11:10:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-variable-and-text-in-set-analysis/m-p/1855983#M1215886</guid>
      <dc:creator>chrismtb</dc:creator>
      <dc:date>2021-11-05T11:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: using variable and text in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/using-variable-and-text-in-set-analysis/m-p/1855998#M1215888</link>
      <description>&lt;P&gt;Hi Chris,&lt;/P&gt;
&lt;P&gt;Is there any reason why you wouldn't just create a variable that contained the full text, e.g. Backlog1, Backlog 2, etc.?&amp;nbsp; Concatenating within a set analysis expression, whether possible or not, will make your expression less readable.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2021 11:44:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-variable-and-text-in-set-analysis/m-p/1855998#M1215888</guid>
      <dc:creator>rbartley</dc:creator>
      <dc:date>2021-11-05T11:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: using variable and text in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/using-variable-and-text-in-set-analysis/m-p/1856010#M1215891</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Partly curiosity to see what the art of the possible is, but also scaleabilty - if i have say 10 IDs for "backlog" i also have items for 5 other catagories that I would be looking to do the same for (e.g. InProgress1 from the example above)...&amp;nbsp;&lt;/P&gt;
&lt;P&gt;therefore if i held the full text in the variable i would require variables for 10 items x 6 catagories = 60 variables.&lt;/P&gt;
&lt;P&gt;If i can do it within the formula i can hold just the numbers in the variables and amend the formula for the catagories... that way i would only hold 10 variables.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2021 12:01:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-variable-and-text-in-set-analysis/m-p/1856010#M1215891</guid>
      <dc:creator>chrismtb</dc:creator>
      <dc:date>2021-11-05T12:01:09Z</dc:date>
    </item>
  </channel>
</rss>

