exam questions

Exam PL-300 All Questions

View all questions & answers for the PL-300 exam

Exam PL-300 topic 2 question 19 discussion

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

DRAG DROP -
You are preparing a financial report in Power BI.
You connect to the data stored in a Microsoft Excel spreadsheet by using Power Query Editor as shown in the following exhibit.

You need to prepare the data to support the following:
✑ Visualizations that include all measures in the data over time
✑ Year-over-year calculations for all the measures
Which four 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:

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
ThariCD
Highly Voted 2 years, 7 months ago
Answer is wrong, the table shouldn't be transposed, the order should be: 1. Use first row as header 2. Unpivot all columns other than "Measure" 3. Rename "Attribute" to "Year" 4. Change data type of "Year" to date (Date > Year)
upvoted 399 times
0002110
1 month, 4 weeks ago
Yes ! this is correct way
upvoted 1 times
...
ferben
3 months, 2 weeks ago
I have tried it in Power BI and it's correct ! the other answer provided is less intuitive because at the end you'll have the measure (year) column as text, and the "attribut" column (where there are revenue, overheads etc.) will not be renamed
upvoted 1 times
...
Rasaqh
1 year, 6 months ago
This makes sense instead thier answers. Their answers would have also made sense if there is inclusion of another step which should 'Rename Attribute to Measure after the renaming of "Measure " to "Year" . The entire steps would become: 1. Transpose 2. Use first row as heade 3. Unpivot all columns other than "Measure" 4. Rename "Measure " to "Year" 5. Rename "Attribute" to "Measure"
upvoted 9 times
...
Srilatha_B
4 months ago
Where is Transpose?
upvoted 1 times
...
...
jorv86
Highly Voted 2 years, 6 months ago
To me, 1. Transpose the table 2. Use first row as headers 3. Rename the Measure column as Year 4. Change the data type of the Year column to Date. Yo don't need to unpivot but transpose because you need the measures in columns. Don't you agree?
upvoted 200 times
assettemergaliyev
4 months, 2 weeks ago
https://www.youtube.com/watch?v=0sci44xnto0&list=PLApPcvU5-R24K3mbxORV7T3ckVLfDjmHF&index=20
upvoted 7 times
ggggghowmanygs
1 month, 3 weeks ago
Wow, first time I've seen this pay wall in you tube, wished I could downvote this comment (and YT!)
upvoted 1 times
...
Pitxunet
2 months, 3 weeks ago
The whole playlist is gold to prepare the PL 300
upvoted 1 times
...
...
maymia87
1 year, 1 month ago
I agree, I think people disagree because they are not on the same page on the desired outcome table. Since we need a table with the following columns, you just need to transpose: Year Revenue Overheads Cost of goods. Unpivot in useful if the column measure had category values (Countryname, Productname...) not measures. Here we do not want the measures to repeat.
upvoted 5 times
...
RichXP
2 years, 4 months ago
tried, this one is correct.
upvoted 3 times
...
Bnxyl
1 year, 9 months ago
You cannot change the data type of only a years to date otherwise it will auto generate a DDMMYY format
upvoted 7 times
...
...
Curious236
Most Recent 2 months ago
in order not have to choose "change the year column to date type", which impact the values of year column, here is the suggested sequence: 1. Use headers as the first row 2. Transpose 3. promote the header 4. rename measure to year. With this approach, we can use data to calculate measure over time. feel free to test this approach!
upvoted 1 times
...
Curious236
2 months ago
It is not recommended to convert data type of " Year" to date, it should be number or text, as it might potentially be converted to another date value, example 2023 as 30-Dec-1899 (following Excel's date system)
upvoted 1 times
...
hebertorosillo
3 months, 2 weeks ago
Answer is wrong. The order should be : 1.Use the First row as Header. 2. Unpivot all the columns other than Measure. 3 Rename the Measure column as Year. 4.change the data type of the year column to date . when you use replace : When placing the first row as a header, the data type changes to numeric and changing it back to string would generate an additional step that is not contemplated in the solution.in this problem should be used unpivot. thanks.
upvoted 1 times
...
jaume
5 months, 1 week ago
I've created same excel table and imported into my own pbix. I've: 1.-TRANSPOSED the table, 2.- PROMOTED headers, 3.- RENAMED "measure" as "year" and, at this point I'm able to set a visual (line graph) with the three measures year over year Changing data type of {2016, 2017, 2018, 2019, 2020} column to DATE type results in ({08/07/1905, 09/07/1905, 10/07/1905, 11/07/1905, 12/07/1905}) column so, if 4 actions are required here, only other action I can select is to 4.- UNPIVOT other columns than measure. With that 4 actions I still can represent the 3 measures over all years and I guess some custom DAX calculations can be defined to get the YoY calculations
upvoted 2 times
...
mghf61
5 months, 3 weeks ago
1. Transpose the table 2. Use first row as headers 3. Rename the Measure column as Year 4. Change the data type of the Year column to Date. I tested this and worked
upvoted 3 times
TheSylas
4 months, 1 week ago
The date format will be wrong. ThariCD's solution gives the correct date format.
upvoted 1 times
...
...
madimad
6 months, 4 weeks ago
Transpose the table Use the first row as headers Rename the Measure column as Year Change the datatype of the Year column to Date its the correct answer
upvoted 2 times
...
mapr
7 months, 2 weeks ago
Answer is correct. I just try on my computer and works perfectly.
upvoted 1 times
...
rcaliandro
8 months, 2 weeks ago
I totally agree with ThariCD: 1 - Use the first row as headers (we now have column names) 2 - Unpivot all the columns other than Measure (we have years in one column only) 3 - Rename the Attribute column as Year (we have the year column) 4 - Change the data type of the Year column to Date (I only have a doubt for this step, why an year should be considered as a Date???)
upvoted 1 times
...
hayleyxiong33
9 months, 2 weeks ago
The answer is wrong the table should not be transposed
upvoted 1 times
...
agelee
9 months, 2 weeks ago
With Transpose there is an issue to do in one step conversion of Year data type from Int to Date (it has to be done in 2 steps int->text->date) and it results in 5 steps, not 4. IDK the answer here.
upvoted 2 times
...
SeethaG
9 months, 2 weeks ago
• 1. Transpose the table • 2. Use first row as headers • 3. Rename the Measure column as Year • 4. Change the data type of the Year column to Date.
upvoted 1 times
...
greenlever
11 months, 1 week ago
The given answer is correct.
upvoted 2 times
...
Mo2011
11 months, 3 weeks ago
Transpose Use the first rows as headers Rename the measure as year Change the data type of the year column
upvoted 5 times
...
SIH007
1 year ago
Sorry, but the last step is wrong, if you change the year to datatype date you would get 17th July, 1905. Actually my problem is: which 4th option do I select when all remaining options are wrong?????
upvoted 1 times
...
0e18c76
1 year ago
The 3rd step is wrong. You do not need to unpivot. The solution must be: 1. Transpose the table 2. Use first row as headers 3. Rename the Measure column as Year 4. Change the data type of the Year column to Date. This is really a tricky questions and most of us tend to go immediately to "unpivot other columns". The key here is to check the data carefully. And if you noticed on the first column, besides the first row which is measure, the other rows are all fields as well. So transpose instead of unpivot.
upvoted 4 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago