<div dir="auto"><div>Bernd and list,<br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 11, 2022, 12:08 Bernd Vogelgesang via Qgis-user <<a href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi folks,<br>
<br>
for quite some time, I hold frequently changing data in a xlsx-file.<br>
Working in a spreadsheet application is so much more efficient sometimes.<br>
<br>
This spreadsheet easily imports by drag and drop, the import dialog pops<br>
up where to choose which tab to import, and finally the table is there<br>
with the first row as column heads.<br>
<br>
Now, I'm getting just nuts.<br>
<br>
I'm trying to do the same with other data, and whatever I try, it<br>
imports the table ignoring the header row, so its Field1, Field2...<br>
<br>
Findings so far:<br>
<br>
I had a long file name. With this, there was no import dialog, but the<br>
first tab was imported immediately, but without the header row.<br>
<br>
I saved the file with a short file name, and now the import dialog asks<br>
which tab to import. But still, the first data-row is ignored.<br>
<br>
Dragging my other already existing file into that project works just<br>
perfectly.<br>
<br>
What could be the reason for this behaviour?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Clutching at straws here...</div><div dir="auto"><br></div><div dir="auto">Sometimes when making a pivot table in LibreOffice calc I notice that column headings (first row) aren't interpreted as such.</div><div dir="auto"><br></div><div dir="auto">This seems to occur on the following scenarios:</div><div dir="auto"><br></div><div dir="auto">1) a column has an en empty cell in row 1 (or missing title)</div><div dir="auto"><br></div><div dir="auto">2) a column exists outside the area of interest with no header (this probably would not apply in your case, but maybe you have some calculations to the right of your data which don't have a column header)</div><div dir="auto"><br></div><div dir="auto">3) there are some "strange" characters in one or more header fields (I can't recall precisely what constitutes "strange")</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">What you might want to do is save a copy of your spreadsheet, then delete anything to the left or right of your columns, and check that your column names are all "legal variable" names ie begin with a letter, only letters and numbers</div><div dir="auto"><br></div><div dir="auto">I hope this helps; good luck!</div><div dir="auto"><br></div><div dir="auto">Chris</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote></div></div></div>