<?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: same app with different number formats in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/same-app-with-different-number-formats/m-p/1821210#M67320</link>
    <description>&lt;P&gt;I have found the "touchless formatting" technique the easiest way to switch number formats.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://qlikviewcookbook.com/2016/07/touchless-formatting/" target="_blank"&gt;https://qlikviewcookbook.com/2016/07/touchless-formatting/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;</description>
    <pubDate>Sat, 10 Jul 2021 14:57:58 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2021-07-10T14:57:58Z</dc:date>
    <item>
      <title>same app with different number formats</title>
      <link>https://community.qlik.com/t5/App-Development/same-app-with-different-number-formats/m-p/1821007#M67305</link>
      <description>&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;I am currently developing an App that&amp;nbsp; will be used in regions with different number format.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've got two different types of config values that will be read before the fact table:&lt;/P&gt;&lt;P&gt;NUMBER FORMAT 1&lt;/P&gt;&lt;P&gt;SET ThousandSep='.';&lt;BR /&gt;SET DecimalSep=',';&lt;BR /&gt;SET MoneyThousandSep='.';&lt;BR /&gt;SET MoneyDecimalSep=',';&lt;BR /&gt;SET MoneyFormat='#.##0,00 €;-#.##0,00 €';&lt;BR /&gt;SET TimeFormat='h:mm:ss';&lt;BR /&gt;SET DateFormat='DD/MM/YYYY';&lt;BR /&gt;SET TimestampFormat='DD/MM/YYYY h:mm:ss[.fff]';&lt;BR /&gt;SET MonthNames='ene;feb;mar;abr;may;jun;jul;ago;sep;oct;nov;dic';&lt;BR /&gt;SET DayNames='lun;mar;mié;jue;vie;sáb;dom';&lt;BR /&gt;SET LongMonthNames='enero;febrero;marzo;abril;mayo;junio;julio;agosto;septiembre;octubre;noviembre;diciembre';&lt;BR /&gt;SET LongDayNames='lunes;martes;miércoles;jueves;viernes;sábado;domingo';&lt;BR /&gt;SET FirstWeekDay=0;&lt;BR /&gt;SET BrokenWeeks=1;&lt;BR /&gt;SET ReferenceDay=0;&lt;BR /&gt;SET FirstMonthOfYear=1;&lt;BR /&gt;SET CollationLocale='es-ES';&lt;/P&gt;&lt;P&gt;NUMBER FORMAT 2&lt;BR /&gt;SET ThousandSep=',';&lt;BR /&gt;SET DecimalSep='.';&lt;BR /&gt;SET MoneyThousandSep=',';&lt;BR /&gt;SET MoneyDecimalSep='.';&lt;BR /&gt;SET MoneyFormat='#.##0,00 €;-#.##0,00 €';&lt;BR /&gt;SET TimeFormat='h:mm:ss';&lt;BR /&gt;SET DateFormat='DD/MM/YYYY';&lt;BR /&gt;SET TimestampFormat='DD/MM/YYYY h:mm:ss[.fff]';&lt;BR /&gt;SET MonthNames='ene;feb;mar;abr;may;jun;jul;ago;sep;oct;nov;dic';&lt;BR /&gt;SET DayNames='lun;mar;mié;jue;vie;sáb;dom';&lt;BR /&gt;SET LongMonthNames='enero;febrero;marzo;abril;mayo;junio;julio;agosto;septiembre;octubre;noviembre;diciembre';&lt;BR /&gt;SET LongDayNames='lunes;martes;miércoles;jueves;viernes;sábado;domingo';&lt;BR /&gt;SET FirstWeekDay=0;&lt;BR /&gt;SET BrokenWeeks=1;&lt;BR /&gt;SET ReferenceDay=0;&lt;BR /&gt;SET FirstMonthOfYear=1;&lt;BR /&gt;SET CollationLocale='es-ES';&lt;/P&gt;&lt;P&gt;I've been testing with different type of objects:&lt;/P&gt;&lt;P&gt;-Block chart&lt;/P&gt;&lt;P&gt;-Pivo table&lt;/P&gt;&lt;P&gt;-Table&lt;/P&gt;&lt;P&gt;-KPI&lt;/P&gt;&lt;P&gt;Test #1&lt;/P&gt;&lt;P&gt;-Loading&amp;nbsp;NUMBER FORMAT 1 (i.e&amp;nbsp; 1.200.989,56)&lt;/P&gt;&lt;P&gt;All the measures have number format with 2 decimal places&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ruben_moya_0-1625832752361.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/58325i43F0A7E6A1A2B58B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ruben_moya_0-1625832752361.png" alt="ruben_moya_0-1625832752361.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the Region #1,&amp;nbsp; I get the desired result.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, the tables keep the format when exported&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ruben_moya_1-1625832752418.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/58324iF6C96D6F0955ED3A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ruben_moya_1-1625832752418.png" alt="ruben_moya_1-1625832752418.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Test #2&lt;/P&gt;&lt;P&gt;-Loading&amp;nbsp;NUMBER FORMAT 2 (i.e&amp;nbsp; 1,200,989.56)&lt;/P&gt;&lt;P&gt;If we load now the data with the 2nd number format, the data in the objects doesn't change. There is one difference:&lt;/P&gt;&lt;P&gt;The format of the object has changed; it still remains as number but the drop down list appears blank.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ruben_moya_2-1625832752367.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/58326i188F940A8F068757/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ruben_moya_2-1625832752367.png" alt="ruben_moya_2-1625832752367.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, if I change to Automatic, then Number again, it automatically selects the 2 decimal places format:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ruben_moya_3-1625832752469.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/58327i68EE3A8987CD9EE0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ruben_moya_3-1625832752469.png" alt="ruben_moya_3-1625832752469.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then the numbers appear with the desired format in all the objects:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ruben_moya_4-1625832752375.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/58328iC1D037BD75A282A6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ruben_moya_4-1625832752375.png" alt="ruben_moya_4-1625832752375.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know why does this happen? Is there any other way to switch between different number formats using the same app?&lt;/P&gt;&lt;P&gt;I've also tried using a variable v.FNum and the Automatic format, but it won't export the format correctly: num(Sum({&amp;lt;flag={'3'}&amp;gt;} Euros),v.FNum)&lt;/P&gt;&lt;P&gt;Thanks in advance, have a good day!&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jul 2021 12:12:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/same-app-with-different-number-formats/m-p/1821007#M67305</guid>
      <dc:creator>ruben_moya</dc:creator>
      <dc:date>2021-07-09T12:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: same app with different number formats</title>
      <link>https://community.qlik.com/t5/App-Development/same-app-with-different-number-formats/m-p/1821210#M67320</link>
      <description>&lt;P&gt;I have found the "touchless formatting" technique the easiest way to switch number formats.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://qlikviewcookbook.com/2016/07/touchless-formatting/" target="_blank"&gt;https://qlikviewcookbook.com/2016/07/touchless-formatting/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jul 2021 14:57:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/same-app-with-different-number-formats/m-p/1821210#M67320</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2021-07-10T14:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: same app with different number formats</title>
      <link>https://community.qlik.com/t5/App-Development/same-app-with-different-number-formats/m-p/1821340#M67330</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6148"&gt;@rwunderlich&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;thanks for your post. However, I haven't been able to make it work. Is it possible that&amp;nbsp;"touchless formatting" only works when number format is defined as 'Automatic'within the different objects?&lt;/P&gt;&lt;P&gt;So as to be abIe to export the tables correctly, I need to use 2 decimal places number format within the objects. The only way I've found to change the format correctly while keeping the&amp;nbsp;2 decimal places number format is by changing:&lt;/P&gt;&lt;P&gt;SET ThousandSep=',';&lt;BR /&gt;SET DecimalSep='.';&lt;/P&gt;&lt;P&gt;But every time the app is loaded with a different value for&amp;nbsp;ThousandSep and&amp;nbsp;DecimalSep, I get the blank dropdown.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ruben_moya_1-1626077455559.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/58412i8B629E542E93A1AC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ruben_moya_1-1626077455559.png" alt="ruben_moya_1-1626077455559.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am loading:&lt;/P&gt;&lt;P&gt;TempFormatTable:&lt;BR /&gt;LOAD&lt;BR /&gt;Num(0, '#,##0.00') as EURBilled&lt;BR /&gt;AutoGenerate 1;&lt;/P&gt;&lt;P&gt;Services_Bookings:&lt;BR /&gt;LOAD *&lt;BR /&gt;FROM [lib://BI_Global/99.Shared\2.QVD\XXX.qvd]&lt;BR /&gt;(qvd);&lt;/P&gt;&lt;P&gt;DROP TABLE TempFormatTable; // Drop temp table&lt;/P&gt;&lt;P&gt;But I'm not getting the expected results. Am I doing something wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advanced!&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 08:21:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/same-app-with-different-number-formats/m-p/1821340#M67330</guid>
      <dc:creator>ruben_moya</dc:creator>
      <dc:date>2021-07-12T08:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: same app with different number formats</title>
      <link>https://community.qlik.com/t5/App-Development/same-app-with-different-number-formats/m-p/1823455#M67559</link>
      <description>&lt;P&gt;Yes, the "touchless formatting" would only apply to the default formatting.&amp;nbsp; I would have to dig into the actual implementation of "automatic" to comment further.&amp;nbsp; Same goes for exporting, let me see if I can do some testing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 00:33:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/same-app-with-different-number-formats/m-p/1823455#M67559</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2021-07-21T00:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: same app with different number formats</title>
      <link>https://community.qlik.com/t5/App-Development/same-app-with-different-number-formats/m-p/1823487#M67561</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6148"&gt;@rwunderlich&lt;/a&gt;&amp;nbsp; once again for your time.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 06:20:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/same-app-with-different-number-formats/m-p/1823487#M67561</guid>
      <dc:creator>ruben_moya</dc:creator>
      <dc:date>2021-07-21T06:20:26Z</dc:date>
    </item>
  </channel>
</rss>

