<?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: Modelling, Calculated values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Modelling-Calculated-values/m-p/1206570#M625263</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have uploaded the sample application with added dimensions, the numbers when USD or FXn buttons are selected should be the same in the 'Actual' table. My Set expressions for PY which is Prior Year is very similar to the Current Year CY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Top10 FXn Forum4.JPG" class="jive-image image-1" src="/legacyfs/online/141697_Top10 FXn Forum4.JPG" style="height: 279px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Oct 2016 14:25:56 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-10-24T14:25:56Z</dc:date>
    <item>
      <title>Modelling, Calculated values</title>
      <link>https://community.qlik.com/t5/QlikView/Modelling-Calculated-values/m-p/1206559#M625247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been struggling to find a solution for a problem which is explained in the attached QVW file here.&lt;/P&gt;&lt;P&gt;It is something to do with calculating and storing values by ignoring few joins. Please suggest me a way to resolve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 18:58:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Modelling-Calculated-values/m-p/1206559#M625247</guid>
      <dc:creator />
      <dc:date>2016-10-19T18:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: Modelling, Calculated values</title>
      <link>https://community.qlik.com/t5/QlikView/Modelling-Calculated-values/m-p/1206560#M625248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you can do like this in your expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({&amp;lt;FISC_YR_NBR={"$(=vFXPrevYrToday)"}&lt;SPAN style="color: #ff0000;"&gt;, CTRY_NAM, FROM_CCY_CD = p(FROM_CCY_CD)&lt;/SPAN&gt;&amp;gt;}RATE_AMT)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({&amp;lt;FISC_YR_NBR={"$(=vFXPrevYrToday)"},FISC_DAY_OF_YR_NBR={"&amp;lt;=$(=Only({1}FXDayOfYearToday))"}&lt;SPAN style="color: #ff0000;"&gt;, CTRY_NAM, FROM_CCY_CD = p(FROM_CCY_CD)&lt;/SPAN&gt;&amp;gt;}RATE_AMT)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, basically ignore selection in Country field and allow currency to drive the expressions.&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/141270_Capture.PNG" style="height: 273px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 19:17:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Modelling-Calculated-values/m-p/1206560#M625248</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-19T19:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: Modelling, Calculated values</title>
      <link>https://community.qlik.com/t5/QlikView/Modelling-Calculated-values/m-p/1206561#M625249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your solution Sunny, this is what i was looking for.&lt;/P&gt;&lt;P&gt;So if i want to change the Dimension to a different column from a different table, what should be done?&lt;/P&gt;&lt;P&gt;The values changes back to 23.9161 for Australia if the FISC_MTH_NBR is pulled from the DT_CONS_DIM table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE bgcolor="#ffffff" border="1" cellpadding="2" cellspacing="0" style="font-size: 9pt;"&gt;&lt;TBODY&gt;&lt;TR bgcolor="#f5f5f5"&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;DT_CONS_DIM.FISC_MTH_NBR&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Sum1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Sum2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Days1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Days2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR bgcolor="#f5f5f5"&gt;&lt;TD bgcolor="#f5f5f5"&gt;&lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;&lt;STRONG&gt;273.6691 &lt;/STRONG&gt;&lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;&lt;STRONG&gt;221.1322 &lt;/STRONG&gt;&lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;&lt;STRONG&gt;35 &lt;/STRONG&gt;&lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;&lt;STRONG&gt;35 &lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;3&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;23.9161&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;23.9161&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;35&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;35&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;4&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;20.161&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;20.161&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;28&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;28&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;5&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;19.7228&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;19.7228&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;28&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;28&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;6&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;22.3483&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;22.3483&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;31&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;31&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;187.5209&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;134.984&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;35&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;35&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My intention is to get the Sum1, Sum2 values from the BB_CCY_EXCH_DIM table , but the table or graph should be plotted against the Fisc_Month_Number from DT_CONS_DIM table.&lt;/P&gt;&lt;P&gt;I could not find a way to avoid it, thats the reson i have included the FISC_MTH_NBR and other columns in the BB_CCY_EXCH table.&lt;IMG alt="FXN_Forum.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/141325_FXN_Forum.JPG" style="height: 349px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2016 06:20:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Modelling-Calculated-values/m-p/1206561#M625249</guid>
      <dc:creator />
      <dc:date>2016-10-20T06:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: Modelling, Calculated values</title>
      <link>https://community.qlik.com/t5/QlikView/Modelling-Calculated-values/m-p/1206562#M625250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to find a way to calculate values for Year To date, QTD and MTD. Requirement is below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YTD: &lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;&lt;STRONG&gt;(Should be displayed in a Text box as a standalone value)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(Sum of Revenue of every Month)*(Average of Exchange of every month)&lt;/P&gt;&lt;P&gt;Average of Exchange of every month = (Sum of Exchange rates)/(No of days in that month)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is already done:&lt;/P&gt;&lt;P&gt;If i build a table with Month as the dimension, i will be able to get the values, however if i remove it, everything rolls up which will not be the desired value for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE bgcolor="#ffffff" border="1" cellpadding="2" 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;#ffffff&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="font-size: 9pt;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colspan="1"&gt;Month&lt;/TD&gt;&lt;TD colspan="1"&gt;Revenue&lt;/TD&gt;&lt;TD colspan="1"&gt;Sum of Exch rates&lt;/TD&gt;&lt;TD colspan="1"&gt;No of Days&lt;/TD&gt;&lt;TD colspan="1"&gt;Average&lt;/TD&gt;&lt;TD colspan="1"&gt;Final Value&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;0&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;22.6158&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;28&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;0.8077&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;0&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;0&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;21.8186&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;28&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;0.3896&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;0&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;3&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;126134251&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;27.0161&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;35&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;0.2969&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;97361587&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;4&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;102366496&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;21.7015&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;28&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;0.1824&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;79339518&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;5&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;97645207&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;22.1012&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;28&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;0.1503&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;77074152&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;6&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;158756246&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;26.9398&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;35&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;0.1480&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;122196043&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;7&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;0&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;20.6823&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;28&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;0.0985&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;0&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;8&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;0&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;20.5046&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;28&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;0.0862&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;0&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;9&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;144221390&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;24.7217&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;35&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;0.0906&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;101868513&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;10&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;161623&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;13.7533&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;19&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;0.0471&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;116992&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;What needs to be done:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I need suggestions to achieve the below,&lt;/P&gt;&lt;P&gt;YTD&amp;nbsp; Final value should be in a single cell,&lt;STRONG style="text-decoration: underline;"&gt; NOT&lt;/STRONG&gt; in a table format.&lt;/P&gt;&lt;P&gt;And it should be calculated as Sum of Monthly "Final value", which is Calculating Monthly Averages and multiplying them with Revenue every month and at the end, all the Final values has to be summed up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similar to this, the QTD should also be done.&lt;/P&gt;&lt;P&gt;Attached a sample application with this, please let me know if more details are needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 11:58:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Modelling-Calculated-values/m-p/1206562#M625250</guid>
      <dc:creator />
      <dc:date>2016-10-21T11:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Modelling, Calculated values</title>
      <link>https://community.qlik.com/t5/QlikView/Modelling-Calculated-values/m-p/1206563#M625256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are these the numbers you are hoping to see?&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/141616_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 20:05:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Modelling-Calculated-values/m-p/1206563#M625256</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-21T20:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: Modelling, Calculated values</title>
      <link>https://community.qlik.com/t5/QlikView/Modelling-Calculated-values/m-p/1206564#M625257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a ton Sunny, I was trying out the Aggr but missed to place it at the place like you have done.&lt;/P&gt;&lt;P&gt;YTD is perfect, and QTD i have made it to perfection now.Just that we will have to choose a different Start date for Quarter, which you might not have a possibility of knowing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 20:34:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Modelling-Calculated-values/m-p/1206564#M625257</guid>
      <dc:creator />
      <dc:date>2016-10-21T20:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: Modelling, Calculated values</title>
      <link>https://community.qlik.com/t5/QlikView/Modelling-Calculated-values/m-p/1206565#M625258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not a problem Ganesh - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you got all the things you were looking for, I would suggest closing this thread by marking correct and any helpful responses.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-14806"&gt;Qlik Community Tip: Marking Replies as Correct or Helpful&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 20:40:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Modelling-Calculated-values/m-p/1206565#M625258</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-21T20:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Modelling, Calculated values</title>
      <link>https://community.qlik.com/t5/QlikView/Modelling-Calculated-values/m-p/1206566#M625259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Getting into multiple issues when i explore more on this.&lt;/P&gt;&lt;P&gt;Now if i bring in another dimension and try to plot the values against them, it is not giving me the right numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set expression being used: (Please ignore the first two "if" conditions as they are working as expected.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Num(if(vCurr='USD', Sum({&amp;lt;PTY_VEND_SUP_GP_DES=,PTY_VEND_GP_DES=,PTY_VEND_SUB_GP_DES=,FISC_YR_NBR={"$(=Only({1}YearofToday))"},DateNum={"&amp;gt;=$(=Num(FISC_YR_START_DT))&amp;lt;=$(=Num(Today()))"}&amp;gt;} PRC_USD_AMT)&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,if(vCurr='LC',Sum({&amp;lt;PTY_VEND_SUP_GP_DES=,PTY_VEND_GP_DES=,PTY_VEND_SUB_GP_DES=,FISC_YR_NBR={"$(=Only({1}YearofToday))"},DateNum={"&amp;gt;=$(=Num(FISC_YR_START_DT))&amp;lt;=$(=Num(Today()))"}&amp;gt;} PRC_LCY_AMT)&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,if(vCurr='FXN',Sum(Aggr(Sum({&amp;lt;FISC_YR_NBR={"$(=Only({1}YearofToday))"},DateNum={"&amp;gt;=$(=Num(FISC_YR_START_DT))&amp;lt;=$(=Num(Today()))"}&amp;gt;} PRC_LCY_AMT)&lt;/P&gt;&lt;P&gt;*(Sum({&amp;lt;FISC_YR_NBR={"$(=vFXPrevYrToday)"},FISC_DAY_OF_YR_NBR={"&amp;lt;=$(=Only({1}FXDayOfYearToday))"},CTRY_NAM, FROM_CCY_CD = p(FROM_CCY_CD)&amp;gt;}RATE_AMT)&lt;/P&gt;&lt;P&gt;&amp;nbsp; /Max({1&amp;lt;FISC_YR_NBR={"$(=vFXPrevYrToday)"},FISC_DAY_OF_YR_NBR ={"&amp;lt;=$(=Only({1}FXDayOfYearToday))"}&amp;gt;}FISC_DAY_OF_MTH_NBR)), FISC_MTH_NBR))))),'#,###,##0')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Top10 FXn Forum.JPG" class="jive-image image-1" src="/legacyfs/online/141628_Top10 FXn Forum.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The list should look like the above image, with a list of names, but it gets reduced like below.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Top10 FXn Forum1.JPG" class="jive-image image-2" src="/legacyfs/online/141632_Top10 FXn Forum1.JPG" style="float: right;" /&gt;&lt;/P&gt;&lt;P&gt;Even though the list has shrunk, the Total values are matching with the YTD values. And the 'Others' value is always zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The names are from a new dimension table and it is connected to the SLS_RPT_TRNS table with a key value.Sorry, i could not include the new dimension in a sample here. Please let me know if you need more information.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Oct 2016 13:24:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Modelling-Calculated-values/m-p/1206566#M625259</guid>
      <dc:creator />
      <dc:date>2016-10-22T13:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Modelling, Calculated values</title>
      <link>https://community.qlik.com/t5/QlikView/Modelling-Calculated-values/m-p/1206567#M625260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure I understand it completely, but have you add your new dimension to the Aggr() function? Any dimension you add to your chart, add it to your Aggr() function and the fact that you are using some if statements could make the mismatch even more bigger if you don't add all your dimensions to the Aggr() function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Oct 2016 14:12:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Modelling-Calculated-values/m-p/1206567#M625260</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-22T14:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: Modelling, Calculated values</title>
      <link>https://community.qlik.com/t5/QlikView/Modelling-Calculated-values/m-p/1206568#M625261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attaching the sample qvw file. I have included the new dimension into the AGGR expression. But the Sum of rates is also chaning if i pull in everything into a table with the new dimension. Let me validate the backend of data.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="141634" alt="Top10 FXn Forum3.JPG" class="jive-image image-1" src="/legacyfs/online/141634_Top10 FXn Forum3.JPG" style="height: 358px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Found out the issue.The Rate amount is not getting calculated independent of the new dimension. It is getting related to the New dimension and its entries in the Fact, so it is filtered out. The difference in value is because of that, i am trying out the below Set expressions but no luck yet.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;How do i exclude the dimension even if i am using the dimension in my chart/table?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;&lt;STRONG&gt;if(vCurr='FXN',Num(Sum(Aggr(Sum({&amp;lt;FISC_YR_NBR={"$(=Only({1}YearofToday))"},DateNum={"&amp;gt;=$(=Num(FISC_YR_START_DT))&amp;lt;=$(=Num(Today()))"}&amp;gt;} PRC_USD_AMT)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 8pt;"&gt;&lt;EM&gt;*(Sum({&amp;lt;FISC_YR_NBR={"$(=vFXPrevYrToday)"},FISC_DAY_OF_YR_NBR={"&amp;lt;=$(=Only({1}FXDayOfYearToday))"},PTY_VEND_GP_DES, CTRY_NAM, FROM_CCY_CD = p(FROM_CCY_CD)&amp;gt;}RATE_AMT)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; /Max({1&amp;lt;FISC_YR_NBR={"$(=vFXPrevYrToday)"},FISC_DAY_OF_YR_NBR ={"&amp;lt;=$(=Only({1}FXDayOfYearToday))"}&amp;gt;}FISC_DAY_OF_MTH_NBR)),PTY_VEND_GP_DES, FISC_MTH_NBR)),'#,###,###,##0')))&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Oct 2016 15:24:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Modelling-Calculated-values/m-p/1206568#M625261</guid>
      <dc:creator />
      <dc:date>2016-10-22T15:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Modelling, Calculated values</title>
      <link>https://community.qlik.com/t5/QlikView/Modelling-Calculated-values/m-p/1206569#M625262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the output that you are expecting to see? Can you elaborate on this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2016 06:35:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Modelling-Calculated-values/m-p/1206569#M625262</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-24T06:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Modelling, Calculated values</title>
      <link>https://community.qlik.com/t5/QlikView/Modelling-Calculated-values/m-p/1206570#M625263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have uploaded the sample application with added dimensions, the numbers when USD or FXn buttons are selected should be the same in the 'Actual' table. My Set expressions for PY which is Prior Year is very similar to the Current Year CY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Top10 FXn Forum4.JPG" class="jive-image image-1" src="/legacyfs/online/141697_Top10 FXn Forum4.JPG" style="height: 279px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2016 14:25:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Modelling-Calculated-values/m-p/1206570#M625263</guid>
      <dc:creator />
      <dc:date>2016-10-24T14:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: Modelling, Calculated values</title>
      <link>https://community.qlik.com/t5/QlikView/Modelling-Calculated-values/m-p/1206571#M625264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This expression seems to have worked for me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Num(&lt;SPAN style="color: #ff0000;"&gt;Sum(Aggr(&lt;/SPAN&gt;if(vCurr='USD',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;FISC_YR_NBR={"$(=(vPrevYrToday))"},FISC_DAY_OF_YR_NBR={"&amp;lt;=$(=Only({1}DayOfYearToday))"}&amp;gt;} PRC_USD_AMT),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; if(vCurr='FXN',Sum(Aggr(Sum({&amp;lt;FISC_YR_NBR={"$(=(vPrevYrToday))"},FISC_DAY_OF_YR_NBR={"&amp;lt;=$(=Only({1}DayOfYearToday))"}&amp;gt;} PRC_LCY_AMT)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;*(Sum(TOTAL&amp;lt;FISC_MTH_NBR&amp;gt;{&amp;lt;FISC_YR_NBR={"$(=vFXPrevYrToday)"},FISC_DAY_OF_YR_NBR={"&amp;lt;=$(=Only({1}FXDayOfYearToday))"}, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; CTRY_NAM,PTY_VEND_SUP_GP_DES,PTY_VEND_GP_DES,LOB_LVL1_DES,LOB_LVL2_DES,LOB_LVL3_DES, FROM_CCY_CD = p(FROM_CCY_CD)&amp;gt;}RATE_AMT)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; /Max(TOTAL&amp;lt;FISC_MTH_NBR&amp;gt;{1&amp;lt;FISC_YR_NBR={"$(=vFXPrevYrToday)"}&amp;gt;}FISC_DAY_OF_MTH_NBR)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; PTY_VEND_SUP_GP_DES,PTY_VEND_GP_DES,LOB_LVL1_DES,LOB_LVL2_DES,LOB_LVL3_DES, FISC_MTH_NBR))))&lt;SPAN style="color: #ff0000;"&gt;, PTY_VEND_GP_DES))&lt;/SPAN&gt;,'#,###,###,##0')&lt;/STRONG&gt;&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/141734_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2016 15:51:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Modelling-Calculated-values/m-p/1206571#M625264</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-24T15:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: Modelling, Calculated values</title>
      <link>https://community.qlik.com/t5/QlikView/Modelling-Calculated-values/m-p/1206572#M625265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The numbers when we switch between USD and FXn should be the same for the country "US" and it is working as expected for the CY column. Please refer the screens below, the CY column will not change if we switch between USD and FXN which is right. It is deviating only for the PY column here. Moreover what will happen if i introduce a cyclic dimension to this table? Should it br grouped on all the different dimension of the group?&lt;/P&gt;&lt;P&gt;Thanks in advance Sunny.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="FXN Forum Qn1.JPG" class="jive-image image-1" src="/legacyfs/online/141776_FXN Forum Qn1.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="FXN Forum Qn1.1.JPG" class="jive-image image-2" src="/legacyfs/online/141777_FXN Forum Qn1.1.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2016 19:00:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Modelling-Calculated-values/m-p/1206572#M625265</guid>
      <dc:creator />
      <dc:date>2016-10-24T19:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Modelling, Calculated values</title>
      <link>https://community.qlik.com/t5/QlikView/Modelling-Calculated-values/m-p/1206573#M625266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So this is more like an issue with your current expression in the straight table also? Because based on my selection in USD OR FXn, I am seeing the numbers changing in the straight table also. Which of the two numbers are the correct numbers? 7,900,... or 8,035,...?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can handle Cycle Group using GetCurrentField(GroupName) within the dollar sign expansion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;$(='[' &amp;amp; GetCurrentField([GroupName]) &amp;amp; ']')&lt;/STRONG&gt; in place of &lt;STRONG style="color: #ff0000; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;PTY_VEND_GP_DES &lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;in the Aggr() expression above&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2016 19:08:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Modelling-Calculated-values/m-p/1206573#M625266</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-24T19:08:39Z</dc:date>
    </item>
  </channel>
</rss>

