Bug 149003 - Pivot table displays blanks instead of the sum of calculated values from a query
Summary: Pivot table displays blanks instead of the sum of calculated values from a query
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.3.3.2 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-09 17:13 UTC by JimT
Modified: 2022-05-18 19:46 UTC (History)
2 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 JimT 2022-05-09 17:13:56 UTC
Description:
Trying to create a Pivot Table using a query as the source. The data to be displayed is the sum of a calculated field in the query. The Pivot table picks up the records but displays blanks where the sum of the calculated fields should be. If I drill down on the data it displays the calculated fields correctly. If I have a calc sheet with a calculated field and use these cells as the pivot source then the sum of the calculated fields are displayed correctly.

Steps to Reproduce:
1.Create a Base table with entries ID,Description,CreditValue,DebitValue
2.Create a query reporting Description,CreditValue,DebitValue and calculated field Value which is equal to CreditValue - DebitValue
3.In Calc Create a Pivot Table using the above query as a source with the Description in the Row Field and the sum of value in the data field.

Actual Results:
The row fields are populated correctly.
The associated data fields are all blank

Expected Results:
The data fields should be populated with the sum of the calculated fields from the query


Reproducible: Always


User Profile Reset: No



Additional Info:
Work
Build d1d0ea68f081ee2800a922cac8f79445e4603348
OS: Mac OS X 10.16
Comment 1 m_a_riosv 2022-05-09 21:34:21 UTC
Please could you attach those sample files?
Comment 2 JimT 2022-05-11 16:05:49 UTC
My first time logging a "Bug".

Attempting to close the log as "fixed".

Baffled with events.

In the process of replicating and sending attachments I set up a new database and query and tried to do what I had a problem with on my "live" database.

This time all ok.......!

Test database and query OK under 7.3.3.2, "live" under previous version.

All OK now