Bug 117785 - Pivot Table Sorts inoperative
Summary: Pivot Table Sorts inoperative
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.0.1.1 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-24 18:46 UTC by Jim Davis
Modified: 2018-05-29 09:11 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
A pivot table in a spreadsheet (typical, I presume) (663.84 KB, application/vnd.oasis.opendocument.spreadsheet)
2018-05-25 17:02 UTC, Jim Davis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Davis 2018-05-24 18:46:00 UTC
Description:
Pivot tables with multiple columns and rows have been incomplete but at least operated on the first defined column and row fields, but in this version they appear to be totally inoperative.

This would otherwise be considered Severity "Minor" since there is a work-around by copying the table to a new sheet and sorting and/or rearranging, but given that this has been dysfunctional in the last several releases, I consider it a bug.

Steps to Reproduce:
1.Create a pivot table that counts a column cell which matches a row cell (a "matrix")
2.in either the creation options or in the resulting pivot table:
3.Try to sort by rows and/or
4.Try to sort by columns

Actual Results:  
no sort

Expected Results:
sort


Reproducible: Always


User Profile Reset: No



Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: SpreadsheetDocument
[Information guessed from browser]
OS: Windows (All)
OS is 64bit: no


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36
Comment 1 Jim Davis 2018-05-24 19:15:32 UTC
This appears to be corrected in v 6.0.4.2 (x64), but sorting on other than first column and/or row do not appear to work.
Comment 2 m_a_riosv 2018-05-24 21:58:07 UTC
I think data on pivot table are always sorted by columns/rows order. It's possible to edit the row/columns field to sort on ascending/descending order and choose to sort by data fields.
Comment 3 Jim Davis 2018-05-25 14:21:05 UTC
(In reply to m.a.riosv from comment #2)
> I think data on pivot table are always sorted by columns/rows order. It's
> possible to edit the row/columns field to sort on ascending/descending order
> and choose to sort by data fields.

They have corrected it in v6.0.4.2 to sort on only the first column and row, but any others in the generated pivot table do NOT sort, nor does the option selection work prior to creating the table.

I haven't done a bug report for v6.0.4.2 yet, but it's a bug. Why show the option in the generated table if it's not functional intentionally?
Comment 4 m_a_riosv 2018-05-25 14:53:23 UTC
So, please attach a sample file with the issue.
Comment 5 Jim Davis 2018-05-25 17:02:11 UTC
Created attachment 142279 [details]
A pivot table in a spreadsheet (typical, I presume)

Perhaps this is similar to the pivot tables used when testing? If not, I guess it should be.
Comment 6 Xisco Faulí 2018-05-29 09:11:47 UTC
Thanks for retesting with the latest version.
Setting to RESOLVED WORKSFORME as the commit fixing this issue hasn't been identified.