<?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 How to get value of expression in Pivot Table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-get-value-of-expression-in-Pivot-Table/m-p/1681112#M51820</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have 4 data filters, name from M+0 to M+3, for each filter it has one column with three values, 1,2,3. There is a variable which allow user to change manually in the report, if user changed the variable then the value in the pivot value need to change accordingly:&lt;/P&gt;&lt;P&gt;If I use following expression, then I can get the correct expression for each column:&lt;/P&gt;&lt;P&gt;='GetFieldSelections([M+'&amp;amp;"=If(Left(LT.Month,4) = 2019, Right(LT.Month,2) + 0, Right(LT.Month,2) + 12) - '$(CurrentMonth)'"&amp;amp;'.Val])',&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled1.png" style="width: 915px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/29465i67D9B720E440C339/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled1.png" alt="Untitled1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;I would like to get the value for this expression, please kindly help me know how to do it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 03:07:22 GMT</pubDate>
    <dc:creator>dotnetfan</dc:creator>
    <dc:date>2024-11-16T03:07:22Z</dc:date>
    <item>
      <title>How to get value of expression in Pivot Table</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-get-value-of-expression-in-Pivot-Table/m-p/1681112#M51820</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have 4 data filters, name from M+0 to M+3, for each filter it has one column with three values, 1,2,3. There is a variable which allow user to change manually in the report, if user changed the variable then the value in the pivot value need to change accordingly:&lt;/P&gt;&lt;P&gt;If I use following expression, then I can get the correct expression for each column:&lt;/P&gt;&lt;P&gt;='GetFieldSelections([M+'&amp;amp;"=If(Left(LT.Month,4) = 2019, Right(LT.Month,2) + 0, Right(LT.Month,2) + 12) - '$(CurrentMonth)'"&amp;amp;'.Val])',&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled1.png" style="width: 915px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/29465i67D9B720E440C339/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled1.png" alt="Untitled1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;I would like to get the value for this expression, please kindly help me know how to do it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:07:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-get-value-of-expression-in-Pivot-Table/m-p/1681112#M51820</guid>
      <dc:creator>dotnetfan</dc:creator>
      <dc:date>2024-11-16T03:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to get value of expression in Pivot Table</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-get-value-of-expression-in-Pivot-Table/m-p/1681392#M51843</link>
      <description>&lt;P&gt;I'm not sure I understand what you want to do. If you want the expression to show a result, use dollar sign expansion to calculate the If statement, and also to get the value of CurrentMonth:&lt;/P&gt;&lt;P&gt;=GetFieldSelections([M$(=If(Left(LT.Month,4) = 2019, Right(LT.Month,2) + 0, Right(LT.Month,2) + 12)) - $(=CurrentMonth).Val])&lt;/P&gt;&lt;P&gt;There may be an error in this, because I don't have those fields in a Qlik app, so I can't test it properly. Let me know if it works.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Mar 2020 15:45:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-get-value-of-expression-in-Pivot-Table/m-p/1681392#M51843</guid>
      <dc:creator>Lauri</dc:creator>
      <dc:date>2020-03-03T15:45:59Z</dc:date>
    </item>
  </channel>
</rss>

