<?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: Fields values not specific to selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Fields-values-not-specific-to-selection/m-p/1102268#M522179</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm pretty sure I know that it is because these calculated fields are static numbers and they need to be variables, but that is what I'm trying to get away from...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Jun 2016 19:19:08 GMT</pubDate>
    <dc:creator>byrnel0586</dc:creator>
    <dc:date>2016-06-13T19:19:08Z</dc:date>
    <item>
      <title>Fields values not specific to selection</title>
      <link>https://community.qlik.com/t5/QlikView/Fields-values-not-specific-to-selection/m-p/1102267#M522178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to build some calculations in the back end so that I can just use the field names for the values I need on the front end. However, when I use the field names (For instance, &lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Age64_105Num2&lt;/SPAN&gt;) I get the value for the entire population even when I have a specific customer selected. But, when I put in the calculation I used in the script I get the customer-specific value. Anyone know how I can fix this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;PCR_Calc:&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; *,&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;WeightOfAdjProb65_74_2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AvgAdjProb_65to74_2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;WeightedCal_74_2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;WeightOfAdjProb75_84_2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AvgAdjProb_75to84_2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;WeightedCal_84_2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;WeightOfAdjProb85_105_2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AvgAdjProb_85to105_2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;WeightedCal_105_2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;_PCR2CalcMoYr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;_PCR2Calc_KEY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AgeFlag&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=1,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;NUMERATOR_PCR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,0)) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Age64_105Num2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AgeFlag74&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=1,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AgeFlag74&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,0))/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AgeFlag&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;WeightOfAdjProb65_74_2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AgeFlag84&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=1,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AgeFlag84&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,0))/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AgeFlag&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;WeightOfAdjProb75_84_2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AgeFlag105&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=1,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AgeFlag105&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,0))/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AgeFlag&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;WeightOfAdjProb85_105_2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AgeFlag74&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=1,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Average Probability of readmission]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,0))/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AgeFlag74&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AvgAdjProb_65to74_2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AgeFlag84&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=1,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Average Probability of readmission]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,0))/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AgeFlag84&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AvgAdjProb_75to84_2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AgeFlag105&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=1,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Average Probability of readmission]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,0))/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AgeFlag105&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AvgAdjProb_85to105_2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; PCR_DETAILS_HEDIS2016&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Where&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Match&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;_PCR2CalcMoYr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 'PCR2Feb2017'))&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Group&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;By&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;_PCR2CalcMoYr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 19:09:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fields-values-not-specific-to-selection/m-p/1102267#M522178</guid>
      <dc:creator>byrnel0586</dc:creator>
      <dc:date>2016-06-13T19:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Fields values not specific to selection</title>
      <link>https://community.qlik.com/t5/QlikView/Fields-values-not-specific-to-selection/m-p/1102268#M522179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm pretty sure I know that it is because these calculated fields are static numbers and they need to be variables, but that is what I'm trying to get away from...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 19:19:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fields-values-not-specific-to-selection/m-p/1102268#M522179</guid>
      <dc:creator>byrnel0586</dc:creator>
      <dc:date>2016-06-13T19:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: Fields values not specific to selection</title>
      <link>https://community.qlik.com/t5/QlikView/Fields-values-not-specific-to-selection/m-p/1102269#M522180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So are you looking to get static value or do you want it to vary? I am confused and not sure I understand?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 20:06:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fields-values-not-specific-to-selection/m-p/1102269#M522180</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-13T20:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Fields values not specific to selection</title>
      <link>https://community.qlik.com/t5/QlikView/Fields-values-not-specific-to-selection/m-p/1102270#M522181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need them to vary with each customer selection. I'm thinking I may have to add the calculations to my master table with the Customer IDs??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 20:12:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fields-values-not-specific-to-selection/m-p/1102270#M522181</guid>
      <dc:creator>byrnel0586</dc:creator>
      <dc:date>2016-06-13T20:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: Fields values not specific to selection</title>
      <link>https://community.qlik.com/t5/QlikView/Fields-values-not-specific-to-selection/m-p/1102271#M522182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be add CustomerID as your dimension here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PCR_Calc:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WeightOfAdjProb65_74_2 * AvgAdjProb_65to74_2 as WeightedCal_74_2,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;WeightOfAdjProb75_84_2 * AvgAdjProb_75to84_2 as WeightedCal_84_2,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;WeightOfAdjProb85_105_2 * AvgAdjProb_85to105_2 as WeightedCal_105_2;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="color: #ff0000;"&gt;Customer_ID,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;_PCR2CalcMoYr as _PCR2Calc_KEY,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Sum(If(AgeFlag=1,NUMERATOR_PCR,0)) as Age64_105Num2,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Sum(If(AgeFlag74=1,AgeFlag74,0))/sum(AgeFlag) as WeightOfAdjProb65_74_2,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Sum(If(AgeFlag84=1,AgeFlag84,0))/sum(AgeFlag) as WeightOfAdjProb75_84_2,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Sum(If(AgeFlag105=1,AgeFlag105,0))/sum(AgeFlag) as WeightOfAdjProb85_105_2,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Sum(If(AgeFlag74=1,[Average Probability of readmission],0))/Sum(AgeFlag74) as AvgAdjProb_65to74_2,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Sum(If(AgeFlag84=1,[Average Probability of readmission],0))/Sum(AgeFlag84) as AvgAdjProb_75to84_2,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Sum(If(AgeFlag105=1,[Average Probability of readmission],0))/Sum(AgeFlag105) as AvgAdjProb_85to105_2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident PCR_DETAILS_HEDIS2016&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Where (Match (_PCR2CalcMoYr, 'PCR2Feb2017'))&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Group By _PCR2CalcMoYr&lt;SPAN style="color: #ff0000;"&gt;, Customer_ID&lt;/SPAN&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 20:23:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fields-values-not-specific-to-selection/m-p/1102271#M522182</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-13T20:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: Fields values not specific to selection</title>
      <link>https://community.qlik.com/t5/QlikView/Fields-values-not-specific-to-selection/m-p/1102272#M522183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have calculated you number for a dimensional context of &lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6667px;"&gt;_PCR2CalcMoYr.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need it per customer (but calculated statically in the script), you would need to calculate it per required dimensional context (and maybe for different contexts).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2819"&gt;Fact Table with Mixed Granularity&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;of how you can create a table with facts of mixed granularity (i.e. use several LOADs to&amp;nbsp; calculate your number for the specific context, and concatenate the resuls into one table. Create a key field&amp;nbsp; to access the numbers for the specific context you want to retrieve in the frontend).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This can create a huge script and table though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 20:23:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fields-values-not-specific-to-selection/m-p/1102272#M522183</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-06-13T20:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Fields values not specific to selection</title>
      <link>https://community.qlik.com/t5/QlikView/Fields-values-not-specific-to-selection/m-p/1102273#M522184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately my Customer_ID field is in another table and not &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; PCR_DETAILS_HEDIS2016&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Is there a way to still pull it in?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 20:27:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fields-values-not-specific-to-selection/m-p/1102273#M522184</guid>
      <dc:creator>byrnel0586</dc:creator>
      <dc:date>2016-06-13T20:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Fields values not specific to selection</title>
      <link>https://community.qlik.com/t5/QlikView/Fields-values-not-specific-to-selection/m-p/1102274#M522185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, I will check it out!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 20:36:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fields-values-not-specific-to-selection/m-p/1102274#M522185</guid>
      <dc:creator>byrnel0586</dc:creator>
      <dc:date>2016-06-13T20:36:19Z</dc:date>
    </item>
  </channel>
</rss>

