Bug 122468 - FILEOPEN XLSX, Pivot table gets an extra empty column in LO.
Summary: FILEOPEN XLSX, Pivot table gets an extra empty column in LO.
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All All
: medium major
Assignee: Not Assigned
Keywords: dataLoss, filter:xlsx
Depends on:
Blocks: Pivot-Table-XLSX
  Show dependency treegraph
Reported: 2019-01-04 10:17 UTC by NISZ LibreOffice Team
Modified: 2023-03-31 03:29 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:

A spreadsheet with a pivot table. (21.93 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2019-01-04 10:18 UTC, NISZ LibreOffice Team
Screenshot of the original document side by side in Excel and Calc. (332.76 KB, image/png)
2019-01-04 10:18 UTC, NISZ LibreOffice Team

Note You need to log in before you can comment on or make changes to this bug.
Description NISZ LibreOffice Team 2019-01-04 10:17:44 UTC
When a pivot table with one line label gets opened in LO it gets an extra empty column which can overlap other parts of the spreadsheet.

Steps to Reproduce:
    1. Create a new xlsx with some data.
    2. Create a pivot table from some data with one line label.
    3. Save it as xlsx.
    4. Open it in LO.

Actual Results:
The pivot table has an extra empty column

Expected Results:
It should have the same amount of columns.

Reproducible: Always

User Profile Reset: No

Additional Info:
Comment 1 NISZ LibreOffice Team 2019-01-04 10:18:08 UTC
Created attachment 148004 [details]
A spreadsheet with a pivot table.
Comment 2 NISZ LibreOffice Team 2019-01-04 10:18:27 UTC
Created attachment 148005 [details]
Screenshot of the original document side by side in Excel and Calc.
Comment 3 Durgapriyanka 2019-01-04 18:56:53 UTC
Thank you for reporting the bug. I can confirm that the bug is present in

Build ID: 3c964980da07892a02d5ac721d80558c459532d0
CPU threads: 2; OS: Windows 6.1; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-12-12_02:07:45
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded
Comment 4 Xisco Faulí 2019-01-16 18:01:29 UTC
Also reproduced in

Version (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)
Comment 5 Buovjaga 2019-01-26 15:37:36 UTC

Win 10
Comment 6 Gabor Kelemen (allotropia) 2019-03-28 09:38:19 UTC
Also: if there is some cell content in the cells right of the pivot table, the new column overwrites all of it, effectively causing data loss.

I'm bumping the severity because of this.
Comment 7 QA Administrators 2021-03-28 03:36:06 UTC Comment hidden (obsolete)
Comment 8 Gabor Kelemen (allotropia) 2021-03-30 10:14:09 UTC
Still a problem in:

Version: / LibreOffice Community
Build ID: 5262a9e88037decc26da84e7fa62f2955d4cdb85
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: hu-HU (hu_HU.UTF-8); UI: en-US
Calc: threaded
Comment 9 QA Administrators 2023-03-31 03:29:20 UTC
Dear NISZ LibreOffice Team,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)

If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword

Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team