Ask Your Question
1

Calc replacing all Chart Data Ranges with Data Tables

asked 2017-03-02 19:12:08 +0200

rgl gravatar image

I've searched on this and seen historical articles talking about this, but Calc is going bonkers for me since I updated to 5.2.5.1 (running on macOS).

Basically, I have pages each containing multiple Charts which are created by setting one up in the format I want, then copying/pasting, and modifying the Data Ranges to point to the correct source table. These charts never leave the current spreadsheet. The document is saved, closed, and opened fairly regularly (as it also doesn't seem to update all the charts when underlying data changes unless you close and open the document).

Sometime towards the end of today, I notice one of the charts isn't quite pointing at the correct range, so I go in and try to change it, only to find that the Data Ranges menu option has been replaced by Data Table. I go through my entire spreadsheet to find that almost EVERY SINGLE CHART has had the data range replaced with one of these data tables, and this is not undoable. This isn't right, I'd checked and double checked all my tables yesterday, and they were all using Data Ranges. (I checked as I've had a number of charts suffer this problem earlier in the week). I've been working on some of the charts today and they were using Data Ranges. I pull an old version off a backup which proves they were all using Data Ranges, yet even for charts for which neither the source data, nor the charts themselves have changed today, they've been altered behind the scenes to use Data Tables.

This is next to useless for me as the source tables are living dynamic things which change on a daily basis. It is no good if the Charts are pointing to a static snapshot of data. There are too many of them and of different types to make recreating them viable.

WHAT THE HELL IS GOING ON?!? I am sorry, but I am losing so much time due to the instability of this version of LibreOffice. I am now going to have to go through and recreate every chart and there are 68 of them!

What on earth is causing this? When is it likely to be fixed as I'm wasting my time right now even trying to do any work in Calc?

In case it is of help, I've not been doing anything I consider terribly controversial to my spreadsheet. Recently I've been renaming some sheets, before that I added some rows on one of the source tables in order to add an extra data point. Incidentally the last chart I created based on this data point is the only one in the entire spreadsheet that still seems to refer back to a Data Range rather than a Data Table.

The Data Series tab within Data Ranges incidentally is causing me problems too. Whenever I modify a source range, it seems ... (more)

edit retag flag offensive close merge delete

Comments

What file format do you use to save?

m.a.riosv gravatar imagem.a.riosv ( 2017-03-03 00:51:42 +0200 )edit

Standard ODF Spreadsheet .ods

rgl gravatar imagergl ( 2017-03-03 10:09:06 +0200 )edit

3 Answers

Sort by » oldest newest most voted
1

answered 2018-11-07 13:57:23 +0200

Massimo Mula gravatar image

Hi, I see this post is quite old, but yesterday I've had a very similar situation on my laptop running LibO 6.0.6: suddenly, all Calc files it saved in .xlsx format (Office 2007-2013) did lose all the references to their source data and got a data table instead. Very frustrating, since those charts must be updated every day to keep track of a progress in my work.

Quite surprisingly, the problem was not present in another PC in my office, which has the same version of LibO, so I started comparing ALL the settings (Tools -> Options) in the two machines.

Everything was identical, except from two options:

1. Load/Save -> Microsoft Office:

Option of loading "SmartArt to LibreOffice Shapes or reverse was not selected (in the image below, the configuration in the working machine)

image description

2. LibreOffice Calc -> Formula -> Formula syntax:

In my PC it was set to "Excel A1", while in the other PC it was "Calc A1" (again, the image below shows the configuration in the working PC

image description

After setting the mentioned options also in my PC, I tried saving again the spreadsheet as a .xlsx file... and apparently that did the trick. Now, if I reopen a previously exported .xlsx the charts inside retain their source data ranges.

Hope this can be useful to someone.

Regards, Max - Italy

edit flag offensive delete link more

Comments

Indeed, setting the formula syntax to Excel A1 breaks the chart's data range references when exporting to .xlsx

That's a bug, could you please report it? Thanks.

erAck gravatar imageerAck ( 2018-11-07 15:29:18 +0200 )edit

Sure, as soon as i have a little time! :)

Massimo Mula gravatar imageMassimo Mula ( 2018-11-07 16:58:24 +0200 )edit

I've reported the bug. Ticket is here: https://bugs.documentfoundation.org/s...

Massimo Mula gravatar imageMassimo Mula ( 2018-11-08 00:14:47 +0200 )edit

Thank you!

erAck gravatar imageerAck ( 2018-11-09 18:14:16 +0200 )edit
0

answered 2017-03-03 10:20:19 +0200

rgl gravatar image

I'm looking to revise my question but don't see a button for that or editing it (is this because I'm a new user? I can flag, close or delete, none of which is what I want to do).

Regardless, some further information on strange behaviour in this spreadsheet which may or may not be related, so may help diagnose the above.

I've noted that on my few sheets of source tables, where I have calculations, some of the calculations relevant to the same sheet have had the sheet name filled in in my formula. For all of them. It's like I have triggered some action and it has decided that action means all formulae must be expanded to include the sheet name. I haven't been copying these tables from one sheet or to another. All I've done is at some point rename the sheets containing the data.

So some action is triggering an action that goes through and does this. I'm beginning to suspect it might be renaming the sheet. But why?!?!

I've searched and found this to be similar, but not at all helpful. I'm suspecting either the same or some similar action is triggering the replacement of data ranges with data tables. How is it possible to innoculously do something, yet trigger such massive changes throughout a spreadsheet? This formula thing might seem minor, but makes complex formulae very hard to follow, and the replacing chart data ranges with data tables thing is absolutely catastrophic.

edit flag offensive delete link more

Comments

Why didn't you answer the question by @m.a.riosv first?
Charts are a complicated thing. Even if you copy one from Calc and paste it into a Writer document the data references will be replaced by tables containing the actual data. This cannot be reversed. Same thing may happen if you store to an alien format that doesn't know about charting in Calc. (I cannot tell from experience because I never do.)

Lupp gravatar imageLupp ( 2017-03-03 12:30:59 +0200 )edit

Because the charts were NEVER copied out from their source spreadsheet. For a period of time they were correctly anchored to their data range. I didn't take any action that should have converted my charts. Honestly I've done something innocuous like renaming a sheet, and LibreOffice has decided to go through and expand all local formula references to include the sheet they're on, and at the same time replacing all Chart Data Ranges with Data Tables. No alien formats or documents involved!

rgl gravatar imagergl ( 2017-03-03 13:33:20 +0200 )edit

And if you look at the comments you will see I did answer the question by @m.a.riosv first.

rgl gravatar imagergl ( 2017-03-03 13:34:06 +0200 )edit

@rgl: Sorry! I didn't recognize your username and misinterpreted the short comment as an advice by someone else.
Sorry again. I do not know further advice. Never experienced that in the way you describe it. There is an old superficially related bug report tdf#85328 concerning flat ods and recently confirmed to not be fixed. (A short test by myself with V5.3.0 told otherwise confirmed also.)

Lupp gravatar imageLupp ( 2017-03-03 16:58:24 +0200 )edit

@rgl: Are you sure that the documents never were save to a different format (flat ods included) in between?

Lupp gravatar imageLupp ( 2017-03-03 17:12:45 +0200 )edit

@Lupp Yeah. Unfortunately I've had to abandon this. It just isn't an economic use of my time. I did try to reproduce this earlier on, and found there was no single simple action that reliably reproduced this. So it's an odd one. I've switched to Google Sheets (which last time I tried just wasn't up to the power of LibreOffice), and I'm finding it much easier all round. It's actually faster running that over the internet than running the local copy of the spreadsheet on the app running locally!

rgl gravatar imagergl ( 2017-03-03 19:23:19 +0200 )edit

@rgl: I don't know GS (except the name), but I used LibO and its predecessors continuously for decades now, and a great deal for critical real-world tasks. There were some flaws and annoying bugs. However, I never actually lost data or functionality to a significant degree - and I never would trust my data to Gxxxxx.
Good luck with your decision for the next 20 years. And now let's make econmic use of our time again, at least as far as you are concerned. I may continue to waste it.
Regards.

Lupp gravatar imageLupp ( 2017-03-03 22:06:46 +0200 )edit

@Lupp: I've used StarOffice, OpenOffice and now LibreOffice each as my main spreadsheet, for what I consider fairly complex stuff. Times I've been jumping through hoops, but this is the first time it's went on a spreadsheet wide data mangling drive. Unfortunately I can't afford to keep recreating things and hoping this time they won't get mangled as I've spent most of the last week seemingly doing that. Thanks for trying. I hope the details I've given might help if someone else has this.

rgl gravatar imagergl ( 2017-03-04 01:30:22 +0200 )edit
0

answered 2019-04-12 05:21:14 +0200

This just happened to me with a file I have used for 1.5 year now with many graphics. :( And my file has never been saved to alien formats. It has been an ods from scratch. I had this issue in one or another chart before, but now I just lost all my charts. Disappointing.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

2 followers

Stats

Asked: 2017-03-02 19:12:08 +0200

Seen: 1,244 times

Last updated: Apr 12