Forum Discussion
PowerBI data import - blanks being autopopulated
In an SQL database, a column (EXTENSION) has blanks, however, when the data is imported into PowerBI, some blanks get filled with the data of the previous cell.
SQL
PowerBI
However, in the row view, I can see the field (EXTENSION) is empty
How can I avoid PowerBI to autofill the values when the field is blank?
4 Replies
- CamiloGNew Member
Nothing unusual was added, however, I just added a new column based on the one showing the errors. I check for blanks and make them spaces in a new column. Somehow, the new column does show the correct format.
TABPHONE_Table1 = Table.AddColumn(TABPHONE_Table,"EXT", each if [EXTENSION] = "" then " " else [EXTENSION]), #"Removed Columns" = Table.RemoveColumns(TABPHONE_Table1,{"EXTENSION"})I still would like to know where the error is coming from, as there is the potential on having more tables with similar issues.
- AnonymousNot applicable
Just a thought, Blanks and nulls are not the same even though they may look the same in SQL in your query window, "depending". They are handled completely differently in SQL and PBI. Not sure if this is your issue but it's worth looking into.