<?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: Referencing a field within a function, within a Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Referencing-a-field-within-a-function-within-a-Set-Analysis/m-p/494989#M185139</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;Sorry, but im a bit confused. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I replace MIN(Data.QtrReportAdj) with -3, I get the answer for each measure, so the Set analysis works for each row. I dont get the sum off all measures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you expand on what you mean&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jul 2013 09:36:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-07-18T09:36:12Z</dc:date>
    <item>
      <title>Referencing a field within a function, within a Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-a-field-within-a-function-within-a-Set-Analysis/m-p/494987#M185137</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 the following expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Data.ReportMonth1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Report Calendar.FinancialYear]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MonthYear&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"$(=Text(Date(AddMonths(Date#(vReportDate,'MMM YYYY'),MIN(Data.QtrReportAdj)),'MMM YYYY')))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Data.QuarterActual&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;My problem seems to be when I'm trying to adjust the date. From what I can tell is happing, is the MIN(Data.QtrReportAdj) seems to be applying to all my measures, rather than just the measure.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;In the example attached, if you filter by the A&amp;amp;E 4 hr target(excludes walk-in centres), it works fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Hope this makes sense.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thank you in advance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Simon&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 09:16:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-a-field-within-a-function-within-a-Set-Analysis/m-p/494987#M185137</guid>
      <dc:creator />
      <dc:date>2013-07-18T09:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing a field within a function, within a Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-a-field-within-a-function-within-a-Set-Analysis/m-p/494988#M185138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set analysis is evaluated once for all rows, not for each row. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 09:26:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-a-field-within-a-function-within-a-Set-Analysis/m-p/494988#M185138</guid>
      <dc:creator>luciancotea</dc:creator>
      <dc:date>2013-07-18T09:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing a field within a function, within a Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-a-field-within-a-function-within-a-Set-Analysis/m-p/494989#M185139</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;Sorry, but im a bit confused. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I replace MIN(Data.QtrReportAdj) with -3, I get the answer for each measure, so the Set analysis works for each row. I dont get the sum off all measures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you expand on what you mean&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 09:36:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-a-field-within-a-function-within-a-Set-Analysis/m-p/494989#M185139</guid>
      <dc:creator />
      <dc:date>2013-07-18T09:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing a field within a function, within a Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-a-field-within-a-function-within-a-Set-Analysis/m-p/494990#M185140</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;Sorry, but im a bit confused. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I replace MIN(Data.QtrReportAdj) with -3, I get the answer for each measure, so the Set analysis works for each row. I dont get the sum off all measures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you expand on what you mean&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 09:36:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-a-field-within-a-function-within-a-Set-Analysis/m-p/494990#M185140</guid>
      <dc:creator />
      <dc:date>2013-07-18T09:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing a field within a function, within a Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-a-field-within-a-function-within-a-Set-Analysis/m-p/494991#M185141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Again, &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;MIN(Data.QtrReportAdj) &lt;/SPAN&gt;is evaluated once and the evaluation = -6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see the expression evaluation result if you remove the label of the expression. See attachment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 09:47:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-a-field-within-a-function-within-a-Set-Analysis/m-p/494991#M185141</guid>
      <dc:creator>luciancotea</dc:creator>
      <dc:date>2013-07-18T09:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing a field within a function, within a Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-a-field-within-a-function-within-a-Set-Analysis/m-p/494992#M185142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think at this point you will need to introduce min(Data.QtrReportAdj) as new field in your data model.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 10:27:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-a-field-within-a-function-within-a-Set-Analysis/m-p/494992#M185142</guid>
      <dc:creator>simondachstr</dc:creator>
      <dc:date>2013-07-18T10:27:23Z</dc:date>
    </item>
  </channel>
</rss>

