<?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: Substituting a Field Value in a Set Analysis Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Substituting-a-Field-Value-in-a-Set-Analysis-Expression/m-p/899595#M658515</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Works Great!!&amp;nbsp; Thank you dathu.qv &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 May 2015 20:49:44 GMT</pubDate>
    <dc:creator>asmithids</dc:creator>
    <dc:date>2015-05-07T20:49:44Z</dc:date>
    <item>
      <title>Substituting a Field Value in a Set Analysis Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Substituting-a-Field-Value-in-a-Set-Analysis-Expression/m-p/899591#M658511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a situation where I need to compute cancelled quantity based off a different calendar from the Master Calendar. Invoice reporting is based on the following Master Calendar:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Master Calendar:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;InvYear&lt;/LI&gt;&lt;LI&gt;InvMonth&lt;/LI&gt;&lt;LI&gt;InvoiceDate &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cancelled orders reporting is based on the following orders calendar: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Orders Calendar:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;SOYear&lt;/LI&gt;&lt;LI&gt;SOMonth&lt;/LI&gt;&lt;LI&gt;OrderDate &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use the following set expression to sum cancelled quantity per month based in the Orders Calendar.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({$&amp;lt;SOMonth={‘Jan’}, SOYear={"Selected Invoice Year"}&amp;gt;} CancelledQty)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question, is there a set modifier function that allows the use of&amp;nbsp; "Master Calendar” where, as I select a year from the Master Calendar, the value of the year (i.e. 2015) is used as the parameter for the SOYear={"Selected Invoice Year"} set modifier?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance for any assistance with this question.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 20:07:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Substituting-a-Field-Value-in-a-Set-Analysis-Expression/m-p/899591#M658511</guid>
      <dc:creator>asmithids</dc:creator>
      <dc:date>2015-05-07T20:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: Substituting a Field Value in a Set Analysis Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Substituting-a-Field-Value-in-a-Set-Analysis-Expression/m-p/899592#M658512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try using &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;a canonical date&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A _jive_internal="true" data-containerid="2588" data-containertype="37" data-objectid="3585" data-objecttype="38" href="https://community.qlik.com/blogs/qlikviewdesignblog/2014/02/17/canonical-date" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;Canonical Date&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 20:13:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Substituting-a-Field-Value-in-a-Set-Analysis-Expression/m-p/899592#M658512</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-05-07T20:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: Substituting a Field Value in a Set Analysis Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Substituting-a-Field-Value-in-a-Set-Analysis-Expression/m-p/899593#M658513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Smith, Please create a variable Let vInYear = Max(InYear) &amp;amp; use the variable in set analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({$&amp;lt;SOMonth={‘Jan’}, SOYear={"$(vInYear)"}&amp;gt;} CancelledQty)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If you not interested adding the variable try like below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum({$&amp;lt;SOMonth={‘Jan’}, SOYear={"$(=Max(InYear))"}&amp;gt;} CancelledQty)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 20:13:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Substituting-a-Field-Value-in-a-Set-Analysis-Expression/m-p/899593#M658513</guid>
      <dc:creator />
      <dc:date>2015-05-07T20:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: Substituting a Field Value in a Set Analysis Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Substituting-a-Field-Value-in-a-Set-Analysis-Expression/m-p/899594#M658514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=sum({$&amp;lt;SOMonth={‘Jan’}, SOYear={"$(=max(InvYear))"}&amp;gt;} CancelledQty)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=sum({$&amp;lt;SOMonth={‘Jan’}, SOYear={"$(=only(InvYear))"}&amp;gt;} CancelledQty)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 20:16:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Substituting-a-Field-Value-in-a-Set-Analysis-Expression/m-p/899594#M658514</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-05-07T20:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: Substituting a Field Value in a Set Analysis Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Substituting-a-Field-Value-in-a-Set-Analysis-Expression/m-p/899595#M658515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Works Great!!&amp;nbsp; Thank you dathu.qv &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 20:49:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Substituting-a-Field-Value-in-a-Set-Analysis-Expression/m-p/899595#M658515</guid>
      <dc:creator>asmithids</dc:creator>
      <dc:date>2015-05-07T20:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: Substituting a Field Value in a Set Analysis Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Substituting-a-Field-Value-in-a-Set-Analysis-Expression/m-p/899596#M658516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Massimo.&amp;nbsp; This option works perfectly as well.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 20:50:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Substituting-a-Field-Value-in-a-Set-Analysis-Expression/m-p/899596#M658516</guid>
      <dc:creator>asmithids</dc:creator>
      <dc:date>2015-05-07T20:50:56Z</dc:date>
    </item>
  </channel>
</rss>

