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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
EsgibtkeinBier
Frequent Visitor

Inconsistency when loading data from Excel (aka first column & row are null)

Hi everyone!

 

When loading two different excel reports of the same format from a sharepoint folder, sometimes (at the same step), the first column and row appear as nulls, while others they don't.

 

-------------------------------------------------------------------------------------------------------------------------

Example

 

Excel Sheet

excel ex.png

 

Nulls

1.png

 

No nulls

2.png

-------------------------------------------------------------------------------------------------------------------------

 

Any idea about what causes this/how to avoid or force Power BI to load the data in a specific way so to avoid inconsistencies such as the above?

 

Thank you very much for your time!

1 ACCEPTED SOLUTION
nvprasad
Solution Sage
Solution Sage

Hi,

 

As you see in your excel image, the data starts from Row Number 3 hence first 2 rows are showing as nulls in Powerquey. Below are the  two optoins to fix this.

1. Transform date in Powerquery like delete first 2 rows then make first row as header.

2. Make excel data as table (Select data and hit Ctrl +T) and select table instead of sheet from PowerBI.

 

Appreciate a Kudos! ‌‌
If this helps and resolves the issue, please mark it as a Solution! ‌‌

Regards,
N V Durga Prasad

View solution in original post

2 REPLIES 2
nvprasad
Solution Sage
Solution Sage

Hi,

 

As you see in your excel image, the data starts from Row Number 3 hence first 2 rows are showing as nulls in Powerquey. Below are the  two optoins to fix this.

1. Transform date in Powerquery like delete first 2 rows then make first row as header.

2. Make excel data as table (Select data and hit Ctrl +T) and select table instead of sheet from PowerBI.

 

Appreciate a Kudos! ‌‌
If this helps and resolves the issue, please mark it as a Solution! ‌‌

Regards,
N V Durga Prasad

Loading the data as a table seemed to work great! Thank you very much.

 

However, is there any idea why this was caused in the first place?

We were lucky in the sense that the excel reports already had the data in a table format. Since they were numerous, it wouldn't be easy to manually transform into tables and because of the inconsistency in the navigation step, it wouldn't be as easy transforming them in power (unless doing it conditionally Conditionally removing a column?).

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.