<?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 expression. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-with-expression/m-p/1445343#M433189</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your answer.&lt;/P&gt;&lt;P&gt;I try but dont work.&lt;/P&gt;&lt;P&gt;A mistery...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Dec 2017 16:55:26 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-12-07T16:55:26Z</dc:date>
    <item>
      <title>Variable with expression.</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-with-expression/m-p/1445336#M433182</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 a strange problem.&lt;/P&gt;&lt;P&gt;I create a variable to calculate the total of a selection:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variable name: vAntal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(ST0QO1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use the variable in a table anf I do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(Quantity) / $(vAntal)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It dont work! I dont know why, I did this many times without problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I write this (without DSE, Dollar Symbol Extension) it work!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(Quantity) / vAntal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use Qlikview 12 SR2 but it work fine with other table/data.&lt;/P&gt;&lt;P&gt;You can try with the sample that I attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone have a idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2017 13:16:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-with-expression/m-p/1445336#M433182</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-07T13:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: Variable with expression.</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-with-expression/m-p/1445337#M433183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;=sum(Quantity)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2017 13:19:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-with-expression/m-p/1445337#M433183</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-07T13:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: Variable with expression.</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-with-expression/m-p/1445338#M433184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the variable definition remove equal sign before the variable defintion and check the variable output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2017 13:20:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-with-expression/m-p/1445338#M433184</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-12-07T13:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: Variable with expression.</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-with-expression/m-p/1445339#M433185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or in expression simple this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=$(vAntal)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2017 13:22:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-with-expression/m-p/1445339#M433185</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-12-07T13:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: Variable with expression.</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-with-expression/m-p/1445340#M433186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use the = sign to have the total calculated. I know that I can do also this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;sum(Quantity) / sum(TOTAL &lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;Quantity&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;but it is possible to do with variable and = sign.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;If you try the attached it work.&lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2017 13:30:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-with-expression/m-p/1445340#M433186</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-07T13:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: Variable with expression.</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-with-expression/m-p/1445341#M433187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone that have an idea?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2017 13:51:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-with-expression/m-p/1445341#M433187</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-07T13:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Variable with expression.</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-with-expression/m-p/1445342#M433188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;not quite sure, why - but you may try to enclose in brackets.&lt;/P&gt;&lt;P&gt;sum(Quantity) / ($(vAntal))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2017 16:45:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-with-expression/m-p/1445342#M433188</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2017-12-07T16:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: Variable with expression.</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-with-expression/m-p/1445343#M433189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your answer.&lt;/P&gt;&lt;P&gt;I try but dont work.&lt;/P&gt;&lt;P&gt;A mistery...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2017 16:55:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-with-expression/m-p/1445343#M433189</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-07T16:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: Variable with expression.</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-with-expression/m-p/1445344#M433190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I dont know why but I try and it work with this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(Quantity) / num($(vAntal),'###')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good to know!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2017 17:02:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-with-expression/m-p/1445344#M433190</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-07T17:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: Variable with expression.</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-with-expression/m-p/1445345#M433191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be format issue, Good it worked&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2017 17:11:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-with-expression/m-p/1445345#M433191</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-12-07T17:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Variable with expression.</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-with-expression/m-p/1445346#M433192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is your expected output?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2017 17:12:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-with-expression/m-p/1445346#M433192</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-12-07T17:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Variable with expression.</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-with-expression/m-p/1445347#M433193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I dont know, it is a numeric integer field but it is possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2017 17:13:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-with-expression/m-p/1445347#M433193</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-07T17:13:31Z</dc:date>
    </item>
  </channel>
</rss>

