<?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 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/variable/m-p/950154#M326837</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;variable1:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({$&amp;lt;ACCOUNT_CODE = {43301,43302,43303,43304}&amp;gt;} PERIOD_CR)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;variable2:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(inflow='Sale of Assets',$(variable1))&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Sep 2015 13:10:50 GMT</pubDate>
    <dc:creator>pokassov</dc:creator>
    <dc:date>2015-09-28T13:10:50Z</dc:date>
    <item>
      <title>variable</title>
      <link>https://community.qlik.com/t5/QlikView/variable/m-p/950153#M326836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Community,&lt;/P&gt;&lt;P&gt;i want to create a variable with given value &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;variable name = vinflow &lt;/P&gt;&lt;P&gt;and value should be&amp;nbsp;&amp;nbsp; =Sum({&amp;lt;ACCOUNT_CODE = {"43301","43302","43303",43304"}&amp;gt;}"PERIOD_CR")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i'm trying&amp;nbsp; this script in variable =if(inflow='Sale of Assets',"=Sum({&amp;lt;ACCOUNT_CODE = {"43301","43302","43303",43304"}&amp;gt;}"PERIOD_CR") but&amp;nbsp; its not correct &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so if i select "&lt;SPAN style="font-size: 13.3333px;"&gt;Sale of Assets&lt;/SPAN&gt;" baton then value should be come according this given logic .&lt;/P&gt;&lt;P&gt;plz share the solution so i can correct this variable &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 13:00:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable/m-p/950153#M326836</guid>
      <dc:creator>yadav_anil782</dc:creator>
      <dc:date>2015-09-28T13:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: variable</title>
      <link>https://community.qlik.com/t5/QlikView/variable/m-p/950154#M326837</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;variable1:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({$&amp;lt;ACCOUNT_CODE = {43301,43302,43303,43304}&amp;gt;} PERIOD_CR)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;variable2:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(inflow='Sale of Assets',$(variable1))&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 13:10:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable/m-p/950154#M326837</guid>
      <dc:creator>pokassov</dc:creator>
      <dc:date>2015-09-28T13:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: variable</title>
      <link>https://community.qlik.com/t5/QlikView/variable/m-p/950155#M326838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your information &lt;STRONG&gt;SET ANALYSIS does not work in script you need to do a separate group by calculation in the script and assign this to variable.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try the same in front end this should work &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 13:25:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable/m-p/950155#M326838</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2015-09-28T13:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: variable</title>
      <link>https://community.qlik.com/t5/QlikView/variable/m-p/950156#M326839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what do you mean when you say it is not correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is what I believe will work based on the variable you currently want to define&lt;/P&gt;&lt;P&gt;variable name = vinflow&lt;/P&gt;&lt;P&gt;and value should be&amp;nbsp;&amp;nbsp; =Sum({&amp;lt;ACCOUNT_CODE = {"43301","43302","43303",43304"}&amp;gt;}PERIOD_CR)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(inflow='Sale of Assets',$(vinflow))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;This follows the other recommendation but is using the variable(s) you have defined&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 13:32:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable/m-p/950156#M326839</guid>
      <dc:creator />
      <dc:date>2015-09-28T13:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: variable</title>
      <link>https://community.qlik.com/t5/QlikView/variable/m-p/950157#M326840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your set expression syntax has problem - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=Sum({&amp;lt;ACCOUNT_CODE = {"43301","43302","43303",43304"}&amp;gt;}"PERIOD_CR") should be like - &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=Sum({&amp;lt;ACCOUNT_CODE = {"43301","43302","43303","43304"}&amp;gt;}PERIOD_CR) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Avoid double quote if Code is numeric.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 13:37:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable/m-p/950157#M326840</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2015-09-28T13:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: variable</title>
      <link>https://community.qlik.com/t5/QlikView/variable/m-p/950158#M326841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Avinas,&lt;/P&gt;&lt;P&gt;surely we can't use script in variable , i was talking about variable value which in need to use for shared button &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Sale of Assets&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;" &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2015 08:43:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable/m-p/950158#M326841</guid>
      <dc:creator>yadav_anil782</dc:creator>
      <dc:date>2015-09-29T08:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: variable</title>
      <link>https://community.qlik.com/t5/QlikView/variable/m-p/950159#M326842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI &lt;/P&gt;&lt;P&gt;i'm using this variable for value calculation and this variable working fine &lt;/P&gt;&lt;P&gt;=if(Value='Crores',10000000,if(Value='Thousand',1000,if(Value='Lakhs',100000,if(Value='Millions',100000))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;same this type of variable i want to use for my one analysis&amp;nbsp; which i shared prviusly&amp;nbsp; and still i'm stuck on that &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(inflow='Sale of Assets',=Sum({&amp;lt;ACCOUNT_CODE = {4332"}&amp;gt;}"PERIOD_CR"),&lt;/P&gt;&lt;P&gt;=if(inflow='Intrast received on fd and bank account',=Sum({&amp;lt;ACCOUNT_CODE =&lt;SPAN style="font-size: 13.3333px;"&gt;{"43301","43302","43303",43304"}&amp;gt;}"PERIOD_CR"),=if(inflow='Return from mutul fund',"=Sum({&amp;lt;ACCOUNT_CODE = {"43302","43303",43304"}&amp;gt;}"PERIOD_CR"),=if(inflow='Loan&amp;amp;Borrowing',=Sum({&amp;lt;ACCOUNT_CODE = {"43302","43303",43304"}&amp;gt;}"PERIOD_CR")&lt;/SPAN&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2015 09:06:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable/m-p/950159#M326842</guid>
      <dc:creator>yadav_anil782</dc:creator>
      <dc:date>2015-09-29T09:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: variable</title>
      <link>https://community.qlik.com/t5/QlikView/variable/m-p/950160#M326843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you please share the sample app with data and output your excepting ...will workout of the same &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2015 09:21:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable/m-p/950160#M326843</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2015-09-29T09:21:58Z</dc:date>
    </item>
  </channel>
</rss>

