<?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 Direct Query : Issue with decimal values in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Direct-Query-Issue-with-decimal-values/m-p/2135855#M12986</link>
    <description>&lt;P&gt;Hello guys,&lt;/P&gt;
&lt;P&gt;I am having an issue while using Direct Query and my DATA stored in Snowflake.&lt;/P&gt;
&lt;P&gt;The case is as simple as this :&lt;/P&gt;
&lt;P&gt;I have a field "TOTAL" and I want to calcule : Sum(TOTAL).&lt;/P&gt;
&lt;P&gt;It does not work because it seems DIrect Query does not like decimal values.&lt;/P&gt;
&lt;P&gt;When I am calculating Sum(TOTAL_ARRONDI) where&amp;nbsp;TOTAL_ARRONDI is TOTAL rounded, It works.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Antoine04_0-1699451101785.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/119570iA4EE9B96CCD1FB99/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Antoine04_0-1699451101785.png" alt="Antoine04_0-1699451101785.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any idea about how to solve this ?&lt;/P&gt;
&lt;P&gt;Thanks !&lt;/P&gt;</description>
    <pubDate>Wed, 08 Nov 2023 13:46:04 GMT</pubDate>
    <dc:creator>Antoine04</dc:creator>
    <dc:date>2023-11-08T13:46:04Z</dc:date>
    <item>
      <title>Direct Query : Issue with decimal values</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Direct-Query-Issue-with-decimal-values/m-p/2135855#M12986</link>
      <description>&lt;P&gt;Hello guys,&lt;/P&gt;
&lt;P&gt;I am having an issue while using Direct Query and my DATA stored in Snowflake.&lt;/P&gt;
&lt;P&gt;The case is as simple as this :&lt;/P&gt;
&lt;P&gt;I have a field "TOTAL" and I want to calcule : Sum(TOTAL).&lt;/P&gt;
&lt;P&gt;It does not work because it seems DIrect Query does not like decimal values.&lt;/P&gt;
&lt;P&gt;When I am calculating Sum(TOTAL_ARRONDI) where&amp;nbsp;TOTAL_ARRONDI is TOTAL rounded, It works.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Antoine04_0-1699451101785.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/119570iA4EE9B96CCD1FB99/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Antoine04_0-1699451101785.png" alt="Antoine04_0-1699451101785.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any idea about how to solve this ?&lt;/P&gt;
&lt;P&gt;Thanks !&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 13:46:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Direct-Query-Issue-with-decimal-values/m-p/2135855#M12986</guid>
      <dc:creator>Antoine04</dc:creator>
      <dc:date>2023-11-08T13:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: Direct Query : Issue with decimal values</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Direct-Query-Issue-with-decimal-values/m-p/2136358#M12991</link>
      <description>&lt;P&gt;You may try to play with the number-format and replacing the comma with a dot.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 15:20:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Direct-Query-Issue-with-decimal-values/m-p/2136358#M12991</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2023-11-09T15:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: Direct Query : Issue with decimal values</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Direct-Query-Issue-with-decimal-values/m-p/2137891#M13014</link>
      <description>&lt;P&gt;I tried already, but it did not work neither.&lt;/P&gt;
&lt;P&gt;I just think it's not possible to sum decimal values with direct query. Quite annoying &lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 08:16:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Direct-Query-Issue-with-decimal-values/m-p/2137891#M13014</guid>
      <dc:creator>Antoine04</dc:creator>
      <dc:date>2023-11-15T08:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Direct Query : Issue with decimal values</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Direct-Query-Issue-with-decimal-values/m-p/2137913#M13017</link>
      <description>&lt;P&gt;Never worked with direct query but I doubt that there is a general issue with decimal values. I think it's rather related to the applied settings and/or the way the data are processed. For example if your default number-format has a comma as decimal delimiter and you assigned a timestamp to variable like:&lt;/P&gt;
&lt;P&gt;let v = num(peek('timestamp', -1, 'table'));&lt;/P&gt;
&lt;P&gt;your variable will contain a valid value with a comma. Just displaying v in a text-box or similar will work without an error but if you want to calculate with it like:&lt;/P&gt;
&lt;P&gt;let x = $(v) + 1;&lt;/P&gt;
&lt;P&gt;it will fail. A similar behaviour may occur by various points within the processing.&lt;/P&gt;
&lt;P&gt;Beside this you may look for workarounds like multiplying the values at first with something like 1000 and making an integer from the float without loosing information and later it's divided again. Also thinkable would be approaches like fetching the values with floor() and frac() and their lengths and also matching them lately.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 09:09:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Direct-Query-Issue-with-decimal-values/m-p/2137913#M13017</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2023-11-15T09:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Direct Query : Issue with decimal values</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Direct-Query-Issue-with-decimal-values/m-p/2140712#M13055</link>
      <description>&lt;P&gt;Thank you for your help Marcus !&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 09:56:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Direct-Query-Issue-with-decimal-values/m-p/2140712#M13055</guid>
      <dc:creator>Antoine04</dc:creator>
      <dc:date>2023-11-23T09:56:36Z</dc:date>
    </item>
  </channel>
</rss>

