Loading Specific Excel Files from SharePoint Document Libraries in Power BI

PL-300 By islever Editorial Last updated

Short answer

A Get data from a SharePoint folder, enter the site URL, select Transform, then filter by the folder path to the manufacturing reports library.

Question

You have a Microsoft SharePoint Online site that contains several document libraries.
One of the document libraries contains manufacturing reports saved as Microsoft Excel files. All the manufacturing reports have the same data structure.
You need to use Power BI Desktop to load only the manufacturing reports to a table for analysis.
What should you do?
  1. Get data from a SharePoint folder and enter the site URL Select Transform, then filter by the folder path to the manufacturing reports library. Correct Answer
  2. Get data from a SharePoint list and enter the site URL. Select Combine & Transform, then filter by the folder path to the manufacturing reports library.
  3. Get data from a SharePoint folder, enter the site URL, and then select Combine & Load.
  4. Get data from a SharePoint list, enter the site URL, and then select Combine & Load.

Key Takeaways

The key distinction is between using the SharePoint Folder connector for files versus the List connector for items, and the necessity of using 'Transform' to filter sources before combining to ensure only required data is loaded.

This question tests how to efficiently load specific Excel files from a SharePoint Online document library into Power BI Desktop using the SharePoint Folder connector and Power Query transformation steps.

Common mistake: Candidates often choose Option C (Combine & Load) assuming it automatically handles the structure, but this fails to filter out unrelated files in the same parent folder, leading to inefficient or incorrect data imports.

Expert Analysis

The scenario requires loading multiple Excel files with identical structures from a specific SharePoint document library into Power BI Desktop. The correct approach is to use the SharePoint Folder connector, as it treats the library as a file system directory, allowing access to individual file metadata and content.

Option A is correct because it specifies getting data from a SharePoint folder (the correct source for files), entering the site URL, selecting Transform to open Power Query Editor, and then filtering by the folder path. This ensures only the manufacturing reports are included before combining them. As noted in community comments, using 'Transform' allows you to filter out unwanted libraries or files before the expensive 'Combine' operation occurs, optimizing performance.

Option B suggests using a SharePoint list. This is incorrect because a list connector retrieves items from a SharePoint List object (rows/columns), not files stored in a Document Library. While lists can have attachments, they are not the primary method for bulk importing structured Excel files from a library.

Options C and D suggest selecting Combine & Load. This is incorrect because 'Combine & Load' merges all available files immediately without giving the user a chance to filter the source. Since the goal is to load only the manufacturing reports (and presumably exclude other files in the same parent folder if any exist), filtering is a necessary step that must occur during the Transform phase. Loading without filtering would import unnecessary data, violating the requirement for precision.

Exam Strategy

Always identify whether the source is a 'List' (tabular data within SharePoint) or a 'Folder' (files on a drive). When dealing with multiple files in a folder, remember that 'Combine & Load' processes everything; use 'Transform' first to apply filters on the file metadata (like Name or Folder Path) to reduce data volume and improve refresh performance.

Frequently Asked Questions

Why can't I use the SharePoint List connector for Excel files in a document library?

The SharePoint List connector is designed to retrieve rows and columns from SharePoint List objects (like task lists or calendars), not files stored in Document Libraries. To access files like Excel workbooks, you must use the SharePoint Folder connector.

What is the difference between 'Transform' and 'Combine & Load' in Power Query?

'Transform' opens the Power Query Editor where you can clean, filter, and reshape data before loading it. 'Combine & Load' immediately merges all available files from the source and loads them into the model without allowing intermediate filtering steps.

Community Votes

A
76%
C
12%
B
8%
D
4%

76% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.

Discussion 44 contributions

Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.

From public community threads 30 of 44

  1. fred92 👍 35 Answered A
    We have to import Excel files from SharePoint, so we need the connector SharePoint folder which is used to get access to the files stored in the library. SharePoint list is a collection of content that has rows and columns (like a table) and is used for task lists, calendars, etc. Since we have to filter only on manufacturing reports, we have to select Transform and then filter by the corresponding folder path.
  2. Igetmyrole 👍 17
    The Correct Answer is A. To load only the manufacturing reports (Microsoft Excel Files) from a specified SharePoint document library into Power BI Desktop for analysis, we should do, Geta data from a SharePoint folder and enter the site URL. Select Transform, then filter by the folder path to the manufacturing reports library. Option B is not the right answer choice because "SharePoint list" is selected, and you need to access files in a document library, not a list. Option C and Option D both include "Combine & Load", which typically combines multiple queries or tables and loads them into Power BI. However, since we only want to load files from a specific folder within the SharePoint library, we should use the "Transform" option to filter and select the desired data before loading it into Power BI.
  3. TimO_215 👍 6
    I spoke too soon, I am in agreement with A. I would delete this comment, but I can't find a way to do it.
  4. SanaCanada 👍 5 Answered A
    Correct the answer A Explanation: Since the manufacturing reports are saved as Excel files in a specific document library within SharePoint Online, the best option is to use Power BI Desktop to get data from the SharePoint folder that contains the manufacturing reports. After entering the site URL, select Transform to open Power Query Editor, and then filter the folder path to the manufacturing reports library so that only the Excel files in that library are loaded to the table for analysis. Option A is the correct choice for this scenario. No confusion, and no need to discuss further
  5. Manikom 👍 4 Answered A
    I think A is correct. SharepointFolder 'combine&load' should load all files and not only Manufacturing ones so this should exclude answer C. Sharepointlist doesn't have 'Combine&Tranform', 'Combine&Load' options so this excludes answers B and D
Show 25 more comments
  1. fdsdfgxcvbdsfhshfg 👍 4 Answered A
    We need to access the subfolders; we have to filter using Folder Path column
  2. Muffinshow 👍 4 Answered C
    C The explanation is correct but the answer i wrong
  3. Pushliang 👍 3
    A IS RIGHT.
  4. omath 👍 2 Answered A
    Answer: A. Get data from a SharePoint folder and enter the site URL. Select Transform, then filter by the folder path to the manufacturing reports library Explanation: - Using SharePoint folder lets you combine multiple Excel files with the same structure. - Enter the site URL (not the library URL) so Power BI can access all files. - Then Transform and filter by the folder path to include only the manufacturing reports library before combining. * Other options: - B and D (SharePoint list) → Lists are for structured list data, not document libraries. - C (Combine & Load) → Loads everything without filtering, which doesn’t meet the requirement.
  5. eckip 👍 2 Answered A
    I tried it out. For me all answers are not completely correct. C & D: Are wrong because you have to filter somehow, otherwise you will get all files also from other document libraries. A: Sounds correct until you also have to combine the files after filtering. This is missing here. Otherwise it works exactly like this. B: SharePoint List connector needs many more steps. After entering the site URL, you have to do many transformation steps and I did not manage to come until the combine step. So the answer as it is here seems to be wrong for me. I would go with A.
  6. Hoeishetmogelijk 👍 2
    These line clearly states that the document library only contains Manufacturing reports of the same structure: "One of the document libraries contains manufacturing reports saved as Microsoft Excel files. All the manufacturing reports have the same data structure."
  7. TimO_215 👍 2 Answered B
    I think that the answer is B. The question says that you are using Power Query Desktop. According to the documentation, you would click "Transform" if you are using Power Query Online, but you click "Combine & Transform" if you are using Power Query Desktop.
  8. itenginerd 👍 2
    > Also there is no need to filter by the folder path, because the folder path is already in the URL ...except for the fact that the SharePoint folder dialog explicitly requires the site root URL without the folder.
  9. viethoa 👍 2 Answered A
    Answer is Get data from a SharePoint Online folder and enter the site URL. Select Combine & Transform, then filter by the folder path to the manufacturing reports library.
  10. Leiaaaaa 👍 2
    Someone please explain this to me, B says combine and transform which is mentioned in the explanation but why is that not the answer?
  11. PrudhviKilli 👍 2
    I guess answer is b, but not sure why it is A. Can someone please assist me with explanation
  12. Avnin 👍 2
    The description of the answer is the content from B
  13. Harshith_VC6362 👍 1 Answered A
    A. SharePoint Folder (Transform then filter) – Correct. Lists all files in document libraries. You can filter to just the manufacturing reports and then combine them. B. SharePoint List – Wrong. Returns list items, not files. Won’t pull Excel files from a document library. C. SharePoint Folder (Combine & Load) – Loads everything without letting you filter first. D. SharePoint List (Combine & Load) – Same problem as B. Not for files.
  14. Nomios 👍 1
    Answer: None are correct! From Get Data in PowerBI desktop the only options are: - SharePoint folder - SharePoint Online List - SharePoint List So this excludes answers A & C From the navigator screen you only have the options 'Load' or 'Transform Data'. 'Combine' is not an available option. So this excludes answers B, C & D
  15. HeyJitu_25 👍 1 Answered A
    ✅ A. SharePoint Folder → Transform → Filter Folder Path → Manufacturing Reports → Combine Connect using SharePoint Folder Choose Transform Data Filter the Folder Path Keep only the Manufacturing Reports library Combine the remaining Excel files This minimizes processing and avoids importing unnecessary files.
  16. rcaliandro 👍 1 Answered A
    A is the correct one. You need to select sharepoint folder as source, then insert the sharepoint URL and, as every source, select Transform: A. Get data from a SharePoint folder and enter the site URL Select Transform, then filter by the folder path to the manufacturing reports library. OK
  17. Hoeishetmogelijk 👍 1 Answered D
    The answer is D Once the site URL is entered, the user selects "Combine & Transform Data" or "Combine & Load". But not just "Transform". Also there is no need to filter by the folder path, because the folder path is already in the URL.
  18. VladAbz 👍 1
    Cant we directly give the path of the original sharepoint folder. i.e. the one that contains the Manufacturing Report excel file? So we wont need to again filter by that library. Just Combine and Load? I think C is right.
  19. srikanth923 👍 1 Answered A
    The answer is A. Once you import the Sharepoint folder in Power BI, you can clean the data by transforming it and then filter it to show only the data you need based on the specific path.
  20. Hoeishetmogelijk 👍 1
    I mean: the answer is: C. Get data from a SharePoint folder, enter the site URL, and then select Combine & Load. Of course it is about a SharePoint FOLDER
  21. DexTorao 👍 1
    A. Get data from a SharePoint folder and enter the site URL Select Transform, then filter by the folder path to the manufacturing reports library.
  22. ThandaPanda11 👍 1 Answered C
    Answer can be C As it is not mentioned there to transform we have to only load the files from folder
  23. Chita_3385 👍 1
    Yes, I think it's c too. And I check others' comments, maybe C is missing the step to choose files.
  24. Hoeishetmogelijk 👍 1 Answered C
    C. Get data from a SharePoint folder, enter the site URL, and then select Combine & Load.
  25. Sangameshks 👍 1
    I agree, but if you read question carefully. You will find the need for filtering

Reader comments & corrections

No reader corrections yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Practice All PL-300 Questions

Access 116 questions with complete answers and detailed explanations.

View Full PL-300 Practice Test →

← Back to PL-300 Study Guide