<?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: Text Object in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Text-Object/m-p/1351904#M846072</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny &amp;amp; Anil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see attached sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now have 2 text objects - one showing the year to date figure and the other showing the month to date figure for the current year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having an issue with getting the month to date figure for the prior year in a text box (i.e for April 2016 which should be 300)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anil, I did not quite follow your suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Apr 2017 01:54:43 GMT</pubDate>
    <dc:creator>shamitshah</dc:creator>
    <dc:date>2017-04-07T01:54:43Z</dc:date>
    <item>
      <title>Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Object/m-p/1351899#M846067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I am trying to get the sum of sales for the latest month in a text box, but I am getting the sum of the year of year to date figure.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I have in the following in script:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;MonthStart&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[FY KPI]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, 'DD-MM-YYYY')), 'MM-YYYY')&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;FYKPIMonthYear&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;I have set up a variable:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vMaxBYM&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: blue;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: maroon;"&gt;FYKPIMonthYear&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black; font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;In the text object, I have the following which is resulting in year to date figures instead of the latest month:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black; font-size: 9.0pt; font-family: arial,helvetica,sans-serif;"&gt;=NUM(Sum ({&amp;lt;FYKPIFiscalYear = {$(=Max(FYKPIFiscalYear))},FYKPIMonthYear={"=$(vMaxBYM)"}&amp;gt;} Sales,'#,##0','.',',')&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black; font-size: 9.0pt; font-family: arial,helvetica,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black; font-size: 9.0pt; font-family: arial,helvetica,sans-serif;"&gt;Any idea of the correct expression in the text object to return the latest month's figure?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black; font-size: 9.0pt; font-family: arial,helvetica,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black; font-size: 9.0pt; font-family: arial,helvetica,sans-serif;"&gt;Thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&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/Text-Object/m-p/1351899#M846067</guid>
      <dc:creator>shamitshah</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Object/m-p/1351900#M846068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&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-size: 9pt; font-family: arial, helvetica, sans-serif; color: black;"&gt;&lt;STRONG&gt;=Num(Sum ({&amp;lt;FYKPIFiscalYear = {"$(=Max(FYKPIFiscalYear))"},FYKPIMonthYear={"=$(vMaxBYM)"}&amp;gt;} Sales),'#,##0')&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-size: 9pt; font-family: arial, helvetica, sans-serif; color: black;"&gt;&lt;STRONG&gt;Or&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-size: 9pt; font-family: arial, helvetica, sans-serif; color: black;"&gt;&lt;STRONG&gt;=Num(Sum ({&amp;lt;FYKPIFiscalYear = {"$(=Max(FYKPIFiscalYear))"},FYKPIMonthYear={"=$(=vMaxBYM)"}&amp;gt;} Sales),'#,##0')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2017 03:56:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Object/m-p/1351900#M846068</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-04-06T03:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Object/m-p/1351901#M846069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both are returning year to date figures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the following which seems to work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=NUM(Sum ({&amp;lt;FYKPIFiscalYear = {$(=Max(FYKPIFiscalYear))},FYKPIMonthYear={"&amp;gt;=$(vMaxBYM)"}&amp;gt;} Sales),'#,##0.00')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I am trying to get the comparative for the prior year (same month) which is where I am having an issue. Any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2017 04:33:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Object/m-p/1351901#M846069</guid>
      <dc:creator>shamitshah</dc:creator>
      <dc:date>2017-04-06T04:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Object/m-p/1351902#M846070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That;s decimal format issue. That's not big deal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try for prior year like below. It will display last year of same month data and change variable to same as year with prefix of -1&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;&lt;STRONG&gt;=NUM(Sum ({&amp;lt;FYKPIFiscalYear = {"$(=AddYears(Max(FYKPIFiscalYear),-1))"},FYKPIMonthYear={"&amp;gt;=$(vMaxBYM)"}&amp;gt;} Sales),'#,##0.00')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2017 06:25:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Object/m-p/1351902#M846070</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-04-06T06:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Object/m-p/1351903#M846071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&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;&lt;STRONG&gt;Sum({&amp;lt;FYKPIFiscalYear = {$(=Max(FYKPIFiscalYear))}, FYKPIMonthYear = &lt;SPAN style="color: #ff0000;"&gt;{"&amp;gt;=$(=Date(AddYears(vMaxBYM, -1), 'MM-YYYY'))"}&lt;/SPAN&gt;&amp;gt;} Sales)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2017 10:02:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Object/m-p/1351903#M846071</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-06T10:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Object/m-p/1351904#M846072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny &amp;amp; Anil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see attached sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now have 2 text objects - one showing the year to date figure and the other showing the month to date figure for the current year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having an issue with getting the month to date figure for the prior year in a text box (i.e for April 2016 which should be 300)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anil, I did not quite follow your suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 01:54:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Object/m-p/1351904#M846072</guid>
      <dc:creator>shamitshah</dc:creator>
      <dc:date>2017-04-07T01:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Object/m-p/1351905#M846073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The first text box should read Sales YTD and not Sales MTD.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 02:00:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Object/m-p/1351905#M846073</guid>
      <dc:creator>shamitshah</dc:creator>
      <dc:date>2017-04-07T02:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Object/m-p/1351906#M846075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be use for MTD&lt;BR /&gt;&lt;STRONG&gt;=Sum({&amp;lt;FYKPIMonthYear = {'$(=Min(FYKPIMonthYear,4))'}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 02:07:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Object/m-p/1351906#M846075</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-04-07T02:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Object/m-p/1351907#M846077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I should clarify further - ideally it should update automatically with the figures for max month of the current year and the corresponding period for the prior year as and when the data is reloaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 02:19:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Object/m-p/1351907#M846077</guid>
      <dc:creator>shamitshah</dc:creator>
      <dc:date>2017-04-07T02:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Object/m-p/1351908#M846079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Num(Sum({&amp;lt;FYKPIMonthYear = {"$(=Date(AddYears(vMaxBYM, -1), 'MM-YYYY'))"}&amp;gt;} Sales),'#,##0.00')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/159392_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 08:01:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Object/m-p/1351908#M846079</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-07T08:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Object/m-p/1351909#M846081</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;I also tried the following and it seems to work:-&lt;/P&gt;&lt;P&gt;- Created another variable&lt;/P&gt;&lt;P&gt;vMinBYM&amp;nbsp;&amp;nbsp; =date(addmonths(vMaxBYM,-12),'MM-YYYY')&lt;/P&gt;&lt;P&gt;- Then use the following expression&lt;/P&gt;&lt;P&gt;=Num(SUM({&amp;lt;FYKPIFiscalYear = {$(=Max(FYKPIFiscalYear)-1)}, FYKPIFiscalMonth= ,FYKPIMonthYear={'$(vMinBYM)'}&amp;gt;}Sales),'#,##0.00')&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 08:41:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Object/m-p/1351909#M846081</guid>
      <dc:creator>shamitshah</dc:creator>
      <dc:date>2017-04-07T08:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Object/m-p/1351910#M846083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure why you need set analysis condition for &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;FYKPIFiscalYear&lt;/STRONG&gt;. Year is already handled by the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;FYKPIMonthYear&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;as this include both month and year information. But having it in there doesn't really harm...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 09:31:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Object/m-p/1351910#M846083</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-07T09:31:07Z</dc:date>
    </item>
  </channel>
</rss>

