<?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: How to take out the expression value(Total Value) from Pivot table for further calculation? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-take-out-the-expression-value-Total-Value-from-Pivot/m-p/1459355#M794740</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, as you can see from below, I just want to put Grouped Value into Variable then use it later.&lt;/P&gt;&lt;P&gt;but LET var1 = 'xjan' don't work.&amp;nbsp; Please help out on how to get this done.&amp;nbsp; thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;xtemp:&lt;BR /&gt;load xetdmonth,&lt;BR /&gt;Sum(Calc_x)as xsubtotal&lt;BR /&gt;RESIDENT Finalx &lt;BR /&gt;GROUP BY xetdmonth;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;xvar:&lt;BR /&gt;LOAD &lt;BR /&gt;if (xetdmonth='Jan',xsubtotal) as xjan,&lt;BR /&gt;if (xetdmonth='Feb',xsubtotal) as xfeb,&lt;BR /&gt;if (xetdmonth='Mar',xsubtotal) as xmar&lt;BR /&gt;RESIDENT xtemp;&lt;BR /&gt;drop table xtemp;&lt;/P&gt;&lt;P&gt;LET var1 = 'xjan';&lt;BR /&gt;LET var2 = 'xfeb';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Jan 2018 03:48:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-01-29T03:48:53Z</dc:date>
    <item>
      <title>How to take out the expression value(Total Value) from Pivot table for further calculation?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-take-out-the-expression-value-Total-Value-from-Pivot/m-p/1459352#M794737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;As you can see from below image, I want to know the percentage of NewPartValue&amp;nbsp; of AllValue in Expression Value.&lt;/P&gt;&lt;P&gt;I need to calculate as " NewPartValue *100/Allvalue %".&amp;nbsp;&amp;nbsp; but I don't know how to take out the Express value(Total) out for&lt;/P&gt;&lt;P&gt;further calculation.&amp;nbsp; thanks advance for your help.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Express total value.PNG" class="jive-image image-1" src="/legacyfs/online/189021_Express total value.PNG" style="width: 620px; height: 277px;" /&gt;&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/How-to-take-out-the-expression-value-Total-Value-from-Pivot/m-p/1459352#M794737</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to take out the expression value(Total Value) from Pivot table for further calculation?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-take-out-the-expression-value-Total-Value-from-Pivot/m-p/1459353#M794738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you say take out, do you mean show these values in a text box object?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 16:16:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-take-out-the-expression-value-Total-Value-from-Pivot/m-p/1459353#M794738</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-05T16:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to take out the expression value(Total Value) from Pivot table for further calculation?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-take-out-the-expression-value-Total-Value-from-Pivot/m-p/1459354#M794739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, I want to calculate the total value somewhere else like text box object&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;发自我的 iPhone&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;在 2018年1月6日，00:17，Sunny Talwar &amp;lt;qcwebmaster@qlikview.com&amp;lt;mailto:qcwebmaster@qlikview.com&amp;gt;&amp;gt; 写道：&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jan 2018 00:49:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-take-out-the-expression-value-Total-Value-from-Pivot/m-p/1459354#M794739</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-06T00:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to take out the expression value(Total Value) from Pivot table for further calculation?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-take-out-the-expression-value-Total-Value-from-Pivot/m-p/1459355#M794740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, as you can see from below, I just want to put Grouped Value into Variable then use it later.&lt;/P&gt;&lt;P&gt;but LET var1 = 'xjan' don't work.&amp;nbsp; Please help out on how to get this done.&amp;nbsp; thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;xtemp:&lt;BR /&gt;load xetdmonth,&lt;BR /&gt;Sum(Calc_x)as xsubtotal&lt;BR /&gt;RESIDENT Finalx &lt;BR /&gt;GROUP BY xetdmonth;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;xvar:&lt;BR /&gt;LOAD &lt;BR /&gt;if (xetdmonth='Jan',xsubtotal) as xjan,&lt;BR /&gt;if (xetdmonth='Feb',xsubtotal) as xfeb,&lt;BR /&gt;if (xetdmonth='Mar',xsubtotal) as xmar&lt;BR /&gt;RESIDENT xtemp;&lt;BR /&gt;drop table xtemp;&lt;/P&gt;&lt;P&gt;LET var1 = 'xjan';&lt;BR /&gt;LET var2 = 'xfeb';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2018 03:48:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-take-out-the-expression-value-Total-Value-from-Pivot/m-p/1459355#M794740</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-29T03:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to take out the expression value(Total Value) from Pivot table for further calculation?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-take-out-the-expression-value-Total-Value-from-Pivot/m-p/1459356#M794741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using peek(), like:&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;&lt;EM&gt;LET var1 = Peek('xjan');&lt;/EM&gt;&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;&lt;EM&gt;LET var2 = Peek('xfeb');&lt;/EM&gt;&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;&lt;BR /&gt;&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;However, instead of doing this in the script, you could probably use set analysis in the UI like:&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;&lt;BR /&gt;&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;UI:&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;&amp;nbsp; &lt;EM&gt;&amp;nbsp;&amp;nbsp; vJan=Sum({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;xetdmonth&lt;/SPAN&gt;={'Jan'}&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Calc_x&lt;/SPAN&gt;)&lt;/EM&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2018 06:32:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-take-out-the-expression-value-Total-Value-from-Pivot/m-p/1459356#M794741</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-01-29T06:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to take out the expression value(Total Value) from Pivot table for further calculation?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-take-out-the-expression-value-Total-Value-from-Pivot/m-p/1459357#M794742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for later reply! and thanks for you solution. &lt;/P&gt;&lt;P&gt;I have tried LET var1 = Peek('xjan');&amp;nbsp; but it return with Var1 = 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2018 09:19:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-take-out-the-expression-value-Total-Value-from-Pivot/m-p/1459357#M794742</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-02T09:19:04Z</dc:date>
    </item>
  </channel>
</rss>

