Bug 140510 - Pivot table changes the case (upper/lower) of the PivotTable sheet from the original sheet
Summary: Pivot table changes the case (upper/lower) of the PivotTable sheet from the o...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.4 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 140509 (view as bug list)
Depends on:
Blocks: Pivot-Table
  Show dependency treegraph
 
Reported: 2021-02-18 15:09 UTC by Kana Masai
Modified: 2026-05-10 02:04 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
PivotTable changes my case sensitive data (89 bytes, text/plain)
2021-02-18 15:23 UTC, Kana Masai
Details
sample file (10.30 KB, application/vnd.oasis.opendocument.spreadsheet)
2021-03-30 11:38 UTC, Xisco Faulí
Details
PivotTable changes my case sensitive data (12.74 KB, application/vnd.oasis.opendocument.spreadsheet)
2021-03-30 13:12 UTC, Kana Masai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kana Masai 2021-02-18 15:09:08 UTC
Description:
1) Pivot table function replaced the case (upper/lower) of the original cell data.
2) Pivot table function took the first value of the original data and replaced it with all subsequent data which was similar (ignoring case sensitivity).

Steps to Reproduce:
1.Fill in 2 columns of data (my example is provided below) into LibreOffice-CALC

Num	Values
X1	aaabbb123
X2	aaabbB123
X3	aaabBB123
X4	aaaBBB123
X5	aaABBB123
X6	aAABBB123

2. Select cells A1:B7
3. Insert > Pivot Table
4. Selection = Current Selection
5. Select the available fields (Num, Values) into Row Fields

The Pivot table is now created.
The results are as displayed in Actual Results (below) 

Actual Results:
Below is the actual result. The Pivot Table has changed the case of the original data. My values are case-sensitive; 
thus aaabbb123 ≠ aaabbB123 ≠ aaabBB123 ≠ aaaBBB123  ... etc

=================
Num	Values
X1	aaabbb123	
X2	aaabbb123	
X3	aaabbb123	
X4	aaabbb123	
X5	aaabbb123	
X6	aaabbb123	
	


Expected Results:
The expected result ( should be the same as the original data)

Num	Values
X1	aaabbb123
X2	aaabbB123
X3	aaabBB123
X4	aaaBBB123
X5	aaABBB123
X6	aAABBB123

My values are case-sensitive; 
thus aaabbb123 ≠ aaabbB123 ≠ aaabBB123 ≠ aaaBBB123  ... etc

LibreOffice-CALC 
Pivot Table function should have preserved the values (case sensitivity ) of my original data.



Reproducible: Always


User Profile Reset: No



Additional Info:
OS = MS Windows 10 Home single Language (64 bit)
Version = 1909
OS build = 18363.1379
Comment 1 Kana Masai 2021-02-18 15:23:22 UTC
Created attachment 169866 [details]
PivotTable changes my case sensitive data

The attachment  contains a csv file of a sample data used to illustrate my report
Comment 2 Timur 2021-02-18 15:58:08 UTC
*** Bug 140509 has been marked as a duplicate of this bug. ***
Comment 3 Xisco Faulí 2021-03-30 11:34:50 UTC
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. 
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
(Please note that the attachment will be public, remove any sensitive information before attaching it. 
See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.)
Comment 4 Xisco Faulí 2021-03-30 11:38:35 UTC
Created attachment 170827 [details]
sample file
Comment 5 Xisco Faulí 2021-03-30 11:39:14 UTC
Reproduced in

Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: 3453f2f8fce9e69cd9f2a2c6f3d7171b6e59f674
CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 6 Xisco Faulí 2021-03-30 11:52:18 UTC
also reproduced in

Version: 4.3.0.0.alpha1+
Build ID: c15927f20d4727c3b8de68497b6949e72f9e6e9e
Comment 7 Kana Masai 2021-03-30 13:12:47 UTC
Created attachment 170832 [details]
PivotTable changes my case sensitive data

The pivot function has removed the case sensitivity from the raw data.
Comment 8 QA Administrators 2023-03-31 03:29:25 UTC Comment hidden (obsolete)
Comment 9 QA Administrators 2025-04-02 04:03:04 UTC Comment hidden (obsolete)
Comment 10 Timur 2026-05-05 12:24:17 UTC
Repro 26.8+.
Comment 11 Kana Masai 2026-05-10 02:04:28 UTC
(In reply to Timur from comment #10)
> Repro 26.8+.

1) The bug exists as was originally reported in 2021.
2) I have re-tested with latest version of libreoffice calc 
Version: 26.2.3.2 (X86_64)
Build ID: 70e089b17412e4cb7773e41413306b17a2328c34
CPU threads: 4; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Raster; VCL: win
Locale: en-MY (en_MY); UI: en-US
Calc: CL threaded