<?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: Creating a (true) YTD measure in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-a-true-YTD-measure/m-p/1448889#M610597</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess it depends on what you call a true YTD. What if you user wants to see YTD based on Month selection? For example, the max month is Oct, but they want to see YTD June.... this is till true YTD... In fact this is a might be more intuitive to a new user as he would expect to see YTD based on the month he has selected.... in this case, the expression will be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;PeriodId = {"&amp;lt;= $(=Max(PeriodId))"},Year={"$(=Max(Year))"},Month=, Quarter&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if the goal is to see YTD regardless of any month or quarter selected, then why not create a flag in the script? this would make the expression so much more simpler without adding set analysis within set analysis?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Oct 2017 17:05:35 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-10-27T17:05:35Z</dc:date>
    <item>
      <title>Creating a (true) YTD measure</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-true-YTD-measure/m-p/1448888#M610596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;I wanted to share something in a post from Sunny Talwar that allowed me to create a true YTD measure which ignores selections (which is what you need) that users make on any date selections except for year.&amp;nbsp; I have not seen this anywhere in the docs, or books - I have many.&amp;nbsp; This indeed works.&amp;nbsp; Thanks Sunny!:&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;STRONG&gt;If there are any other solutions to this, I would love to see them.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Sum({&amp;lt;PeriodId = {"&amp;lt;= $(=Max(&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;{&amp;lt;Quarter,Month&amp;gt;}&lt;/STRONG&gt;PeriodId))"},Year={"$(=Max(&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;{&amp;lt;Quarter,Month&amp;gt;}&lt;/STRONG&gt;Year))"},Month=&amp;gt;}Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Adding the &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;{&amp;lt;Month&amp;gt;} &lt;/STRONG&gt;modifiers "fixes"&amp;nbsp; what I would call a bug in set analysis.&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;I love Qlik, but creating time intelligence functions &lt;/SPAN&gt;really should not be that hard &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/SPAN&gt;&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Dave&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2017 16:45:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-true-YTD-measure/m-p/1448888#M610596</guid>
      <dc:creator>dadumas</dc:creator>
      <dc:date>2017-10-27T16:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a (true) YTD measure</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-true-YTD-measure/m-p/1448889#M610597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess it depends on what you call a true YTD. What if you user wants to see YTD based on Month selection? For example, the max month is Oct, but they want to see YTD June.... this is till true YTD... In fact this is a might be more intuitive to a new user as he would expect to see YTD based on the month he has selected.... in this case, the expression will be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;PeriodId = {"&amp;lt;= $(=Max(PeriodId))"},Year={"$(=Max(Year))"},Month=, Quarter&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if the goal is to see YTD regardless of any month or quarter selected, then why not create a flag in the script? this would make the expression so much more simpler without adding set analysis within set analysis?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2017 17:05:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-true-YTD-measure/m-p/1448889#M610597</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-27T17:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a (true) YTD measure</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-true-YTD-measure/m-p/1448890#M610598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look at HIC's response here to create a flag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2017 17:06:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-true-YTD-measure/m-p/1448890#M610598</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-27T17:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a (true) YTD measure</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-true-YTD-measure/m-p/1448891#M610599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just saw your reply to this post, late, sorry.&amp;nbsp; I do not see a link to the HIC's solution for creating a flag in the script.&amp;nbsp; When you get a chance can you send the link or clarify?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2018 14:46:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-true-YTD-measure/m-p/1448891#M610599</guid>
      <dc:creator>dadumas</dc:creator>
      <dc:date>2018-01-08T14:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a (true) YTD measure</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-true-YTD-measure/m-p/1448892#M610600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, here is the link&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/107329"&gt;YTD(Year to date)&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2018 15:59:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-true-YTD-measure/m-p/1448892#M610600</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-08T15:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a (true) YTD measure</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-true-YTD-measure/m-p/1448893#M610601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Mon, Jan 8, 2018 at 10:59 AM, Sunny Talwar &amp;lt;qcwebmaster@qlikview.com&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2018 16:51:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-true-YTD-measure/m-p/1448893#M610601</guid>
      <dc:creator>dadumas</dc:creator>
      <dc:date>2018-01-08T16:51:26Z</dc:date>
    </item>
  </channel>
</rss>

