This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hello Community -
I have data that I am sourcing from a Sharepoint folder and over time the structure of the files has slightly changed. We added a new column in the extracts to start 2022 and another in 2023. With those additions, when my tables are combined, the columns are not lining up properly with the columns from past files.
I am wondering if there is a function, or way to fix this without going into each file from the past and adding the new column(s). Or manually moving the new columns to the end of the file each month.
Any tips on this would be appreciated.
Thanks
Ryan
Hi Ryan,
If you're using the folder connector, then the simplest (not necessarily the cleanest) way would probably be to update the sample file query in the helper queries to point at a file with the latest (most columns) structure.
Any transformation you need to do on the new column(s) can then be done post-append, so you don't get errors during the Transform & Combine process.
Pete
Proud to be a Datanaut!
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.