Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
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?
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.
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
| User | Count |
|---|---|
| 56 | |
| 40 | |
| 38 | |
| 21 | |
| 21 |
| User | Count |
|---|---|
| 140 | |
| 102 | |
| 64 | |
| 36 | |
| 35 |