<?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 Export multiple formats for a single column correctly to Excel in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Export-multiple-formats-for-a-single-column-correctly-to-Excel/m-p/1974963#M80427</link>
    <description>&lt;P&gt;I have a pivot table, where a single has multiple formats (which are set within the measure expression). When I export the pivot table to Excel the formats aren’t identified correctly and calculations deliver wrong results.&lt;/P&gt;
&lt;P&gt;Is there a way to make Excel identify the formats correctly?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To demonstrate the problem, I’ve created the following pivot-table as an example:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kge01_0-1661875936010.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/87886i6F4E2D9B356E9301/image-size/large?v=v2&amp;amp;px=999" role="button" title="kge01_0-1661875936010.png" alt="kge01_0-1661875936010.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;In column 1 the format is set in the menu to ‘#.##0,0’.&lt;/LI&gt;
&lt;LI&gt;In column 2 the format is set in the expression to '#.##0,00 €'&lt;/LI&gt;
&lt;LI&gt;In column 3 the format is set in the expression, depending on the dimension value (that’s the column that creates the issue)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Exporting the pivot-table to Excel shows the first problem: the values in column 3 aren’t identified as numbers, as they are left-aligned.&lt;/P&gt;
&lt;P&gt;The even bigger problem is that calculations deliver wrong results: Trying to sum up the values for “Birne” and “Kirsche” the regular plus formula delivers the correct results. However, the sum-function only works for column 1 and column 2 but fails to deliver a correct result for column 3 (marked yellow in the screenshot below).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kge01_1-1661875936031.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/87887i651E68B985483B80/image-size/large?v=v2&amp;amp;px=999" role="button" title="kge01_1-1661875936031.png" alt="kge01_1-1661875936031.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;Thanks for your help!&lt;/P&gt;</description>
    <pubDate>Tue, 30 Aug 2022 16:16:11 GMT</pubDate>
    <dc:creator>kge01</dc:creator>
    <dc:date>2022-08-30T16:16:11Z</dc:date>
    <item>
      <title>Export multiple formats for a single column correctly to Excel</title>
      <link>https://community.qlik.com/t5/App-Development/Export-multiple-formats-for-a-single-column-correctly-to-Excel/m-p/1974963#M80427</link>
      <description>&lt;P&gt;I have a pivot table, where a single has multiple formats (which are set within the measure expression). When I export the pivot table to Excel the formats aren’t identified correctly and calculations deliver wrong results.&lt;/P&gt;
&lt;P&gt;Is there a way to make Excel identify the formats correctly?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To demonstrate the problem, I’ve created the following pivot-table as an example:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kge01_0-1661875936010.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/87886i6F4E2D9B356E9301/image-size/large?v=v2&amp;amp;px=999" role="button" title="kge01_0-1661875936010.png" alt="kge01_0-1661875936010.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;In column 1 the format is set in the menu to ‘#.##0,0’.&lt;/LI&gt;
&lt;LI&gt;In column 2 the format is set in the expression to '#.##0,00 €'&lt;/LI&gt;
&lt;LI&gt;In column 3 the format is set in the expression, depending on the dimension value (that’s the column that creates the issue)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Exporting the pivot-table to Excel shows the first problem: the values in column 3 aren’t identified as numbers, as they are left-aligned.&lt;/P&gt;
&lt;P&gt;The even bigger problem is that calculations deliver wrong results: Trying to sum up the values for “Birne” and “Kirsche” the regular plus formula delivers the correct results. However, the sum-function only works for column 1 and column 2 but fails to deliver a correct result for column 3 (marked yellow in the screenshot below).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kge01_1-1661875936031.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/87887i651E68B985483B80/image-size/large?v=v2&amp;amp;px=999" role="button" title="kge01_1-1661875936031.png" alt="kge01_1-1661875936031.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;Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 16:16:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Export-multiple-formats-for-a-single-column-correctly-to-Excel/m-p/1974963#M80427</guid>
      <dc:creator>kge01</dc:creator>
      <dc:date>2022-08-30T16:16:11Z</dc:date>
    </item>
  </channel>
</rss>

