Bug 94880 - percent values are not well imported from csv file
Summary: percent values are not well imported from csv file
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.2.8.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-08 12:05 UTC by remyD
Modified: 2015-10-08 18:43 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
manually added values (66.75 KB, image/png)
2015-10-08 12:05 UTC, remyD
Details
imported csv values (105.24 KB, image/png)
2015-10-08 12:06 UTC, remyD
Details
test.csv (131 bytes, text/csv)
2015-10-08 12:08 UTC, remyD
Details
a sample with these values (44.48 KB, application/vnd.oasis.opendocument.spreadsheet)
2015-10-08 16:03 UTC, Jacques Guilleron
Details

Note You need to log in before you can comment on or make changes to this bug.
Description remyD 2015-10-08 12:05:46 UTC
Created attachment 119414 [details]
manually added values

I have a csv file with values in % like:

0,24%;2015-10-06 09:16:54
0,05%;2015-10-06 09:21:54
0,24%;2015-10-06 09:26:54
0,15%;2015-10-06 09:31:54

If I import it in localc, it seems to be correct but I cannot do anyting with the imported values. 
For example If I try to generate a simple graph with 0.24% to 0.15% the graph is blank whereas If I fiel another cases with the same values it works (see ok & nok.png)
Comment 1 remyD 2015-10-08 12:06:18 UTC
Created attachment 119415 [details]
imported csv values
Comment 2 remyD 2015-10-08 12:07:15 UTC
Step to reproduce:

import the test.csv attached file and try to generate a graph on % values.
Comment 3 remyD 2015-10-08 12:08:14 UTC
Created attachment 119416 [details]
test.csv
Comment 4 Jacques Guilleron 2015-10-08 16:02:12 UTC
Hi remyD,

In your screenshot "imported cvs values", percent values are left aligned. 
This means they are imported as text. If you select one of them, input line will show a quote as the fisrt character.
You have in this case to select 
Detect special numbers 
in the Text Import window, on opening, to import these percent values as values.
Next, reverse the colon order of time and percent values will make easy to select the first colon as label to format x axis, after cells formatting to Time.
Comment 5 Jacques Guilleron 2015-10-08 16:03:34 UTC
Created attachment 119425 [details]
a sample with these values
Comment 6 remyD 2015-10-08 18:09:40 UTC
Hi jack,

You are right, I have followed your procedure and it works.

Sorry for the false positiv.

Which status should I use for this ticket? Resolved?
Comment 7 Jacques Guilleron 2015-10-08 18:43:06 UTC
Status is to set to RESOLVED NOTABBUG.

Have a good day,

Jacques