Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
MojoGene
Post Patron
Post Patron

Null Values Imported from Excel

I have a fully qualified date table to which I have added a column that contains a decimal number representing the year fraction.  The Excel formula takes an existing "DayOfYear" column and divides by 365. After calculating the results in this manner, I then copied the column and pasted the results as "Values," so in my spreadsheet I have a perfectly normal column of decimal numbers.

 

When I import this column into the existing date table in Power BI, however, this new column is populated with "null" instead of the data that appear in the spreadsheet.

 

Any help would be appreciated.

4 REPLIES 4
JRe5777
Advocate I
Advocate I

Hello!

I had a similar problem but in my case I was importing 12 files with the same structure and on one of them there was a column that only cointaned null values on power query.

This was because power query is REALLY case sensitive.

So I had:

11 files with column name = "EXample" (one of them was my "sample file" on "combine&edit")

and

1 file with column name = "Example"
SO
as the names are not exact matches (upper case vs lower case) power query doesn't extract the values

 

I just had to check that excel file and change the column name to the right one.

 

I hope it still helps someone!

Regarding this specific problem,  I didn't have any null problems importing.
I still followed this post answers: https://community.powerbi.com/t5/Desktop/Yearfrac-in-Query-editor-does-not-work/td-p/453998Screenshot_42.png

Thanks, this solved this issue I was having.  Renamed all the columns on my spreadsheets and now I get all the data.

Greg_Deckler
Community Champion
Community Champion

What is it's data type?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

I switched the data type around and tried everything including text. Nada. I finally deleted the column in the Excel spreadsheet and added a calculated column to the spreadsheet in the PBI Query Editor, which is working.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors
Top Kudoed Authors