Bug 160397 - PIVOTTABLE: Compact layout missing Text values in Row Field
Summary: PIVOTTABLE: Compact layout missing Text values in Row Field
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
24.2.1.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Pivot-Table
  Show dependency treegraph
 
Reported: 2024-03-27 13:54 UTC by Michael Otto
Modified: 2024-04-13 18:30 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Pivot Table with 3 Row Fields text+text+date and 1 Column Fie (33.20 KB, application/vnd.oasis.opendocument.spreadsheet)
2024-03-27 13:54 UTC, Michael Otto
Details
Pivot Table 3 Row + 1 Col fields, all Row Fields Compact (32.99 KB, application/vnd.oasis.opendocument.spreadsheet)
2024-04-12 17:06 UTC, Michael Otto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Otto 2024-03-27 13:54:54 UTC
Created attachment 193345 [details]
Pivot Table with 3 Row Fields text+text+date and 1 Column Fie

+++ This bug was initially created as a clone of Bug #160396 +++

PRECONDITION:
a Pivot Table with 3 Row Fields and 1 Column Field
(see attached Pivot-Spielergebnisse-3RowSorted1Col.ods
which is Pivot-Spielergebnisse-3Row1Col.ods from #160396 with Row Fields re-sorted)
Row Fields from left to right now: Spiel (text), Name (text), Datum (date)
Column Field: Platzierung

PROBLEM DESCRITION:
if "Spiel" Row Field's settings is changed to Compact layout, 
then the combined column for Row Field Spiel+Name shows only Spiel values
the entries for the 2nd Row Field "Name" are missing
(Compact layout presumably only works with date/time values in the 1st Row Field)


Version: 24.2.1.2 (X86_64) / LibreOffice Community
Build ID: db4def46b0453cc22e2d0305797cf981b68ef5ac
CPU threads: 2; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-US (de_DE.UTF-8); UI: en-US
Calc: threaded
Comment 1 Stéphane Guillou (stragu) 2024-04-12 14:56:28 UTC
I don't believe it is possible to "change to compact layout" in LO, the feature is supported on import of an XSLX created with MS Office. (bug 155089)

Do you have a version of the file with compact layout, which you could attach?
Or do you mean something else by "compact layout"?
Comment 2 Michael Otto 2024-04-12 17:06:23 UTC
Created attachment 193653 [details]
Pivot Table 3 Row + 1 Col fields, all Row Fields Compact

file with a Pivot Table with 3 Row fields + 1 Col field
all Row Fields set to Compact:
- Data > Pivot Table > Insert or Edit... (dialog Pivot Table Layout)
- double click on Row Field "Name" (dialog Data Field)
- Options... (dialog Data Field Options)
- Display Options Layout: select Compact layout

==> the layout is as expected: Compact

however (this bug 160397): if not all 3 Row fields are set to Compact, 
then the Row field is missing some data values
Comment 3 raal 2024-04-13 18:30:31 UTC
Confirm with Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: f3d0a184c4da57907a1fcf1ed784340be7d974d6
CPU threads: 4; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded Jumbo

Compact layout feature https://git.libreoffice.org/core/+/2f8d10b0b9baa03b8a713e9fd1342fe6c8094fb4%5E%21 by Dennis, adding him to CC.