<?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 Variance based on selected option in Group in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variance-based-on-selected-option-in-Group/m-p/741789#M264886</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 three columns, Actual, Budget, and Variance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The variance is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Actual-Budget&amp;nbsp; and Actual-Budget/Budget&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These two variance are grouped together (toggle) to switch between value and percentage (%).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to add in a fourth column called Forecast. I want to group Forecast with Budget&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in essence, my columns would be Actual, Budget/Forecast and Variance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is for the Variance column to calculate based on which is chosen between Budget and Forecast.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Magen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Nov 2014 09:18:05 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-11-28T09:18:05Z</dc:date>
    <item>
      <title>Variance based on selected option in Group</title>
      <link>https://community.qlik.com/t5/QlikView/Variance-based-on-selected-option-in-Group/m-p/741789#M264886</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 three columns, Actual, Budget, and Variance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The variance is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Actual-Budget&amp;nbsp; and Actual-Budget/Budget&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These two variance are grouped together (toggle) to switch between value and percentage (%).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to add in a fourth column called Forecast. I want to group Forecast with Budget&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in essence, my columns would be Actual, Budget/Forecast and Variance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is for the Variance column to calculate based on which is chosen between Budget and Forecast.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Magen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2014 09:18:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variance-based-on-selected-option-in-Group/m-p/741789#M264886</guid>
      <dc:creator />
      <dc:date>2014-11-28T09:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: Variance based on selected option in Group</title>
      <link>https://community.qlik.com/t5/QlikView/Variance-based-on-selected-option-in-Group/m-p/741790#M264887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;These two variance are grouped together (toggle) &lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;If that's done with an expression group then I don't think it's possible. I'd use separate expressions and the conditional display option of the expressions to show/hide the required columns as needed. A button or text object could be used to toggle between the two options using a Set Variable action and a variable. If you create a variable vToggle and give it the initial value 0 then the Set Variable action should set the vToggle variable to the value =NOT vToggle. Likewise the conditional display expressions are either =vToggle or =NOT vToggle.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2014 10:17:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variance-based-on-selected-option-in-Group/m-p/741790#M264887</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-11-28T10:17:59Z</dc:date>
    </item>
  </channel>
</rss>

