I found this documentation:
https://books.libreoffice.org/en/CG71/CG7108-PivotTables.html
and in theory, all is explained there, but I just don’t get it. They use names for certain types of cells that means nothing to me, and I can’t figure out which ones of those are in my pivot table.
However, even if I would know how to construct the syntax of getpivotdata, it is incredibly cumbersome and time-consuming to create it. In Excel, this can be done automatically. So if I point the data in the pivot table I want to reference, this means, at the moment, this is exactly the data I want to get, and the app is getting references to it automatically. Since I would need to get dozens of dozens such references, putting them manually would take hours of work, which is pointless, so I just get hard cell references, knowing that it could all blow up, if pivot data structure changes (like by expanding the data by clicking on plus).
Basically, hours of work just to reference the data is not acceptable and the dangers are far better than time spend. I cannot believe that there are no automatic methods of referencing in Libreoffice. If those are really absent, it’s as if there were no referencing to pivot tables in LO.
So, first, some help to understand the references what is “the field name” and “field”. In the documentation example, I see:
=GETPIVOTDATA(“Sales Value”,A1,“Employee”,“Hans”,“Category”,“Sailing”)
but since my table is different, I cannot construct working syntax on my side, even if I try to replace some of them with my names.
All I get for now is to use the most upper left cell of the pivot table in cell named “Pivot table”. The rest is just confusing. There has to be some order in which I enter various field names (why not field numbers?) to reference the data fully.
Second, would be the automatic reference to the pivot table, which is not described in the documentation, as if it was not present.
Thank you