<?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: Set Modifier including in Master Measure in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Modifier-including-in-Master-Measure/m-p/22740#M3810</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you do the call $(vJ_DateModifier2)(vSetYTDModifier)), vSetModifier is:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;$(vJ_DateModifier2(&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[FactDate]=,[Day]=,[Weekday]=,[Year]=,[Month]=,[MonthNa...&lt;/SPAN&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;This are interpreted as different parameters, s&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;o &lt;SPAN style="font-size: 13.3333px;"&gt;vJ_DateModifier2 needs to have a place to store them. $1 for the first parameter, $2 for the second...&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jun 2018 08:53:58 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2018-06-14T08:53:58Z</dc:date>
    <item>
      <title>Set Modifier including in Master Measure</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Modifier-including-in-Master-Measure/m-p/22737#M3807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guru's,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 Set&amp;nbsp; Modifiers&amp;nbsp; stored in variables. iam calculating YTD value&amp;nbsp; using below variables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;1. vJ_DateModifier&amp;nbsp; =&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;sum({&amp;lt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;JType={'Value'}, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;FactType={'Essbase_J'},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Flag_J_Refinement={'1'},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;$1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&amp;gt;} J_Refinement_Data)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;2.vSetYTDModifier =&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;[FactDate]=,[Day]=,[Weekday]=,[Year]=,[Month]=,[MonthName]=,[Quarter]=,[_DateSerial]=,[_MonthSerial]=,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;[_QuarterSerial]=,[_WeekSerial]=,[_Qvc.Calendar_DateIsFuture]=,[Year-Month]=,[Year-Quarter]=,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;[_DateSerial] = {"&amp;lt;=$(=Max({1&amp;lt;$(_f_DateIsFuture)={0}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;,_Qvc.DummyField=$(_Qvc.Calendar.v.SelectedFieldList_)&amp;gt;}[_DateSerial]))"},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;[Year] = {"$(=Max({1&amp;lt;$(_f_DateIsFuture)={0},_Qvc.DummyField=$(_Qvc.Calendar.v.SelectedFieldList_)&amp;gt;}[Year]))"}&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: #ff0000;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;QTD calculation&lt;/SPAN&gt;&lt;/STRONG&gt;: &lt;/SPAN&gt;&lt;STRONG style=": ; color: #ff0000;"&gt;$(vJ_DateModifier2)(vSetYTDModifier))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;using above expression in Master measure to calculate the YTD&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If i use like below its showing correct value but if i use like &lt;STRONG style="font-size: 13.3333px;"&gt;$(vJ_DateModifier2)(vSetYTDModifier)) in master items its showing wrong value.how to simplyfy the YTD calculation using above two variables.&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style=": ; color: #ff0000; font-size: 13.3333px; text-decoration: underline;"&gt;working script:&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;&lt;/P&gt;&lt;P&gt;JType={'Value'},&lt;/P&gt;&lt;P&gt;[FactDate]=,[Day]=,[Weekday]=,[Year]=,[Month]=,[MonthName]=,[Quarter]=,[_DateSerial]=,[_MonthSerial]=,&lt;/P&gt;&lt;P&gt;[_QuarterSerial]=,[_WeekSerial]=,[_Qvc.Calendar_DateIsFuture]=,[Year-Month]=,[Year-Quarter]=,&lt;/P&gt;&lt;P&gt;[_DateSerial] = {"&amp;lt;=$(=Max({1&amp;lt;$(_f_DateIsFuture)={0}&lt;/P&gt;&lt;P&gt;,_Qvc.DummyField=$(_Qvc.Calendar.v.SelectedFieldList_)&amp;gt;}[_DateSerial]))"},&lt;/P&gt;&lt;P&gt;[Year] = {"$(=Max({1&amp;lt;$(_f_DateIsFuture)={0},_Qvc.DummyField=$(_Qvc.Calendar.v.SelectedFieldList_)&amp;gt;}[Year]))"},&lt;/P&gt;&lt;P&gt;FactType={'Essbase_J'},&lt;/P&gt;&lt;P&gt;Flag_J_Refinement={'1'},&lt;/P&gt;&lt;P&gt;$1&lt;/P&gt;&lt;P&gt;&amp;gt;} J_Refinement_Data)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2018 16:01:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Modifier-including-in-Master-Measure/m-p/22737#M3807</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-13T16:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Set Modifier including in Master Measure</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Modifier-including-in-Master-Measure/m-p/22738#M3808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raj, that's because each comma will be considered as a parameter separator, it will need additional $'s:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #000000;"&gt;sum({&amp;lt;&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;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #000000;"&gt;JType={'Value'},&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;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #000000;"&gt;FactType={'Essbase_J'},&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;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #000000;"&gt;Flag_J_Refinement={'1'},&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;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #000000;"&gt;&lt;STRONG&gt;$1, $2, $3, $4... // Fill to cover all parameters&lt;/STRONG&gt;&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;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #000000;"&gt;&amp;gt;} J_Refinement_Data)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2018 16:35:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Modifier-including-in-Master-Measure/m-p/22738#M3808</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2018-06-13T16:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: Set Modifier including in Master Measure</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Modifier-including-in-Master-Measure/m-p/22739#M3809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #575757;"&gt;Hi Ruben ,&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;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #575757;"&gt;&lt;BR /&gt;&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;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #575757;"&gt;Thanks for your time,i have 17 &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;comma's in my set Modifier variable. do i need to use&amp;nbsp; $1,$2,........$17&amp;nbsp; in my &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff0000;"&gt;$(vJ_DateModifier?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&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;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #575757;"&gt;&lt;BR /&gt;&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;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #575757;"&gt;&lt;BR /&gt;&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;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #575757;"&gt;2.vSetYTDModifier =&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;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #575757;"&gt;[FactDate]=,[Day]=,[Weekday]=,[Year]=,[Month]=,[MonthName]=,[Quarter]=,[_DateSerial]=,[_MonthSerial]=,&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;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #575757;"&gt;[_QuarterSerial]=,[_WeekSerial]=,[_Qvc.Calendar_DateIsFuture]=,[Year-Month]=,[Year-Quarter]=,&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;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #575757;"&gt;[_DateSerial] = {"&amp;lt;=$(=Max({1&amp;lt;$(_f_DateIsFuture)={0}&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;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #575757;"&gt;,_Qvc.DummyField=$(_Qvc.Calendar.v.SelectedFieldList_)&amp;gt;}[_DateSerial]))"},&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;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #575757;"&gt;[Year] = {"$(=Max({1&amp;lt;$(_f_DateIsFuture)={0},_Qvc.DummyField=$(_Qvc.Calendar.v.SelectedFieldList_)&amp;gt;}[Year]))"}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 07:46:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Modifier-including-in-Master-Measure/m-p/22739#M3809</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-14T07:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: Set Modifier including in Master Measure</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Modifier-including-in-Master-Measure/m-p/22740#M3810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you do the call $(vJ_DateModifier2)(vSetYTDModifier)), vSetModifier is:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;$(vJ_DateModifier2(&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[FactDate]=,[Day]=,[Weekday]=,[Year]=,[Month]=,[MonthNa...&lt;/SPAN&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;This are interpreted as different parameters, s&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;o &lt;SPAN style="font-size: 13.3333px;"&gt;vJ_DateModifier2 needs to have a place to store them. $1 for the first parameter, $2 for the second...&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 08:53:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Modifier-including-in-Master-Measure/m-p/22740#M3810</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2018-06-14T08:53:58Z</dc:date>
    </item>
  </channel>
</rss>

