<?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: Values in Text box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Values-in-Text-box/m-p/1268513#M853173</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In chart it is showing 23-02-2017 with order number and in text box i am getting 24-02-2017 order date&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Feb 2017 05:12:34 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-02-27T05:12:34Z</dc:date>
    <item>
      <title>Values in Text box</title>
      <link>https://community.qlik.com/t5/QlikView/Values-in-Text-box/m-p/1268510#M853170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to show max order date in text object and respective order number of that order date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&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/Values-in-Text-box/m-p/1268510#M853170</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Values in Text box</title>
      <link>https://community.qlik.com/t5/QlikView/Values-in-Text-box/m-p/1268511#M853171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;= date(max(DATE), 'YYYY/MM/DD')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2017 05:03:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Values-in-Text-box/m-p/1268511#M853171</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2017-02-27T05:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: Values in Text box</title>
      <link>https://community.qlik.com/t5/QlikView/Values-in-Text-box/m-p/1268512#M853172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need order date with order number&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2017 05:06:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Values-in-Text-box/m-p/1268512#M853172</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-27T05:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Values in Text box</title>
      <link>https://community.qlik.com/t5/QlikView/Values-in-Text-box/m-p/1268513#M853173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In chart it is showing 23-02-2017 with order number and in text box i am getting 24-02-2017 order date&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2017 05:12:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Values-in-Text-box/m-p/1268513#M853173</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-27T05:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Values in Text box</title>
      <link>https://community.qlik.com/t5/QlikView/Values-in-Text-box/m-p/1268514#M853174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; use below expression&lt;/P&gt;&lt;P&gt;=OrderNo&amp;amp;'&lt;/P&gt;&lt;P&gt;'&amp;amp;max(date(OrderDate))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is over all max date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="text.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/154507_text.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;after selection it's showing order no and max order date&lt;/P&gt;&lt;P&gt;&lt;IMG alt="text2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/154508_text2.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2017 05:14:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Values-in-Text-box/m-p/1268514#M853174</guid>
      <dc:creator>shivkumar300</dc:creator>
      <dc:date>2017-02-27T05:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Values in Text box</title>
      <link>https://community.qlik.com/t5/QlikView/Values-in-Text-box/m-p/1268515#M853175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any ideas ??? ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2017 05:31:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Values-in-Text-box/m-p/1268515#M853175</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-27T05:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Values in Text box</title>
      <link>https://community.qlik.com/t5/QlikView/Values-in-Text-box/m-p/1268516#M853176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trust that you are doing well!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer below given steps:&lt;/P&gt;&lt;P&gt;1. Create a variable to store value of Max. Order Date&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14881746811999259 jive_text_macro" jivemacro_uid="_14881746811999259" modifiedtitle="true"&gt;
&lt;P&gt;//vMaxOrderDate (with current selection)&lt;/P&gt;
&lt;P&gt;=Max(OrderDateKey)&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Create Text Object with following definition (This will return latest OrderNumber associated with provided OrderDateKey)&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14881746936882658" jivemacro_uid="_14881746936882658"&gt;
&lt;P&gt;='Max Order Date: ' &amp;amp; $(vMaxOrderDate)&amp;nbsp; &amp;amp; Chr(10) &amp;amp;&lt;/P&gt;
&lt;P&gt;'Max Order Id: ' &amp;amp; Max({&amp;lt;OrderDateKey={"= $(vMaxOrderDate)"}&amp;gt;}OrderNumber)&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hope this will be helpful.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still if you are facing some challenges then let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2017 05:56:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Values-in-Text-box/m-p/1268516#M853176</guid>
      <dc:creator>rahulpawarb</dc:creator>
      <dc:date>2017-02-27T05:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: Values in Text box</title>
      <link>https://community.qlik.com/t5/QlikView/Values-in-Text-box/m-p/1268517#M853177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you provide detail with Dates and expected result in Text box? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be &lt;STRONG&gt;floor&lt;/STRONG&gt; can help you to remove null values of association. I am not sure how was your data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2017 06:02:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Values-in-Text-box/m-p/1268517#M853177</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-02-27T06:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: Values in Text box</title>
      <link>https://community.qlik.com/t5/QlikView/Values-in-Text-box/m-p/1268518#M853178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried but Order id is not coming and order date is showing 24-02-2017 but my last order date is 23-02-2017&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2017 06:16:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Values-in-Text-box/m-p/1268518#M853178</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-27T06:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: Values in Text box</title>
      <link>https://community.qlik.com/t5/QlikView/Values-in-Text-box/m-p/1268519#M853179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then it is clear that you have dates against which there are no orders. This is not necessarily an error, but it does affect how you would determine the latest order date. You will need a set expression filter to consider only dates with orders. Something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Date(Max({&amp;lt;OrderID = {'*'}&amp;gt;} Date))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;For the OrderID, you could use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =FirstSortedValue(OrderID, -Date)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Only({&amp;lt;Date = {"$(=&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Date(Max({&amp;lt;OrderID = {'*'}&amp;gt;} Date))&lt;/SPAN&gt;)"}&amp;gt;} OrderID)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Concat({&amp;lt;Date = {"$(=&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Date(Max({&amp;lt;OrderID = {'*'}&amp;gt;} Date))&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;)"}&amp;gt;} DISTINCT OrderID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Max({&amp;lt;Date = {"$(=&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Date(Max({&amp;lt;OrderID = {'*'}&amp;gt;} Date))&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;)"}&amp;gt;} DISTINCT OrderID)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;The correct one depends on your specific requirements and data model. Adapt to fit. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2017 06:28:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Values-in-Text-box/m-p/1268519#M853179</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2017-02-27T06:28:21Z</dc:date>
    </item>
  </channel>
</rss>

