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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Automatically include new Columns in Dataset

I am maintaining a PowerBI dataset which basically reads columns from SQL tables. I use SELECT * FROM [TABLE] in source query, so all columns from the table are included. Once I publish the .pbix, others can source from this to create their report.

 

Now, if the pipeline feeding the SQL table adds a new column, I am expecting to see this column in the next scheduled refresh. Unfortuantely, this isn't happening. The only way I can see it is, if I open the dataset .pbix, refresh and then publish.

 

Is this a known limitation of power bi data set using SQL SELECT * statement to create columns?

2 ACCEPTED SOLUTIONS
SivaMani
Resident Rockstar
Resident Rockstar

@Anonymous, The refresh that you referred to is DATA Refresh. It will only fetch the data from your source. It won't add new columns. For any structural changes or metadata changes, you have to refresh it in Power BI Desktop and publish it.

View solution in original post

nickyvv
Most Valuable Professional
Most Valuable Professional

Hi @Anonymous,

good question. As @SivaMani mentioned this is not supported out-of-the-box.

However, you can work around it if the source is supporting that:

  • In this blog post, Marc shows how to get columns dynamically when working with SharePoint files
  • In this blog post, Erik shows how to expand columns dynamically when working with SQL

While I don't think this works directly with your example, you might wanna read those and try to make it work with your example.

 

Furthermore: did you have a read on the Limitations and issues with native database queries (Like writing your SELECT * statement)?

 



Did I answer your question? Mark my post as a solution!

Blog: nickyvv.com | @NickyvV


View solution in original post

3 REPLIES 3
nickyvv
Most Valuable Professional
Most Valuable Professional

Hi @Anonymous,

good question. As @SivaMani mentioned this is not supported out-of-the-box.

However, you can work around it if the source is supporting that:

  • In this blog post, Marc shows how to get columns dynamically when working with SharePoint files
  • In this blog post, Erik shows how to expand columns dynamically when working with SQL

While I don't think this works directly with your example, you might wanna read those and try to make it work with your example.

 

Furthermore: did you have a read on the Limitations and issues with native database queries (Like writing your SELECT * statement)?

 



Did I answer your question? Mark my post as a solution!

Blog: nickyvv.com | @NickyvV


Anonymous
Not applicable

Although doesn't solve the problem at hand, but closest to an acceptable solution.

SivaMani
Resident Rockstar
Resident Rockstar

@Anonymous, The refresh that you referred to is DATA Refresh. It will only fetch the data from your source. It won't add new columns. For any structural changes or metadata changes, you have to refresh it in Power BI Desktop and publish it.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.

Top Solution Authors