Bug 154600 - PIVOTTABLE: Wrong anchor (SUM) fields
Summary: PIVOTTABLE: Wrong anchor (SUM) fields
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-04 11:26 UTC by Michael Jungnickl
Modified: 2023-11-09 03:16 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Jungnickl 2023-04-04 11:26:05 UTC
One of our customers at SoftMaker had a serious problem with pivot tables. 
The customer exported the calc document to xlsm format with Libre Office. 
PlanMaker and Excel can't import the file completely because of bugs. 

Basics: 

- For 2+ data fields, an anchor field (SUM Symbol) is added to a pivot table. 
- The anchor field is in row fields or in column fields. 

Bugs in Libre Office: 

- The anchor field is the the data fields. 
- The anchor field has a wrong field index of -2. 

Data from the calc document: 

<pivotFields count="25">
	....
</pivotFields>
<rowFields count="1">
	<field x="4"/>
</rowFields>
<dataFields count="3">
	<dataField name="Soma de ACERTOS" fld="12" subtotal="sum" numFmtId="164"/>
	<dataField name="Soma de ERROS" fld="13" subtotal="sum" numFmtId="164"/>
	<dataField name="Soma - " fld="-2" subtotal="sum"/>
</dataFields>

Thanks for fixing it.
Comment 1 raal 2023-04-04 15:21:37 UTC
Hello,
Can you attach test file in .ods format? Thank you.
Comment 2 Buovjaga 2023-04-11 11:26:57 UTC
Please attach an example document.
Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the document.
Comment 3 QA Administrators 2023-10-09 03:14:56 UTC Comment hidden (obsolete)
Comment 4 QA Administrators 2023-11-09 03:16:31 UTC
Dear Michael Jungnickl,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp