<?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: Presenting Budget &amp; Forecast Variances in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Presenting-Budget-Forecast-Variances/m-p/1266424#M461889</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you provide excel file showing the final output table based on data provided?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Nov 2016 11:09:12 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2016-11-17T11:09:12Z</dc:date>
    <item>
      <title>Presenting Budget &amp; Forecast Variances</title>
      <link>https://community.qlik.com/t5/QlikView/Presenting-Budget-Forecast-Variances/m-p/1266423#M461888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hi&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying do something that at first I thought would be easy, but I can't get the solution I am after.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached a qvw with a sample inline data load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My sample data has&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A dimension of Area&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A dimension of Type with values of Actual, Budget &amp;amp; Forecast&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Values for Hours &amp;amp; Money&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in the script I have created an additional Cross Table of the data, as somehow I felt that would help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The need is to present in a single table a summary of Actuals, Budgets, Forecasts &amp;amp; Variances as columns and Area / Type as Rows formatting the Money cells with £.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My real data has many Areas, more dimensions and many more metrics than just Hours and Money.&amp;nbsp; Plus I need to allow for additional Areas and metrics being added to the source data and the table handling this automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It needs to be a single table as beancounters being beancounters, they will want to export it to Excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Either a script or front end solution would be fine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions please as my brain has gone numb ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 11:02:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Presenting-Budget-Forecast-Variances/m-p/1266423#M461888</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-17T11:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: Presenting Budget &amp; Forecast Variances</title>
      <link>https://community.qlik.com/t5/QlikView/Presenting-Budget-Forecast-Variances/m-p/1266424#M461889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you provide excel file showing the final output table based on data provided?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 11:09:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Presenting-Budget-Forecast-Variances/m-p/1266424#M461889</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2016-11-17T11:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: Presenting Budget &amp; Forecast Variances</title>
      <link>https://community.qlik.com/t5/QlikView/Presenting-Budget-Forecast-Variances/m-p/1266425#M461890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is what the result table needs to look like :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="3px" cellpadding="0" cellspacing="0" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="width: 599px; border-width: 3px; border-style: solid;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl70" height="17" width="66"&gt;&lt;STRONG&gt;Area&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl71" width="63"&gt;&lt;STRONG&gt;Type&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl72" width="68"&gt;&lt;STRONG&gt;Actual&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl72" style="border-left: none;" width="72"&gt;&lt;STRONG&gt;Budget&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl72" style="border-left: none;" width="136"&gt;&lt;STRONG&gt;Variance vs. Budget&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl72" style="border-left: none;" width="80"&gt;&lt;STRONG&gt;Forecast&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl72" style="border-left: none;" width="144"&gt;&lt;STRONG&gt;Variance vs. Forecast &lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Hours&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;45&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;22&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;23&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;29&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;16&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Money&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;£500&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;£200&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;£300&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;£230&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;£270&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Hours&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;85&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;45&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;40&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;35&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Money&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;£850&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;£450&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;£400&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;£350&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;£500&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 11:23:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Presenting-Budget-Forecast-Variances/m-p/1266425#M461890</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-17T11:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: Presenting Budget &amp; Forecast Variances</title>
      <link>https://community.qlik.com/t5/QlikView/Presenting-Budget-Forecast-Variances/m-p/1266426#M461891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be one UI solution could be like:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;If (SecondaryDimensionality()=0,Sum({&amp;lt;CType={Actual}&amp;gt;}Value)-Sum({&amp;lt;CType={Forecast}&amp;gt;}Value), Sum ( Value ))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="144143" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/144143_Capture.PNG" style="height: 100px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 11:34:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Presenting-Budget-Forecast-Variances/m-p/1266426#M461891</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-11-17T11:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Presenting Budget &amp; Forecast Variances</title>
      <link>https://community.qlik.com/t5/QlikView/Presenting-Budget-Forecast-Variances/m-p/1266427#M461892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thx - That is certainly progress and cunningly gives the Actual vs.&lt;STRONG&gt;Forecast&lt;/STRONG&gt; Variance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I can't suss out how to add the &lt;SPAN style="font-size: 13.3333px;"&gt;Actual &lt;/SPAN&gt;vs.&lt;STRONG&gt;Budget &lt;/STRONG&gt;Variance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 11:45:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Presenting-Budget-Forecast-Variances/m-p/1266427#M461892</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-17T11:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Presenting Budget &amp; Forecast Variances</title>
      <link>https://community.qlik.com/t5/QlikView/Presenting-Budget-Forecast-Variances/m-p/1266428#M461893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hi Bill, maybe is a silly answer but CType values seems somewhat fixed, there is the possibility to use different expressions for each column and work dynamism with conditional expressions to show/hide columns?&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;In example the Budget and budget variance will only show when budget is in the possible values of CType.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;All other ideas that come to me are based on a try to fix the variance columns so in any case it will no support new values on CType and it's variances...&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;lt;mode brainstorming ON&amp;gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;unless in the load you create another field for the vertical dimension, a resident load that reads different values of CType and inserts the rows for the variances and a check to know if it's a variance in front-end, the expression can be something like:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;If(isVariance, Column(1)-Column(ColumnNo()-1), Sum(Value))&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;lt;mode brainstorming OFF&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 12:24:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Presenting-Budget-Forecast-Variances/m-p/1266428#M461893</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2016-11-17T12:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Presenting Budget &amp; Forecast Variances</title>
      <link>https://community.qlik.com/t5/QlikView/Presenting-Budget-Forecast-Variances/m-p/1266429#M461894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like attached.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="144144" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/144144_Capture.PNG" style="height: 102px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 12:32:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Presenting-Budget-Forecast-Variances/m-p/1266429#M461894</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-11-17T12:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: Presenting Budget &amp; Forecast Variances</title>
      <link>https://community.qlik.com/t5/QlikView/Presenting-Budget-Forecast-Variances/m-p/1266430#M461895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Those are interesting suggestions.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are certainly correct that CType only has 3 fixed possible values:&amp;nbsp; Actual, Budget, Forecasts &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;And I think that could well be exploited&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll give it a go and see what happens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 12:38:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Presenting-Budget-Forecast-Variances/m-p/1266430#M461895</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-17T12:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Presenting Budget &amp; Forecast Variances</title>
      <link>https://community.qlik.com/t5/QlikView/Presenting-Budget-Forecast-Variances/m-p/1266431#M461896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be using an Island table and Pick() function?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/144153_Capture.PNG" style="height: 107px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 12:51:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Presenting-Budget-Forecast-Variances/m-p/1266431#M461896</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-17T12:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: Presenting Budget &amp; Forecast Variances</title>
      <link>https://community.qlik.com/t5/QlikView/Presenting-Budget-Forecast-Variances/m-p/1266432#M461897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I also attach the other option, the one that uses another field to create the columns (the disavantage is that it uses another field for vertical dimension to avoid the coreation of new values in CType)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if the Type values are fixed I will go with the conditional expressions option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 12:55:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Presenting-Budget-Forecast-Variances/m-p/1266432#M461897</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2016-11-17T12:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Presenting Budget &amp; Forecast Variances</title>
      <link>https://community.qlik.com/t5/QlikView/Presenting-Budget-Forecast-Variances/m-p/1266433#M461898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well I must say Sunny you certainly are a cunning bunny&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Your suggestion is simple yet cunning and works perfectly.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Coincidentally I was interviewing somebody a few days ago and one of my stock interview questions is "What is your favourite Qlik function and why", and the answer I was given was the Pick() function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Although I must admit it had never occurred to me that it could used like that to add a couple of synthetic Dimension values onto the values held in a field and then be used to pick what expression to use for these&lt;SPAN style="font-size: 13.3333px;"&gt; synthetic Dimension values. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To close the loop I have added some code to sort the formatting for the money rows so they have the £ sign prefix, tidied it up a bit and re-attached the qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I just need to see how this all works with real world data, but I am optimistic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many, many thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 14:48:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Presenting-Budget-Forecast-Variances/m-p/1266433#M461898</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-17T14:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: Presenting Budget &amp; Forecast Variances</title>
      <link>https://community.qlik.com/t5/QlikView/Presenting-Budget-Forecast-Variances/m-p/1266434#M461899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another cunning solution that works.&amp;nbsp; I just wish that I was allowed to mark 2 answers as correct, as both your's and Sunny's are correct answers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 14:51:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Presenting-Budget-Forecast-Variances/m-p/1266434#M461899</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-17T14:51:53Z</dc:date>
    </item>
  </channel>
</rss>

