Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam PL-300 All Questions

View all questions & answers for the PL-300 exam

Exam PL-300 topic 1 question 15 discussion

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

DRAG DROP -
You have a folder that contains 100 CSV files.
You need to make the file metadata available as a single dataset by using Power BI. The solution must NOT store the data of the CSV files.
Which three actions should you perform in sequence. To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
Step 1: From Power BI Desktop, Select Get Data, and then Select Folder.
Open Power BI Desktop and then select Get Data\Moreג€¦ and choose Folder from the All options on the left.

Enter the folder path, select OK, and then select Transform data to see the folder's files in Power Query Editor.
Step 2: From Power Query Editor, expand the Attributes column.
Step 3: From Power Query Editor, combine the Content column.


Combine files behavior -
To combine binary files in Power Query Editor, select Content (the first column label) and select Home > Combine Files. Or you can just select the Combine Files icon next to Content.
Reference:
https://docs.microsoft.com/en-us/power-bi/transform-model/desktop-combine-binaries

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
emmanuelkech
Highly Voted 2 years, 1 month ago
I think the correct flow is Get data then select folder Remove content Colum Expand Attribute Colum
upvoted 218 times
pnb11
2 years, 1 month ago
These are right answer 1.Get data the select folder 2.Remove attribute column (because this column contain information about file which not needed). 3.Combine Content column (which contain actual data which needed for us)
upvoted 36 times
moleskin
2 weeks ago
emmanuelkech has the right answer here, content column is not required, so it should be removed. Attritbutes column is to be expanded.
upvoted 1 times
...
Hoeishetmogelijk
1 year, 10 months ago
See the requirement "The solution must NOT store the data of the CSV files." So the content column must be removed.
upvoted 23 times
...
Shakilpatil
1 year, 10 months ago
The question is not to store data of files
upvoted 10 times
...
...
GabryPL
1 year, 9 months ago
what about: 1) get data from folder 2) expand attribute 3) remove content column why should this order be wrong?
upvoted 21 times
HN_3532
1 year, 8 months ago
It's not wrong, but the rule of thumb is "Filter left. Format right.". Removing columns is vertical filtering, so it should be on top.
upvoted 18 times
Nemesizz
1 year, 8 months ago
What do u mean with vertical filtering?
upvoted 1 times
itenginerd
1 year, 1 month ago
Horizontal filtering = removing rows we don't want. Vertical filtering = removing columns we don't want.
upvoted 5 times
...
...
...
...
fellipeao
1 year, 6 months ago
I have tested and works. Some ppl said to "combine attribute", but its not possible.The options is not avaliable.
upvoted 3 times
...
NevilleV
2 years ago
I agree that this is the requirement. The thing that bothers me is WHY? Why would you want to create a dataset with only the metadata?
upvoted 7 times
cnmc
1 year, 10 months ago
audit purpose. Not everything is about the business results, for big corps you'd care about how it's run too
upvoted 12 times
...
...
...
Guru1337
Highly Voted 2 years, 1 month ago
It should be remove Content not combine, since the file data is NOT to be stored.
upvoted 52 times
GPerez73
2 years, 1 month ago
I agree
upvoted 7 times
...
Churato
1 year, 12 months ago
Tested here and it works. Thankyou!
upvoted 3 times
...
...
JPShields
Most Recent 1 week, 4 days ago
I don't see why we combine the content column if it should not be stored. It should be removed surely
upvoted 1 times
...
hassan899
2 weeks, 6 days ago
how are is this type of question graded? does the order have to be correct to get the whole points or is it graded per correct selection?
upvoted 1 times
...
SidneyHod
3 weeks, 6 days ago
Get data then select folder Remove content Colum Expand Attribute Colum
upvoted 1 times
...
rcaliandro
2 months, 1 week ago
Not sure about that but in my opinion it is: A - From Power BI Desktop, select Get Data and then select Folder B - From Power Query Editor, expand the Attributes column C - From Power Query Editor, remove the Content column
upvoted 1 times
...
janssen135
2 months, 3 weeks ago
answer: From Power BI Desktop, select Get Data, and then select Folder. From Power Query Editor, remove the Content column. From Power Query Editor, expand the Attributes column.
upvoted 3 times
...
AP0409
2 months, 3 weeks ago
The question mentioned do NOT store data of csv files. This means we have to remove Attributes. So the correct order is: 1. Get data, select folder 2. Remove Attribute 3. Combine Content
upvoted 1 times
...
soheil.dabooyeh29
8 months ago
the solution would be: 1- Get Data from Folder 2- Expand (Priority) the Attributes Column 3- Combine the Content Column
upvoted 1 times
...
Dani_eL
8 months, 1 week ago
I have the feeling this question is a voluntary trap of Microsoft :-) When you test the conflictual solutions in PBI Desktop you will see that combining content will add a bunch of crap in your semantic model..including the data that we are forbidden to store, it's common sense. It is written in the question itself, metadata only and as metadata is also included in Attributes, you need to expand attributes to get the entire metadata context.
upvoted 1 times
...
KKPanda77
8 months, 1 week ago
Tricky and Interesting
upvoted 1 times
...
nattomi
8 months, 3 weeks ago
Its explained here which makes sense Get data then select folder Remove content Colum Expand Attribute Colum
upvoted 20 times
JudT
7 months ago
Thank you!
upvoted 2 times
Inesd
4 months, 2 weeks ago
Totally agree
upvoted 1 times
...
...
...
JohnChung
9 months, 1 week ago
I go with below instead of Combine the Content column for 3) 1) get data from folder 2) expand attribute 3) remove content column Combine Content column will have all data of the csv files
upvoted 3 times
...
Ditendra
11 months, 1 week ago
the correct sequence of actions is: From Power BI Desktop, select Get Data, and then select Folder -> From Power Query Editor, remove the Content column -> From Power Query Editor, remove the Attributes column since attributes column contains extra info about files we should remove that and only keep clean meta data.
upvoted 2 times
...
TigerTienie
1 year ago
Only meta data must be shown and NO data must be stored. Try this out practical, following steps work. 1) Get Data from folder 2) Expand Attribute columns 3) Remove Content column
upvoted 4 times
...
Fisher
1 year ago
expand the attributes. Expanding the attributes means that you create columns in your dataset to capture the metadata about each file, such as file names, file paths, file sizes, and other relevant attributes. This approach keeps the metadata in your dataset without storing the actual data from the CSV files. By expanding the attributes, you ensure that you have the necessary information to work with the file metadata in your Power BI reports and visualizations while adhering to the requirement of not storing the CSV file data within your Power BI dataset.
upvoted 3 times
...
Igetmyrole
1 year, 1 month ago
First step: From Power BI desktop, select get data, and then select folder. This is the first step to access the files within the folder. Second Step: From Power Query Editor, expand the attributes column. This step is necessary to access the file metadata. Third Step: From Power BI Query Editor, remove the content column. This step is crucial to exclude the actual file data and keep only the metadata. Are the correct steps. Others will not work because of the following reasons : Removing the "attributes" column would prevent us from accessing the file metadata. Selecting "text/csv" from the "Get Data" menu would be necessary if we want to import the data from the CSV files themeselves, but our requirement is to extract metadata only, so this step in not needed. Combining the "Content" column is not necessary because we want to remove it to avoid storing the data, not combine it.
upvoted 8 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 ...