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
imagautham
Helper II
Helper II

Will adding a column in an underlying table break an existing visual?

Hello everyone,

I have been asked this question by my manager. We have a table visual which is built in power bi. The underlying data source is a SQL table. Now the visual is working fine. They are planning to include a column in the same SQL table. They asked me if that could break the table visual?

Below are my thoughts, you could correct me if I'm wrong or add on a few points

I felt that if the total number of records doesn't change before and after adding a new column then I don't think it will break the existing visual

Whereas because of that added column if the total number of records in the SQL table increases or decreases then the visual in power bi will be incorrect

2 ACCEPTED SOLUTIONS
Greg_Deckler
Super User
Super User

@imagautham If this is an import mode dataset, the table visual will not break. If more or fewer rows are added, the table visual will just display more or fewer rows. What may break is your Power Query, although generally adding a column doesn't break that either. Removing a column or changing a column's name, that's a different story.


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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

Best thing to do is to load it into a PBIX before hand and test.

 

I don't believe it'll break from adding columns, but if you have Power Query code that removes columns and one of those columns is dropped before import it will cause code to break (because Power Query won't be able to find the column to drop to fulfil its instructions).

View solution in original post

3 REPLIES 3
imagautham
Helper II
Helper II

@Greg_Deckler  Thanks for the response. In what cases power query might break? Is it because of data type mismatches in that added column?

Best thing to do is to load it into a PBIX before hand and test.

 

I don't believe it'll break from adding columns, but if you have Power Query code that removes columns and one of those columns is dropped before import it will cause code to break (because Power Query won't be able to find the column to drop to fulfil its instructions).

Greg_Deckler
Super User
Super User

@imagautham If this is an import mode dataset, the table visual will not break. If more or fewer rows are added, the table visual will just display more or fewer rows. What may break is your Power Query, although generally adding a column doesn't break that either. Removing a column or changing a column's name, that's a different story.


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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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