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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
RKM
Helper IV
Helper IV

Dynamically Detect and Display additional column added in Source Table

I have a table [Around 1 million record and 66 columns] in SQL DB and entire dataset is displayed in Power BI dashboard.

Occasionally new Columns might get added to that table (No Delete Allowed).

 

Is there a possibility that we can make our Power BI to automatically detect and pull and display that new column when its added in source?

2 REPLIES 2
RKM
Helper IV
Helper IV

Really appreciate that you answered. Though I apologies! this has really nothing to solve my question. If I just had to count the column in that table, I could simply do that with

Select Count(*) From Information_Schema.Column Where Table_Name = 'My Table Name'

But my question was, could we (Without re-altering Power BI design again and again) automatically pull all the columns and show in table visual.

To be honest, I can actually solve it in some way, that is - applying pivoting functions in Stored proc with Dynamic SQL and then pull the whole table as just 3 static column...  like, Primary Key, Field, Value and then use it in Matrix etc.  But the real issue is that (what I mentioned in my question already) that number of rows are ~ 1million lets say and columns as of now ~ 66. so if I try such transposing operation it will turn into 65million records, so its not very efficinent I thought. That's why I am looking for an expert opinion here.

 

Those who are experience with .Net or Web developements etc. they will also know such situation where they need to use Select *  - to bind GridView so, that additional column coming in such table will be auto displayed. I was looking such in Power BI. 

 

 

aj1973
Community Champion
Community Champion

Hi @RKM 

To make Power Bi detect a newly added columns you can create a card where you count them columns then pin the card to a dashboard and create an Alert feature. Here's how to count columns https://community.powerbi.com/t5/Desktop/Count-number-of-columns-measure/m-p/799707

To get columns added to your table automatically the model needs to be connected in a Direct Query mode however the columns won't be added and displayed into canvas automatically.

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.