<?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: Clarification needed on Dual Data Type in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Clarification-needed-on-Dual-Data-Type/m-p/1123661#M370067</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are referring to the return data type of these functions as described in the HELP, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This basically means that Peek() and Previous() should return the field or expression value keeping both representations, text and numeric, &lt;EM&gt;when&lt;/EM&gt; &lt;EM&gt;possible &lt;/EM&gt;(i.e. Peek() will only return the numeric representation if the field value the peek() is referencing is actually showing a numeric representation. The function itself will not create one.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should be the case with most functions. Few exceptions: Some string functions like Left() will only return a value with text format (numeric format will be empty), and some aggregations like Sum() will only return a numeric format (still you can use text functions with an implicite text format interpretation).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe this should describe the basic design, but you may encounter some issues with dual format handling, as I believe this basic idea is not implemented correctly in all places.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 09 Jul 2016 08:10:45 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-07-09T08:10:45Z</dc:date>
    <item>
      <title>Clarification needed on Dual Data Type</title>
      <link>https://community.qlik.com/t5/QlikView/Clarification-needed-on-Dual-Data-Type/m-p/1123659#M370065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dual Data Type means the data value can be interpreted as Text and Numeric. Example: Num(Month('7/9/2016')) = 7 and Text&lt;SPAN style="font-size: 13.3333px;"&gt;(Month('7/9/2016')) = Jul. So I can say Month function is of dual data type.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But how can we say Peek, Previous, First sorted value and other (Non-Date and Time) as Dual Type?&lt;/P&gt;&lt;P&gt;Example, Previous (expression) - for first row of a table, it returns Null. How can we call Previous function as a Dual Data type?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not understand this concept.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Jul 2016 05:30:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clarification-needed-on-Dual-Data-Type/m-p/1123659#M370065</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-09T05:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Clarification needed on Dual Data Type</title>
      <link>https://community.qlik.com/t5/QlikView/Clarification-needed-on-Dual-Data-Type/m-p/1123660#M370066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps, you need peek(). Please refer : &lt;A href="https://community.qlik.com/docs/DOC-9314"&gt;Peek() or Previous() ?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Jul 2016 06:44:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clarification-needed-on-Dual-Data-Type/m-p/1123660#M370066</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-07-09T06:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: Clarification needed on Dual Data Type</title>
      <link>https://community.qlik.com/t5/QlikView/Clarification-needed-on-Dual-Data-Type/m-p/1123661#M370067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are referring to the return data type of these functions as described in the HELP, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This basically means that Peek() and Previous() should return the field or expression value keeping both representations, text and numeric, &lt;EM&gt;when&lt;/EM&gt; &lt;EM&gt;possible &lt;/EM&gt;(i.e. Peek() will only return the numeric representation if the field value the peek() is referencing is actually showing a numeric representation. The function itself will not create one.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should be the case with most functions. Few exceptions: Some string functions like Left() will only return a value with text format (numeric format will be empty), and some aggregations like Sum() will only return a numeric format (still you can use text functions with an implicite text format interpretation).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe this should describe the basic design, but you may encounter some issues with dual format handling, as I believe this basic idea is not implemented correctly in all places.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Jul 2016 08:10:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clarification-needed-on-Dual-Data-Type/m-p/1123661#M370067</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-07-09T08:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: Clarification needed on Dual Data Type</title>
      <link>https://community.qlik.com/t5/QlikView/Clarification-needed-on-Dual-Data-Type/m-p/1123662#M370068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Swuehl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jul 2016 02:23:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clarification-needed-on-Dual-Data-Type/m-p/1123662#M370068</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-10T02:23:56Z</dc:date>
    </item>
  </channel>
</rss>

