Bug 153217 - Pivot grouping expands to all pivots
Summary: Pivot grouping expands to all pivots
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.0.6.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: notBibisectable, regression
Depends on:
Blocks: Pivot-Table Group&Outline
  Show dependency treegraph
 
Reported: 2023-01-26 10:34 UTC by Andreas Säger
Modified: 2023-02-23 19:42 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Spreadsheet with 2 pivots (81.65 KB, application/vnd.oasis.opendocument.spreadsheet)
2023-01-26 10:35 UTC, Andreas Säger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Säger 2023-01-26 10:34:13 UTC
Description:
In the attached spreadsheet the first sheet contains a source table and a pivot side by side. The pivot is grouped by month and year. The second pivot on the other sheet has been created by just dragging the date to column fields and the values to data fields. It has been grouped by month automatically, but not by year since the Janurary sums include the values of both Januaries.
When you remove the grouping from either pivot, it is removed from the other pivot as well even without manual refresh.

Steps to Reproduce:
1. Click a pivot cell in the in one of the year/quarter/month columns and remove the grouping from one pivot (Ctrl+F12)
2. The pivot shows single dates
3.

Actual Results:
The second pivot also shows singel dates

Expected Results:
2 pivots should be grouped independently from each other


Reproducible: Always


User Profile Reset: Yes

Additional Info:
https://ask.libreoffice.org/t/how-to-properly-filter-by-date-in-a-pivot-table/86966/4
Comment 1 Andreas Säger 2023-01-26 10:35:07 UTC
Created attachment 184921 [details]
Spreadsheet with 2 pivots
Comment 2 Werner Tietz 2023-01-26 11:18:32 UTC
I can confirm the Issue, with:
Version: 7.0.4.2
Build ID: 00(Build:2)
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Raspbian package version: 1:7.0.4-4+rpi1+deb11u3
Calc: threaded
Comment 3 Stéphane Guillou (stragu) 2023-01-26 14:05:07 UTC
(Alternative to Ctrl + F12 is Data > Group and Outline > Ungroup)

Also reproduced with:

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: e125e6623fa1c0f39d927bb37547ca6d1e299cb1
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

and:

Version: 6.1.0.3
Build ID: efb621ed25068d70781dc026f7e9c5187a4decd1
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk2; 
Locale: en-AU (en_AU.UTF-8); Calc: group threaded

Looks like an old regression, as I can't reproduced in OOo:

OpenOffice.org 3.3.0
OOO330m20 (Build:9567)
Comment 4 Roman Kuznetsov 2023-02-23 19:42:19 UTC
Repro in

Версия 4.0.6.2 (ID сборки: 2e2573268451a50806fcd60ae2d9fe01dd0ce24) also

Looks like not bibisectable