<?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 How can I access a specific variable according to a dimension value? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-can-I-access-a-specific-variable-according-to-a-dimension/m-p/312799#M499107</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;I have two ideas:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) If I have a variable vDate1, and set it to a Date&lt;/P&gt;&lt;P&gt;=$(='vDate'&amp;amp;'1')&lt;/P&gt;&lt;P&gt;will call that variable value (e.g. in a text box) and prints out the correct date, i.e. you can use so called dollar sign expression to evaluate the string (giving a variable name, evaluating to the date).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) You could maybe also make use of the input fields instead of variables, allowing you to change the values of the fields elements in the front end. You can use this field as forecast parameter input and just link it to your week field 1:1. Using week as dimension should give your the parameter for this week for free then.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 31 Jul 2011 00:30:15 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2011-07-31T00:30:15Z</dc:date>
    <item>
      <title>How can I access a specific variable according to a dimension value?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-access-a-specific-variable-according-to-a-dimension/m-p/312798#M499106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello everybody,&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;I'm a qlikview newbye, so please forgive me if I don't use a correct terminology.&lt;/DIV&gt;&lt;DIV&gt;I'm trying to create an application where a user can set weekly coefficients (using sliders) to shape income forecast. In my application I have a simple line-chart with "week" as dimension and Sum(SellOut_qty) as expression.&lt;/DIV&gt;&lt;DIV&gt; What I can do is:&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;- create a variable for each week&lt;/LI&gt;&lt;LI&gt;- link each slider to a variable&lt;/LI&gt;&lt;LI&gt;- place a sequence of 52 if clauses in the expression to check which is the week and use the correct variable as coefficient&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Obviously this looks very tricky to me. &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; Is there a way to get dynamically a variable according to dimension value. I'm thinking, in example, about using a dinamic string to get the variable (something like vaiables["myVariable"]) &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Thanks in advance for your help&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 10:44:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-access-a-specific-variable-according-to-a-dimension/m-p/312798#M499106</guid>
      <dc:creator />
      <dc:date>2011-07-28T10:44:53Z</dc:date>
    </item>
    <item>
      <title>How can I access a specific variable according to a dimension value?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-access-a-specific-variable-according-to-a-dimension/m-p/312799#M499107</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;I have two ideas:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) If I have a variable vDate1, and set it to a Date&lt;/P&gt;&lt;P&gt;=$(='vDate'&amp;amp;'1')&lt;/P&gt;&lt;P&gt;will call that variable value (e.g. in a text box) and prints out the correct date, i.e. you can use so called dollar sign expression to evaluate the string (giving a variable name, evaluating to the date).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) You could maybe also make use of the input fields instead of variables, allowing you to change the values of the fields elements in the front end. You can use this field as forecast parameter input and just link it to your week field 1:1. Using week as dimension should give your the parameter for this week for free then.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Jul 2011 00:30:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-access-a-specific-variable-according-to-a-dimension/m-p/312799#M499107</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-07-31T00:30:15Z</dc:date>
    </item>
    <item>
      <title>How can I access a specific variable according to a dimension value?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-access-a-specific-variable-according-to-a-dimension/m-p/312800#M499108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Stefan, The "idea" 1 is exactly what I was looking for. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2011 09:47:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-access-a-specific-variable-according-to-a-dimension/m-p/312800#M499108</guid>
      <dc:creator />
      <dc:date>2011-08-01T09:47:05Z</dc:date>
    </item>
  </channel>
</rss>

