Bug 169936 - FILESAVE XLSX: Pivot table wrong grouping
Summary: FILESAVE XLSX: Pivot table wrong grouping
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
26.2.0.0 alpha0+ master
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, filter:xlsx, regression
Depends on:
Blocks: Pivot-Table-XLSX
  Show dependency treegraph
 
Reported: 2025-12-11 10:47 UTC by Timur
Modified: 2025-12-15 11:11 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
XLSX (56.81 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2025-12-11 10:48 UTC, Timur
Details
XLSX compared (100.18 KB, image/jpeg)
2025-12-11 10:56 UTC, Timur
Details
TEST LBO 26.2 vs MSO 365 (121.92 KB, image/jpeg)
2025-12-11 12:11 UTC, steve.contrib@gmail.com
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Timur 2025-12-11 10:47:42 UTC
Report is that attached XLSX has wrong grouping when saved and reopened in MSO.
LO does not group by month, rather offers days. 
There is opening issue with labels that is similar to bug 122470. 

Here is the history of affecting commits. 
While this sample was never correct, it seems worse now compared to before the initial commit. For that I put regression tag but with normal priority.

There was a bug that some XLSX with pivot tables failed to open in Calc (like sample from bug 122470), since commit c379168711858664baabe7fa482a4c7dd3bc7891 in 24.8:
author		Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>	Thu Apr 11 16:31:32 2024
pivot: PivotTableFormatOutput to resolve and set PT cell format

Opening in calc was mainly fixed in 26.2. with https://gerrit.libreoffice.org/c/core/+/193845
commit 5aaedc8c6accb93475c0e83b1fac4cc9bb76c43d
Author:     Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>
AuthorDate: Wed Nov 12 18:59:58 2025

Additionally opening in MSO after saving was fixed in 26.2 with https://gerrit.libreoffice.org/c/core/+/193998:
commit 81d59ec3770b841b9c44f33c91e0d9360e1773e2
sc: fix crash in pivot table with formats and no source data
Author:     Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>
Commit:     Miklos Vajna <vmiklos@collabora.com>
Comment 1 Timur 2025-12-11 10:48:52 UTC
Created attachment 204575 [details]
XLSX
Comment 2 Timur 2025-12-11 10:56:49 UTC
Created attachment 204576 [details]
XLSX compared

Left shown fileopen in LO 24.8 before 1st commit and RT in MSO.
Right shown how original looks in MSO and RT file in MSO with 26.2+.
(labels are separate issue, rows seeming grouped is this issue).
Comment 3 steve.contrib@gmail.com 2025-12-11 12:11:46 UTC
Created attachment 204578 [details]
TEST LBO 26.2 vs MSO 365

LO 26.2.0.0-b1 vs MSO 365
seems the grouping vertical is ok but not in horizontal
Comment 4 callingunion 2025-12-15 11:11:49 UTC Comment hidden (spam)