Bug 120931 - FILEOPEN XLSX Total result is added to Pivot chart as value in Excel-made spreadsheet
Summary: FILEOPEN XLSX Total result is added to Pivot chart as value in Excel-made spr...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.1 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:xlsx
: 122466 (view as bug list)
Depends on:
Blocks: Pivot-Chart Pivot-Table-XLSX
  Show dependency treegraph
 
Reported: 2018-10-26 08:57 UTC by NISZ LibreOffice Team
Modified: 2019-01-15 18:09 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
The original file created in Excel. Open this in LibreOffice Calc to see the issue. (22.97 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2018-10-26 08:58 UTC, NISZ LibreOffice Team
Details
The Excel-made spreadsheet exported as XLSX from LibreOffice 6.2Dev. (20.54 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2018-10-26 08:58 UTC, NISZ LibreOffice Team
Details
A similar spreadsheet, but this time created in LibreOffice Calc (for reference). (15.35 KB, application/vnd.oasis.opendocument.spreadsheet)
2018-10-26 08:59 UTC, NISZ LibreOffice Team
Details
The Calc-made spreadsheet exported as XLSX from LibreOffice 6.2Dev. Notice, that while this also converts the pivot chart into regular chart, this doesn't showcase the issue described in this bugrepor (20.54 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2018-10-26 08:59 UTC, NISZ LibreOffice Team
Details
A screenshot showcasing the issue. (125.61 KB, image/png)
2018-10-26 09:00 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NISZ LibreOffice Team 2018-10-26 08:57:39 UTC
Description:
Total results of Pivot tables are displayed as regular values when importing XLSX spreadsheets saved by Excel. This makes the charts hard to read in cases where there are many small values in a pivot table, because the sum is a much larger number than the individual values.

LibreOffice Calc only supports pivot charts in ODS format, so when a spreadsheet created in Calc is saved as XLSX pivot charts are converted to regular charts, but the total result isn't added as an individual value to the chart. Something similar would be desirable in short term when importing Excel-made XLSX files: display it as a regular chart, but do not add the total result to the chart. At least until we have proper support for pivot charts in OOXML (XLSX) format.

Steps to Reproduce:
1. Open Excel and add some data to a new spreadsheet.
2. Create a pivot chart with the default settings.
3. Save the file as XLSX.
4. Open the file in LibreOffice Calc.

Actual Results:
Total result is added as last value to the pivot chart.

Expected Results:
Total result shouldn't be part of the chart.


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 NISZ LibreOffice Team 2018-10-26 08:58:38 UTC
Created attachment 146024 [details]
The original file created in Excel. Open this in LibreOffice Calc to see the issue.
Comment 2 NISZ LibreOffice Team 2018-10-26 08:58:53 UTC
Created attachment 146025 [details]
The Excel-made spreadsheet exported as XLSX from LibreOffice 6.2Dev.
Comment 3 NISZ LibreOffice Team 2018-10-26 08:59:11 UTC
Created attachment 146026 [details]
A similar spreadsheet, but this time created in LibreOffice Calc (for reference).
Comment 4 NISZ LibreOffice Team 2018-10-26 08:59:39 UTC
Created attachment 146027 [details]
The Calc-made spreadsheet exported as XLSX from LibreOffice 6.2Dev. Notice, that while this also converts the pivot chart into regular chart, this doesn't showcase the issue described in this bugrepor
Comment 5 NISZ LibreOffice Team 2018-10-26 09:00:00 UTC
Created attachment 146028 [details]
A screenshot showcasing the issue.
Comment 6 Gabor Kelemen 2019-01-04 16:36:45 UTC
*** Bug 122466 has been marked as a duplicate of this bug. ***
Comment 7 raal 2019-01-05 13:34:17 UTC
Confirm.Version: 6.3.0.0.alpha0+
Build ID: ef58bf56ad292656ad2de0a417eda72cc170f782
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3;
Comment 8 Xisco Faulí 2019-01-15 18:09:46 UTC
Also reproduced in

Version: 5.2.0.0.alpha0+
Build ID: 3ca42d8d51174010d5e8a32b96e9b4c0b3730a53
Threads 4; Ver: 4.15; Render: default; 

Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)