<?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: Difference between # and normal functions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Difference-between-and-normal-functions/m-p/814369#M1047544</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Basically,&lt;/P&gt;&lt;P&gt;Num() - changes format only (without making any change in the original backend data)&lt;/P&gt;&lt;P&gt;Num#()&amp;nbsp; - parses/reads the data according to mentioned format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read this: &lt;A href="https://community.qlik.com/message/538561"&gt;Re: Num&amp;nbsp; vs num #&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The rest are similar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Nov 2014 05:53:21 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2014-11-12T05:53:21Z</dc:date>
    <item>
      <title>Difference between # and normal functions</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-between-and-normal-functions/m-p/814368#M1047543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;Can anybody explain in the following in brief:&lt;/P&gt;&lt;P&gt;time vs time#&lt;/P&gt;&lt;P&gt;date vs date#&lt;/P&gt;&lt;P&gt;num vs num#&lt;/P&gt;&lt;P&gt;timestamp vs timestamp#&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 05:50:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-between-and-normal-functions/m-p/814368#M1047543</guid>
      <dc:creator />
      <dc:date>2014-11-12T05:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between # and normal functions</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-between-and-normal-functions/m-p/814369#M1047544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Basically,&lt;/P&gt;&lt;P&gt;Num() - changes format only (without making any change in the original backend data)&lt;/P&gt;&lt;P&gt;Num#()&amp;nbsp; - parses/reads the data according to mentioned format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read this: &lt;A href="https://community.qlik.com/message/538561"&gt;Re: Num&amp;nbsp; vs num #&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The rest are similar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 05:53:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-between-and-normal-functions/m-p/814369#M1047544</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-11-12T05:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between # and normal functions</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-between-and-normal-functions/m-p/814370#M1047545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;time() is only about the format (kind of 'layouting' the value)&lt;/P&gt;&lt;P&gt;time#() is about interpreting...telling QlikView that this string is actually a Time/Date/Timestamp...&amp;nbsp; only if QlikView interprets a field/value correctly you can use it properly and formatting it with time()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 05:56:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-between-and-normal-functions/m-p/814370#M1047545</guid>
      <dc:creator>danieloberbilli</dc:creator>
      <dc:date>2014-11-12T05:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between # and normal functions</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-between-and-normal-functions/m-p/814371#M1047546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;num()chnages the format,num#()changes the data according given format&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 06:02:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-between-and-normal-functions/m-p/814371#M1047546</guid>
      <dc:creator />
      <dc:date>2014-11-12T06:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between # and normal functions</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-between-and-normal-functions/m-p/814372#M1047547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;time() changes the time format&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 06:08:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-between-and-normal-functions/m-p/814372#M1047547</guid>
      <dc:creator />
      <dc:date>2014-11-12T06:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between # and normal functions</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-between-and-normal-functions/m-p/814373#M1047548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this too.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/553459#553459"&gt;http://community.qlik.com/message/553459#553459&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 06:18:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-between-and-normal-functions/m-p/814373#M1047548</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-11-12T06:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between # and normal functions</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-between-and-normal-functions/m-p/814374#M1047549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Date#()&amp;nbsp; is used to convert a Text/String into a Number with a specific format&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Date( )&amp;nbsp; is used to format a number to specific format&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Look at the below example...&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Considering you have below Default Date Format in you script&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SET DateFormat='DD/MM/YYYY';&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Now Take an example of below sample code&lt;/P&gt;&lt;P&gt;Load * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;&amp;nbsp; InvoiceDate&lt;/P&gt;&lt;P&gt;&amp;nbsp; 14-05-2014&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a Text Box in your UI and write below &lt;/P&gt;&lt;P&gt;=NUM(InvoiceDate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will get - even though QlikView consider InvoiceDate as Number&lt;/P&gt;&lt;P&gt;Because your default date format is DD/MM/YYYY and QlikView can't match DD-MM-YYYY and DD/MM/YYYY. So we need either to change the Default Date Format or need to tell QlikView that InvoiceDate is actually a Date.. How?&lt;/P&gt;&lt;P&gt;Use below in your Script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Date(Date#(InvoiceDate,'DD-MM-YYYY'))&amp;nbsp; as InvoiceDate&lt;/P&gt;&lt;P&gt;Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;&amp;nbsp; InvoiceDate&lt;/P&gt;&lt;P&gt;&amp;nbsp; 14-05-2014&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will convert InvoiceDate to the Date Format as per your Script... i.e. 14/05/2014&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if use =NUM(InvoiceDate) in you text box you will get actual number corresponds to the InvoiceDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can directly use as below in your Text Box&lt;/P&gt;&lt;P&gt;=NUM(Date#(InvoiceDate,'DD-MM-YYYY'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;============================================&lt;/P&gt;&lt;P&gt;Same way we can use TimeStamp, Time and Num....&lt;/P&gt;&lt;P&gt;Hope this would be helpful...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 07:31:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-between-and-normal-functions/m-p/814374#M1047549</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-11-12T07:31:52Z</dc:date>
    </item>
  </channel>
</rss>

