<?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: Changing fields for formulas with selection outside the formula itself in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Changing-fields-for-formulas-with-selection-outside-the-formula/m-p/1459068#M795138</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;thanks a lot. I will try to implement it tonight (QlikSense is more of a Hobby)&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Daniela&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Jan 2018 09:49:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-01-12T09:49:21Z</dc:date>
    <item>
      <title>Changing fields for formulas with selection outside the formula itself</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-fields-for-formulas-with-selection-outside-the-formula/m-p/1459064#M795134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I would like to define a visuasilation based on changing fields, i.e. I have five fields and want to be able to select them by a filter? drop-down list? and then the field should be the basis for a formula. Can anybody tell me how to do this? Thanks, Daniela&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-fields-for-formulas-with-selection-outside-the-formula/m-p/1459064#M795134</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Changing fields for formulas with selection outside the formula itself</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-fields-for-formulas-with-selection-outside-the-formula/m-p/1459065#M795135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you're using Qlikview you can create a Cyclic group that contains the five fields. You can use the group as dimension in the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you can use create small extra table in the script that contains the field names:&lt;/P&gt;&lt;P&gt;FieldsForSelection:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;FieldName&lt;/P&gt;&lt;P&gt;Store&lt;/P&gt;&lt;P&gt;Product&lt;/P&gt;&lt;P&gt;Brand&lt;/P&gt;&lt;P&gt;Customer&lt;/P&gt;&lt;P&gt;Salesperson&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add a listbox for the FieldsForSelection field. Select one value and then enable the Always One Selected Value option in the properties of the listbox.&lt;/P&gt;&lt;P&gt;You can then use a calculated dimension like &lt;EM&gt;=$('[' &amp;amp; Only(FieldName) &amp;amp; ']')&lt;/EM&gt; as dimension in the chart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2018 17:43:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-fields-for-formulas-with-selection-outside-the-formula/m-p/1459065#M795135</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2018-01-04T17:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: Changing fields for formulas with selection outside the formula itself</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-fields-for-formulas-with-selection-outside-the-formula/m-p/1459066#M795136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Refer to the attached sample,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dimension: &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;=$(=only(Dimension))&lt;/P&gt;&lt;P&gt;Measure:&lt;/P&gt;&lt;P&gt;sum(Sales)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/188952_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;fyi, below is back end script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_1515088571103173" jivemacro_uid="_1515088571103173"&gt;
&lt;P&gt;&lt;STRONG&gt;Fact:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Load * Inline [&lt;/P&gt;
&lt;P&gt;Year,Country,Product,Sales&lt;/P&gt;
&lt;P&gt;2015,India,A,1500&lt;/P&gt;
&lt;P&gt;2016,India,B,2200&lt;/P&gt;
&lt;P&gt;2017,India,C,3050&lt;/P&gt;
&lt;P&gt;2015,Singapore,1950&lt;/P&gt;
&lt;P&gt;2016,Singapore,2060&lt;/P&gt;
&lt;P&gt;2017,Singapore,3500&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Dimensionlist:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Load * Inline [&lt;/P&gt;
&lt;P&gt;Dimension&lt;/P&gt;
&lt;P&gt;Year&lt;/P&gt;
&lt;P&gt;Country&lt;/P&gt;
&lt;P&gt;Product&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2018 17:57:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-fields-for-formulas-with-selection-outside-the-formula/m-p/1459066#M795136</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2018-01-04T17:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: Changing fields for formulas with selection outside the formula itself</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-fields-for-formulas-with-selection-outside-the-formula/m-p/1459067#M795137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Gysbert,&lt;/P&gt;&lt;P&gt;thanks a lot and sorry for the delay in answering. QlikSense is more of a hobby... I will try to implement, even though my trial gave me an Syntax error regarding "LOAD * INLINE [". It might be the language.&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Daniela&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2018 09:48:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-fields-for-formulas-with-selection-outside-the-formula/m-p/1459067#M795137</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-12T09:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Changing fields for formulas with selection outside the formula itself</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-fields-for-formulas-with-selection-outside-the-formula/m-p/1459068#M795138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;thanks a lot. I will try to implement it tonight (QlikSense is more of a Hobby)&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Daniela&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2018 09:49:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-fields-for-formulas-with-selection-outside-the-formula/m-p/1459068#M795138</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-12T09:49:21Z</dc:date>
    </item>
  </channel>
</rss>

