exam questions

Exam PL-300 All Questions

View all questions & answers for the PL-300 exam

Exam PL-300 topic 2 question 16 discussion

Actual exam question from Microsoft's PL-300
Question #: 16
Topic #: 2
[All PL-300 Questions]

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You are modeling data by using Microsoft Power BI. Part of the data model is a large Microsoft SQL Server table named Order that has more than 100 million records.
During the development process, you need to import a sample of the data from the Order table.
Solution: From Power Query Editor, you import the table and then add a filter step to the query.
Does this meet the goal?

  • A. Yes
  • B. No
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
simplex06
Highly Voted 2 years, 9 months ago
I agree with the answer. B. No
upvoted 81 times
BiLearn
2 years, 2 months ago
A, should be correct. We have concept of Query Folding. If we apply the steps and it can be converted to Native Query then it will execute as is. By development process it might mean by building Power BI Report, the view might be production view and as it is having 100 Million record. We cannot update the view for Power BI development.
upvoted 28 times
Seda_
11 months ago
If you import the entire table, you will increase memory usage and may experience performance issues. Applying a filter only affects the visibility of the data, while still keeping the entire table in memory. Therefore, a more effective method is to sample or filter directly on the data source.
upvoted 13 times
signofanopeneye
10 months, 4 weeks ago
haklisin seda
upvoted 3 times
...
...
hypersam
1 year, 1 month ago
but before you apply the filter, you need to load the entire data in full to query editor, then you apply the filter, which turns into native query. It's best when you just add a where clause in sql query when importing
upvoted 4 times
...
BiLearn
2 years, 2 months ago
Great Explanation by Sana Correct Answer A Yes, when you use Power Query Editor to import a table with a filter in Power BI, only the filtered data is imported into the data model. The Power Query Editor is used to transform and shape the data before it is loaded into the data model. When you apply a filter step to the query in Power Query Editor, it will only select the records that meet the filter criteria, and exclude the records that do not. This filtered data is then loaded into the data model.
upvoted 16 times
JudT
1 year, 3 months ago
Tested - The correct answer is A - So how you will apply the filter? Load your data in Power query. Create a "new parameter" from "Manage Parameters Menu" and assign your sample "start date" in "current value" field and reach ok. Filter your Datekey column by the created "new parameter" to get your sample in the model.Hope this will help.
upvoted 1 times
...
LouStar2
2 years ago
So from: https://learn.microsoft.com/en-us/power-query/power-query-folding If the View Native Query option isn't enabled (greyed out), this is evidence that not all query steps can be folded. However, it could mean that a subset of steps can still be folded. Working backwards from the last step, you can check each step to see if the View Native Query option is enabled. So is that enabled by default?
upvoted 1 times
...
...
...
Denjarus
2 years, 8 months ago
B is correct. This will load the entire table in the first step when you import. Instead add a WHERE clause to the SQL statement
upvoted 15 times
Shalaleh
2 years, 3 months ago
It seems the correct answer is A, "Yes". because the question said importing in POWER QUERY and not POWER DESKTOP. and before importing POWER DESKTOP it uses filter step and filters the data. it means it will import only part of the table into power bi desktop. Although it is not recommended but still it works. please let me know if I am wrong.
upvoted 8 times
...
...
...
H_E_Z
Highly Voted 2 years, 9 months ago
I think query folding can push the filter into the query so A yes
upvoted 33 times
yordiye
2 years, 5 months ago
I agree
upvoted 1 times
...
Remko_K
2 years, 5 months ago
Query folding is only possible when using Direct Query. However, the exercise states import, so query folding cannot be used and as a consequence the filter cannot be pushed into the query.
upvoted 5 times
Remko_K
2 years, 5 months ago
Correction: For a DirectQuery or Dual storage mode table, the Power Query query must achieve query folding. For an Import table, it may be possible to achieve query folding.
upvoted 8 times
...
...
...
13a8051
Most Recent 1 week, 5 days ago
Selected Answer: B
❌ Why the Answer Is No: Even though filtering in Power Query can reduce data size, this approach is inefficient in this context unless the filtering is done before importing the data. Here's the critical issue: If you first import the full table into Power BI and only then filter it, the entire 100+ million rows are loaded before the filter is applied. This defeats the purpose of sampling — it strains resources and takes too long. The answer is No because the filter is applied after import, which doesn’t meet the goal of sampling during development.
upvoted 1 times
...
MTG_1
1 month ago
Selected Answer: A
Answer: A. Yes ✅ Explanation: The goal is to import a sample of the data from a very large SQL Server table (100+ million records) during development — not the full dataset. Why this solution works: Power Query Editor allows you to add a filter step to restrict the amount of data loaded (e.g., filtering on date, order ID, or top N rows). While this filtering happens after import, Power BI is smart enough to fold the filter back to SQL Server if query folding is supported, meaning only the filtered rows are pulled from the database. Query folding: If your filter step can be translated to SQL (like a WHERE clause), Power BI pushes it to SQL Server, making the data load efficient even with massive tables. Best Practice Tip: For better control, you could also: Use a SQL statement in the advanced options during import to fetch a subset directly (e.g., SELECT TOP 1000 * FROM Orders).
upvoted 1 times
...
lechuc508
1 month, 1 week ago
Selected Answer: B
Giải pháp được đề xuất ("nhập bảng rồi mới lọc") không đạt được hiệu quả lấy mẫu nhanh chóng vì nó vẫn cố gắng tải toàn bộ dữ liệu ban đầu.
upvoted 1 times
...
Curious236
3 months, 4 weeks ago
Selected Answer: A
"During the development process, you need to import a sample of the data from the Order table.". This approach meets this goal thanks to query folding, as after the filtering step, the native query sent to the data source will be modified to import only the rows that meet the condition.
upvoted 2 times
...
ee0625a
4 months, 1 week ago
Selected Answer: A
Filtering ensures that we select only a manageable number of rows such as 100, 000 that will help test what we want to analyze rather than having 100 million rows
upvoted 2 times
...
kinlee
4 months, 2 weeks ago
Selected Answer: B
B. It stated "From Power Query Editor, you import the table and then add a filter step to the query." Can't do this. If imported through and SQL and not the table, then it is probably a Yes.
upvoted 1 times
...
ee0625a
4 months, 3 weeks ago
Selected Answer: A
Power Query Editor allows filtering data at the query level, which means only the filtered data will be imported into Power BI, reducing the data load
upvoted 2 times
...
SilBri_830
4 months, 4 weeks ago
Selected Answer: A
In Power Query Editor, when you add a filter step to the query, only the filtered subset of data is loaded into the Power BI model. This approach allows you to work with a smaller sample of the data during development while maintaining the ability to later remove or adjust the filter for the full dataset.
upvoted 2 times
...
485307a
5 months ago
Selected Answer: A
A is correct same results chat gpt returned me
upvoted 2 times
...
RRconnect
5 months, 1 week ago
Selected Answer: B
you can select the required data in the sql query itself instead of importing all data and then apply filter in power query
upvoted 2 times
...
SUNNYDEPS
5 months, 1 week ago
Selected Answer: A
B is correct as to minimize the data size while in the development phase
upvoted 2 times
...
SylUK
5 months, 2 weeks ago
Selected Answer: B
B is the answer you can only apply the filter at the source through SQL for example no after loading the entire table.
upvoted 1 times
...
Peggym
5 months, 2 weeks ago
Selected Answer: B
During the development process, you need to import a sample of the data from the Order table.: if you choose A you import the whole table and then filter it, so you should adjust the sql statement
upvoted 1 times
...
Odidepse
5 months, 2 weeks ago
Selected Answer: A
Correct answer is Yes , this solution works because adding a filter step in Power Query Editor limits the data imported, allowing you to work with a sample of the table during development.
upvoted 1 times
Pitxunet
4 months, 3 weeks ago
In the question it is stated that the filter is applied after importing the data... it's too late. So the answer is B.
upvoted 1 times
...
...
YuanQingTan
6 months, 1 week ago
Selected Answer: A
When the data is imported to power query, then filtered, query folding is possible, hence the filtering is done by the source before retrieving it back to power query. I tested this 1) import a table from SQL to power query. 2) saved the PBIX file. 3) Checked the size of the PBIX file. 4) Open power query and add a filter step to the table. 5) Save the PBIX file. 6) Checked the size of the PBIX file and noticed that the file size actually decreased. This shows that only the required data is imported If the entire data from the SQL is imported to power query, then only filtered by power query, i would imagine that the file size will remain unchanged.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...