Bug 150182 - Pivot Table Filter is inaccessible from main menu, and its label in context menu doesn't distinguish it from e.g. Standard Filter
Summary: Pivot Table Filter is inaccessible from main menu, and its label in context m...
Status: NEW
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: Pivot-Table Calc-UX
  Show dependency treegraph
 
Reported: 2022-07-28 09:34 UTC by Mike Kaganski
Modified: 2024-08-04 03:23 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
A pivot table to see the difference of filtering (11.58 KB, application/vnd.oasis.opendocument.spreadsheet)
2022-07-28 09:34 UTC, Mike Kaganski
Details
Standard Filter dialog (top) vs. Pivot Filter dialog (bottom) (11.77 KB, image/png)
2022-08-04 06:39 UTC, Mike Kaganski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kaganski 2022-07-28 09:34:14 UTC
Created attachment 181469 [details]
A pivot table to see the difference of filtering

In Pivot Table's context menu, there's an item named "Filter...". It calls .uno:DataPilotFilter, which filters the source data used for pivot table's calculation.

It is unclear from the label that this function is different from e.g. Data->More Filters->Standard Filter. The results of applying the two different filters is completely different.

In the attached document:
1. Go to 'Pivot Table' sheet
2. Right-click inside the pivot table, and select 'Filter...'
3. In the dialog, select 'value' in first Field name, '>' as first Condition, and '9' as first Value, and press [OK]

=> The result is only one entry in the table, listing 'b' with sum of values 20, because the pivot table now only considers the rows with value > 9 on 'Sheet1', and such rows only exist for 'b'. No rows are hidden on sheet 'Pivot Table'.

4. Undo (the pivot table is three-row again)
5. Data->More Filters->Standard Filter...
6. First Field name -> 'Sum - value'; first Condition -> '>'; first Value -> '9', press [OK]

=> The result is two entries in the table visible, listing 'a' with sum of values 12, and 'b' with '26', because the pivot table uses all the data from 'Sheet1', but the rows on 'Pivot Table' sheet where values in column B are 9 or smaller are hidden (i.e., row 4 is hidden).

So it would be good to have the full item name listed for the function, which is "Pivot Table Filter", to allow user to see the difference.

Also note that the entry for pivot table filter is unavailable in the main menu: it should be listed under Data->Pivot Table.
Comment 1 Roman Kuznetsov 2022-07-28 11:23:26 UTC
>So it would be good to have the full item name listed for the function, which is "Pivot Table Filter", to allow user to see the difference.

May be better to name it like "Source range filter"?

And what about the documentation? 

https://help.libreoffice.org/latest/en-US/text/scalc/guide/datapilot_filtertable.html?DbPAR=CALC#bm_id3150792 shows the info about two different filtering methods

Anyway, I agree with Mike here
Comment 2 Heiko Tietze 2022-08-04 06:22:55 UTC
The topic was on the agenda of the design meeting.

While changing the name sounds reasonable users may be confused by the fact that both open the common standard filter dialog. So why don't we have the same kind pivot type of filtering when starting from any UI element? Given this can be changed the label would be less important.
Comment 3 Mike Kaganski 2022-08-04 06:39:40 UTC
Created attachment 181580 [details]
Standard Filter dialog (top) vs. Pivot Filter dialog (bottom)

(In reply to Heiko Tietze from comment #2)

Do you mean "remove one filtering, and keep the other" for pivot tables?

Actually, the two dialogs are different - see the screenshot. And their functions are different - and both important.
Comment 4 Heiko Tietze 2022-08-04 06:45:33 UTC
The two dialogs look identical to me, at least on the first glance. And I wonder what the point of keeping the standard filter is.
Comment 5 Mike Kaganski 2022-08-04 06:50:58 UTC
(In reply to Heiko Tietze from comment #4)
> The two dialogs look identical to me, at least on the first glance.

Indeed, they look *similar* (I wonder how one can call them "identical" with the screenshot above; precise meaning of terms is underrated). I would even say that we could *want* to make them even more similar - maybe unifying the control sizes, and - if applicable (didn't check) adding the "remove" buttons to allow flexible number of conditions...

> And I wonder what the point of keeping the standard filter is.

As demonstrated, they do a different task. And the original problem arose (in https://forumooo.ru/index.php/topic,9266) exactly because the user needed *standard filter* (to only see the results that are larger than some margin), but used the filter from pivot table's context menu for that, not realizing they are different - see how users *need* that function.

Honestly, the "what the point of keeping the standard filter is" looks very much like "what is the point of keeping Calc, when we have Math" ;)
Comment 6 QA Administrators 2024-08-04 03:23:12 UTC
Dear Mike Kaganski,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug