PowerPivot interprets numbers as dates

citwork

New Member
Joined
Nov 30, 2010
Messages
2
Hi all

I have just recently discovered PowerPivot and are pretty excited about it's potential. But... It also gives me some headaches!

I have a csv-file containing round 300 thousand lines. I have successfully loaded it into PowerPivot several times, until I began to expand the number of columns. The new columns contains decimal numbers (nnnnn.nn) as do some of the existing columns. But somehow PowerPivot wants the new columns to be dates. It has no effect when I change the datatype for the column in PowerPivot and it has no effect to start from scratch in a new spreedsheet. I have loaded the file into a normal spreedsheet and this is handles 100% correct by Excel.

Googling the problem led me to the schema.ini file. I have constructed a schema.ini file and PowerPivot recognizes this file allright. Unfortunately the import fails with a new error:
System.NullReferenceException: Objektreferencen er ikke indstillet til en forekomst af et objekt (in danish!)

Any suggestions?
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Hi Andrew

That was quick! Thank you.

The little trick worked - I can now import the rows in PowerPivot. But I can't see them! PowerPivot Tells me that it has successfully imported 272,256 rows. I can see all the columns, but they contain no data.
 
Upvote 0

Forum statistics

Threads
1,214,983
Messages
6,122,591
Members
449,089
Latest member
Motoracer88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top