<?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 Text Object in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Text-Object/m-p/1173230#M901692</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following in a text object, but not getting any value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(AGGR(SUM(total{$&amp;lt;RecordMonthYr={"=$(vMaxRMY)"},SKH_Source={'SO'}&amp;gt;}SKH_Quantity),[Item Number]),'#,##0','.',',')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The variable vMaxRMY has been set as =date(max(RecordMonthYr),'MM/YYYY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shamit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>shamitshah</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Object/m-p/1173230#M901692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following in a text object, but not getting any value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(AGGR(SUM(total{$&amp;lt;RecordMonthYr={"=$(vMaxRMY)"},SKH_Source={'SO'}&amp;gt;}SKH_Quantity),[Item Number]),'#,##0','.',',')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The variable vMaxRMY has been set as =date(max(RecordMonthYr),'MM/YYYY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shamit&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/1173230#M901692</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/1173231#M901693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shah,&lt;/P&gt;&lt;P&gt;Is your recordMonthYr same format as your variabe vMaxRMY ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET vMaxRMY = "=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;date(max(RecordMonthYr),'MM/YYYY')" ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And try this:&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;=num(AGGR(SUM(total{$&amp;lt; RecordMonthYr= {"$(vMaxRMY)"}, SKH_Source={'SO'}&amp;gt;} SKH_Quantity),[Item Number]),'#,##0','.',',')&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;These are references taken from HIC post: &lt;A href="https://community.qlik.com/qlik-blogpost/4394"&gt;Dates in Set Analysis&lt;/A&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;&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;Please look into this and try. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Jul 2016 23:03:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Object/m-p/1173231#M901693</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2016-07-16T23:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Object/m-p/1173232#M901694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't have an outer Aggregation function, what exactly are you trying to get? Can you try one of these?&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;RecordMonthYr={"$(=vMaxRMY)"}, SKH_Source={'SO'}&amp;gt;} SKH_Quantity), '#,##0','.',',')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&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;RecordMonthYr={"$(=$(vMaxRMY))"}, SKH_Source={'SO'}&amp;gt;} SKH_Quantity), '#,##0','.',',')&lt;/STRONG&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;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Jul 2016 23:06:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Object/m-p/1173232#M901694</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-16T23:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Object/m-p/1173233#M901695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to get the number of Sales Orders for the latest month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the script, I have the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MonthName(Date([SKH_RecordDate] + MakeDate(2000,1,1))) as RecordMonthYr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then set up the variable to get the max RecordMonthYr as =date(max(RecordMonthYr),'MM/YYYY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the text object, I wanted to get the number of Sales Orders for the latest month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shamit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Jul 2016 23:26:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Object/m-p/1173233#M901695</guid>
      <dc:creator>shamitshah</dc:creator>
      <dc:date>2016-07-16T23:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Object/m-p/1173234#M901696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think since you created your field RecordMonthYr using MonthName function, that is what you would need to use in your variable:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;RecordMonthYr as = MonthName(Max(RecordMonthYr))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, you can change how you create your field RecordMonthYr&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;Date([SKH_RecordDate] + MakeDate(2000,1,1), 'MM/YYYY') as RecordMonthYr&lt;/STRONG&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;&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;and then use your current variable definition:&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;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;RecordMonthYr as =Date(Max(RecordMonthYr), 'MM/YYYY')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The goal is to have same format on the Left and Right hand sides of the equation. Once you have the above two fixed, try using one of these expressions to see if it finally works or not &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&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;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;=Num(Sum({$&amp;lt;RecordMonthYr={"$(=vMaxRMY)"}, SKH_Source={'SO'}&amp;gt;} SKH_Quantity), '#,##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;or&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;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;=Num(Sum({$&amp;lt;RecordMonthYr={"$(=$(vMaxRMY))"}, SKH_Source={'SO'}&amp;gt;} SKH_Quantity), '#,##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;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&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;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Jul 2016 11:02:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Object/m-p/1173234#M901696</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-17T11:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Object/m-p/1173235#M901698</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;Your solutions works perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I changed the variable to &lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;= MonthName(Max(RecordMonthYr))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;For the text object =&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;=Num(Sum({$&amp;lt;RecordMonthYr={"$(=vMaxRMY)"}, SKH_Source={'SO'}&amp;gt;} SKH_Quantity), '#,##0','.',',')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shamit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 03:54:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Object/m-p/1173235#M901698</guid>
      <dc:creator>shamitshah</dc:creator>
      <dc:date>2016-07-20T03:54:25Z</dc:date>
    </item>
  </channel>
</rss>

