Bug 103269 - Pivot table reports identical values on column of same nth cells of values after it is sorted ascending and descending.
Summary: Pivot table reports identical values on column of same nth cells of values ...
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.2.1.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-17 05:52 UTC by karmstrong6380
Modified: 2017-05-31 10:47 UTC (History)
1 user (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 karmstrong6380 2016-10-17 05:52:58 UTC
Description:
 If I select the first nth cells in a column(s) after an ascending sort, the pivot table gives the same results for a pivot on the same number of cells after a descending sort, which is incorrect for the values in the column, 
The peculiarity is that if I select cells that are more than half the number cells in the column I get a correct calculation(i.e if there are 50 cells with values in an ascending column , if I select the first 38 cells, do a pivot, then resort descending and select the first 38 cells, the calculation is correct.)

Steps to Reproduce:
1.Create spreadsheet with labeled column of length A filled with random values.(If using rand functions be sure to copy and paste for text and values only.)
2.Sort the column ascending 
3.Select the first<A/2 cells in column.
4. do pivot for whatever stat
5. Sort the column descending
6. select the same first number of cells <A/2
7. do pivot for same stats
8. Result is identical
9. If the lengths of the sected cells differ by just 1 cell, the expected correct value is reported for the second pivot.

Actual Results:  
See above

Expected Results:
see above


Reproducible: Always

User Profile Reset: No

Additional Info:
If you want I can send a sample spreadsheet.


User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36
Comment 1 m_a_riosv 2016-10-17 22:24:40 UTC
Hi @karmstrong6380, thanks for reporting.

Please attach a sample file to test.

Meanwhile, PT sort data by row fields in the order they appear on the PT from left to right.

For me there is not a bug.
Comment 2 QA Administrators 2017-05-02 11:37:29 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2017-05-31 10:47:02 UTC
Dear Bug Submitter,

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-20170531