<?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: Variable with set analysis function throws error while using in the table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Variable-with-set-analysis-function-throws-error-while-using-in/m-p/1727159#M55424</link>
    <description>&lt;P&gt;Well variable can be created in many ways but it depends on the scenarios.&lt;/P&gt;&lt;P&gt;Would you able to provide the example of what exactly you want to do?&lt;/P&gt;</description>
    <pubDate>Sun, 12 Jul 2020 22:42:07 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2020-07-12T22:42:07Z</dc:date>
    <item>
      <title>Variable with set analysis function throws error while using in the table</title>
      <link>https://community.qlik.com/t5/App-Development/Variable-with-set-analysis-function-throws-error-while-using-in/m-p/1727149#M55420</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have created a variable using set analysis function, which evaluated based on user function.&lt;/P&gt;&lt;P&gt;Var1 =&amp;nbsp;'=only({&amp;lt;Month={' &amp;amp; '$' &amp;amp; '(=GetFieldSelections(Months))}&amp;gt;}Price)';&lt;/P&gt;&lt;P&gt;This variable evaulates the expression and assigns a value. $(Var1) = 10&lt;/P&gt;&lt;P&gt;I want to use the same variable as a measure field in a table but it throws an error.&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;$(var1) as Price&lt;/P&gt;&lt;P&gt;Is this the right way to call a variable in the script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jul 2020 22:05:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variable-with-set-analysis-function-throws-error-while-using-in/m-p/1727149#M55420</guid>
      <dc:creator>RMQLIKUSER</dc:creator>
      <dc:date>2020-07-12T22:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Variable with set analysis function throws error while using in the table</title>
      <link>https://community.qlik.com/t5/App-Development/Variable-with-set-analysis-function-throws-error-while-using-in/m-p/1727153#M55422</link>
      <description>&lt;P&gt;Your formula uses set analysis , hence it can't be run in script as it will only work in measure in front end.&amp;nbsp; Also your using&amp;nbsp;&lt;SPAN&gt;GetFieldSelections functions inside the set which is again specific to front end and can't be run in script.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Based on your requirement may be we can suggest the other way to fulfill your requirement&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jul 2020 22:21:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variable-with-set-analysis-function-throws-error-while-using-in/m-p/1727153#M55422</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-07-12T22:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: Variable with set analysis function throws error while using in the table</title>
      <link>https://community.qlik.com/t5/App-Development/Variable-with-set-analysis-function-throws-error-while-using-in/m-p/1727156#M55423</link>
      <description>&lt;P&gt;Sure. Is there any other way to create this variable which can be further used in a table to re-calculate the final price.&lt;/P&gt;&lt;P&gt;The variable should change every time the user selects a month.&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jul 2020 22:28:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variable-with-set-analysis-function-throws-error-while-using-in/m-p/1727156#M55423</guid>
      <dc:creator>RMQLIKUSER</dc:creator>
      <dc:date>2020-07-12T22:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Variable with set analysis function throws error while using in the table</title>
      <link>https://community.qlik.com/t5/App-Development/Variable-with-set-analysis-function-throws-error-while-using-in/m-p/1727159#M55424</link>
      <description>&lt;P&gt;Well variable can be created in many ways but it depends on the scenarios.&lt;/P&gt;&lt;P&gt;Would you able to provide the example of what exactly you want to do?&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jul 2020 22:42:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variable-with-set-analysis-function-throws-error-while-using-in/m-p/1727159#M55424</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-07-12T22:42:07Z</dc:date>
    </item>
  </channel>
</rss>

