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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
adoster
Resolver I
Resolver I

Excel Import with added Text Value results in blank values "error"

Hello,

I have an existing imported spreadsheet using column A as a primary key

Column AColumn B
33533A
33140B
33141C
33510D

 

When I add a new ROW that contains a TEXT character I get the following message upon refresh

"Column ‘Column A' in Table 'Table_Name' contains blank values and this is not allowed for columns on the one side of a many-to-one relationship or for columns that are used as the primary key of a table."

CodeDescription
33533A
33140B
33141C
33510D
C3211E

 

The cells in Excel are "General" in format but I have tried changing to text in both Power BI and Excel to try and bypass the error.

Unsure what the issue is.

Thanks for any assistance!

1 ACCEPTED SOLUTION
adoster
Resolver I
Resolver I

Found a solution: This error was thrown because Power BI does not import the cell format as "text" from Excel. You have to manually change the table format in Power BI to text to match the related table.

View solution in original post

3 REPLIES 3
adoster
Resolver I
Resolver I

Found a solution: This error was thrown because Power BI does not import the cell format as "text" from Excel. You have to manually change the table format in Power BI to text to match the related table.

ribisht17
Super User
Super User

Hello,

I am not sure if the link you sent relates?

I do not have null values in my spreadsheet. It simply won't refresh the spreadsheet in Power BI when I add a new row that contains a character in the primary key field.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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