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

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.

Reply
enath
Helper I
Helper I

combine from folder with new columns and connected to SharePoint

Hello Power BI ,

 

I made a report where I use the strick to detect and load automatically a new column to the report like in this video :.

https://www.youtube.com/watch?v=JAw4rrpc7vk

with this:

#"Removed Other Columns1" = Table.SelectColumns(#"Renamed Columns1", {"Source.Name", "Transform File"}),
Data = #"Removed Other Columns1"[Transform File],
Headers = List.Distinct(List.Combine(List.Transform(Data, Table.ColumnNames))),
#"Expanded Table Column1" = Table.ExpandTableColumn(#"Removed Other Columns1", "Transform File", Headers),

 

Everything is working well but when I want to connect this report to the SharePoint those step are not working anymore...and the quierry is failling : 

enath_0-1662375855647.png

there is noway to add automatically new columns when combining files that located in sharepoint?

Thanks a lot for your help!!

Enath

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@enath , Curbal has suggested an approach in 2 videos, refer to it, if that can help. I have not checked the one you are using. so not sure if two are different.

https://www.youtube.com/watch?v=UY3hIV-THcg

https://www.youtube.com/watch?v=hJF2dPfIeaM

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
enath
Helper I
Helper I

Thanks! 

do you have any idea to expand json automatically also when there are new columns? like she explained in the video you sent but in json?

amitchandak
Super User
Super User

@enath , Curbal has suggested an approach in 2 videos, refer to it, if that can help. I have not checked the one you are using. so not sure if two are different.

https://www.youtube.com/watch?v=UY3hIV-THcg

https://www.youtube.com/watch?v=hJF2dPfIeaM

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
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 Kudoed Authors