Bug 123358 - Pivot Table default setting should be Count not Sum
Summary: Pivot Table default setting should be Count not Sum
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Pivot-Table
  Show dependency treegraph
 
Reported: 2019-02-11 15:36 UTC by annoporci
Modified: 2019-03-21 13:16 UTC (History)
5 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 annoporci 2019-02-11 15:36:32 UTC
Description:
The default "Data Field" is Sum. This results in empty cells if the data are strings. A better default would be Count. This is the default in Excel and it's more sensible. 

Steps to Reproduce:
1. Select a data of strings
2. Insert Pivot Table
3. Drag "Available Fields" to "Data Fields"

Actual Results:
Nothing in the cells

Expected Results:
If the default were changed to count, the cells would have the count.


Reproducible: Always


User Profile Reset: No



Additional Info:
You could say it's a design issue, not so much a bug, but for me it's serious enough that I wouldn't recommend LibreOffice Calc to my students for Pivot Tables.
Comment 1 Roman Kuznetsov 2019-02-12 13:20:59 UTC
I don't like this idea
Comment 2 raal 2019-02-12 22:16:51 UTC
Heiko, one for UX?
-1 from me, as I'm really angry when working in excel with pivots and need to change Count to Sum. Usually I'm working with numbers and I want sum numbers..
Comment 3 Heiko Tietze 2019-02-13 10:08:29 UTC
(In reply to raal from comment #2)
> Heiko, one for UX?

Feel free to add keyword/CC at any time.

> -1 from me, as I'm really angry when working in excel with pivots and need
> to change Count to Sum. Usually I'm working with numbers and I want sum
> numbers..

Maybe, but the request makes sense too. So how about storing the last used value?
Comment 4 Xisco Faulí 2019-03-21 11:58:35 UTC
(In reply to Heiko Tietze from comment #3)
> (In reply to raal from comment #2)
> > Heiko, one for UX?
> 
> Feel free to add keyword/CC at any time.
> 
> > -1 from me, as I'm really angry when working in excel with pivots and need
> > to change Count to Sum. Usually I'm working with numbers and I want sum
> > numbers..
> 
> Maybe, but the request makes sense too. So how about storing the last used
> value?

Moving to NEW then...
Comment 5 m_a_riosv 2019-03-21 13:16:38 UTC
What could be fine it's sum default for fields with numbers and count for fields with string or dates.
Otherwise, no change default.