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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

Connecting to Sharepoint Folder

I am trying to connect to a sharepoint folder via my PBI desktop. Once I connect with the root url and filter the relevant files (in power query) based on naming conventions:

--> say for example I filter all files that start with the word "Sales Report" --> I see the files Sales Report 1, Sales Report 2, Sales Report 3

--> I now want to combine these 3 files into one file, however all these files have two rows of useless data (Title etc) and then the actual table with data. 

--> Is there any way I can remove the first two rows and then combine. 

Any help would be greatly appreciated

1 REPLY 1
MFelix
Super User
Super User

Hi @Anonymous ,

 

For this you need to use custom function that basically allows you to do that customization.

 

When you connect to the folder on the bottom you have several options

 

MFelix_0-1654174732053.png

If you select the Combine and Transform this will create your custom function you only have the select the file you want to use has an example and the rest is created by PBI.


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.