<?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 exponential value returns text in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/exponential-value-returns-text/m-p/432777#M487704</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a script with SQL query to Analysis Services database, and the problem is with one of the metrics I choose, when the query return a exponential value like (&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;4.5045045045045043E-2&lt;/STRONG&gt;&lt;/SPAN&gt;)&amp;nbsp; qlikview assume that is a text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 960px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="202"&gt;City&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="83"&gt;Metric A&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="106"&gt;Metric B&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="131"&gt;Metric C&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;XXX&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;0,00000000%&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;3,96825397%&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;4.5045045045045043E-2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;XXX&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;31,57894737%&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;31,57894737%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;XXX&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;31,57894737%&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;31,57894737%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i change that direct in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT &lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;[Measures].[Metric A],&lt;/P&gt;&lt;P&gt;[Measures].[Metric B],&lt;/P&gt;&lt;P&gt;[Measures].[Metric C]&lt;/P&gt;&lt;P&gt;} &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DIMENSION PROPERTIES PARENT_UNIQUE_NAME ON COLUMNS , NON EMPTY &lt;/P&gt;&lt;P&gt;CrossJoin(({&lt;/P&gt;&lt;P&gt;[City].Children}), &lt;/P&gt;&lt;P&gt;[Day].Children)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ON ROWS&amp;nbsp; FROM &lt;/P&gt;&lt;P&gt;(SELECT ({[Year].&amp;amp;[2012],[Year].&amp;amp;[2013]})&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ON COLUMNS&amp;nbsp; FROM &lt;G&gt;) &lt;/G&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE (&lt;/P&gt;&lt;P&gt;[Company].&amp;amp;[283],&lt;/P&gt;&lt;P&gt;[Nature Type].&amp;amp;&lt;O&gt;) &lt;/O&gt;&lt;/P&gt;&lt;P&gt;CELL PROPERTIES VALUE, FORMAT_STRING, LANGUAGE, BACK_COLOR, FORE_COLOR, FONT_FLAGS&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Feb 2013 12:44:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-02-13T12:44:19Z</dc:date>
    <item>
      <title>exponential value returns text</title>
      <link>https://community.qlik.com/t5/QlikView/exponential-value-returns-text/m-p/432777#M487704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a script with SQL query to Analysis Services database, and the problem is with one of the metrics I choose, when the query return a exponential value like (&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;4.5045045045045043E-2&lt;/STRONG&gt;&lt;/SPAN&gt;)&amp;nbsp; qlikview assume that is a text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 960px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="202"&gt;City&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="83"&gt;Metric A&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="106"&gt;Metric B&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="131"&gt;Metric C&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;XXX&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;0,00000000%&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;3,96825397%&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;4.5045045045045043E-2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;XXX&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;31,57894737%&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;31,57894737%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;XXX&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;31,57894737%&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;31,57894737%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i change that direct in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT &lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;[Measures].[Metric A],&lt;/P&gt;&lt;P&gt;[Measures].[Metric B],&lt;/P&gt;&lt;P&gt;[Measures].[Metric C]&lt;/P&gt;&lt;P&gt;} &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DIMENSION PROPERTIES PARENT_UNIQUE_NAME ON COLUMNS , NON EMPTY &lt;/P&gt;&lt;P&gt;CrossJoin(({&lt;/P&gt;&lt;P&gt;[City].Children}), &lt;/P&gt;&lt;P&gt;[Day].Children)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ON ROWS&amp;nbsp; FROM &lt;/P&gt;&lt;P&gt;(SELECT ({[Year].&amp;amp;[2012],[Year].&amp;amp;[2013]})&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ON COLUMNS&amp;nbsp; FROM &lt;G&gt;) &lt;/G&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE (&lt;/P&gt;&lt;P&gt;[Company].&amp;amp;[283],&lt;/P&gt;&lt;P&gt;[Nature Type].&amp;amp;&lt;O&gt;) &lt;/O&gt;&lt;/P&gt;&lt;P&gt;CELL PROPERTIES VALUE, FORMAT_STRING, LANGUAGE, BACK_COLOR, FORE_COLOR, FONT_FLAGS&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 12:44:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/exponential-value-returns-text/m-p/432777#M487704</guid>
      <dc:creator />
      <dc:date>2013-02-13T12:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: exponential value returns text</title>
      <link>https://community.qlik.com/t5/QlikView/exponential-value-returns-text/m-p/432778#M487705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try to change the format in the source database (you must look for the correct syntax) not in qv.&lt;/P&gt;&lt;P&gt;Otherwise you can use it as a string, look for the "E" if exists, truncate the string and then multiply for 10, 100, 1000 ... regarding the number after E&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 12:48:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/exponential-value-returns-text/m-p/432778#M487705</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2013-02-13T12:48:08Z</dc:date>
    </item>
  </channel>
</rss>

