<?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: Year-to-date flags on selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Year-to-date-flags-on-selection/m-p/19096#M780985</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But I was thinking that I would need an expression to have a year-to-date based on the month picked so if March &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I think I need an expression that shows YTD regardless of the year clicked so at the moment its 2018 and 2017 but if 2015 was selected then it needs to show that instead? Does that make sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Apr 2018 14:03:07 GMT</pubDate>
    <dc:creator>khaycock</dc:creator>
    <dc:date>2018-04-11T14:03:07Z</dc:date>
    <item>
      <title>Year-to-date flags on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Year-to-date-flags-on-selection/m-p/19091#M780980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there anyway to make an expression that is based on the selection of the year?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the moment, I have expressions that include variables for current year-to-date and prior year-to-date so they show data for 2018 and 2017. But i have data going back other years that would be good to see year-on-year for so depending on the selected year, I would want to see the year-to-date for that year and then the year-to-date for the year before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-to-date-flags-on-selection/m-p/19091#M780980</guid>
      <dc:creator>khaycock</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Year-to-date flags on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Year-to-date-flags-on-selection/m-p/19092#M780981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Year to date when year is selected will be the whole year, right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2018 13:24:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-to-date-flags-on-selection/m-p/19092#M780981</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-11T13:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: Year-to-date flags on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Year-to-date-flags-on-selection/m-p/19093#M780982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you have used Today() in your YTD and LYTD expressions.&lt;/P&gt;&lt;P&gt;Just replace Today() with user selected dates... i.e. Max(YourDateField)&lt;/P&gt;&lt;P&gt;Something like below..&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-6163"&gt;YTQ, QTD, MTD and WTD&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-17974"&gt;Date Level Analysis - WTD, MTD, QTD &amp;amp;amp; YTD (Current Year &amp;amp;amp; Previous Year)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/215165"&gt;YTD,QTD,MTD,WTD IN Qlik Sense&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2018 13:24:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-to-date-flags-on-selection/m-p/19093#M780982</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2018-04-11T13:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Year-to-date flags on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Year-to-date-flags-on-selection/m-p/19094#M780983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use set expressions with syntax along these lines&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;lt;Year = {'$(=Max(Year))'}, ... &amp;gt;}&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;lt;Year = {'$(=Max(Year)-1)'}, ... &amp;gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;You may need to override the actual selection, if you are making date selections in fields other than year. Max() will produce the latest (current) year when nothing is selected, or the selected year if when a selection is made.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2018 13:28:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-to-date-flags-on-selection/m-p/19094#M780983</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2018-04-11T13:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Year-to-date flags on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Year-to-date-flags-on-selection/m-p/19095#M780984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;In your case set the YTD for all the years base on the date and use the addyear() function mark the required year to date &lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2018 13:28:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-to-date-flags-on-selection/m-p/19095#M780984</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2018-04-11T13:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: Year-to-date flags on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Year-to-date-flags-on-selection/m-p/19096#M780985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But I was thinking that I would need an expression to have a year-to-date based on the month picked so if March &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I think I need an expression that shows YTD regardless of the year clicked so at the moment its 2018 and 2017 but if 2015 was selected then it needs to show that instead? Does that make sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2018 14:03:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-to-date-flags-on-selection/m-p/19096#M780985</guid>
      <dc:creator>khaycock</dc:creator>
      <dc:date>2018-04-11T14:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Year-to-date flags on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Year-to-date-flags-on-selection/m-p/19097#M780986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, in that case a front end set analysis based expression is the way to go... Manish shared links where you can look at the set analysis that can be used&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2018 14:10:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-to-date-flags-on-selection/m-p/19097#M780986</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-11T14:10:18Z</dc:date>
    </item>
  </channel>
</rss>

