exam questions

Exam PL-300 All Questions

View all questions & answers for the PL-300 exam

Exam PL-300 topic 2 question 40 discussion

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

You are building a data model for a Power BI report.
You have data formatted as shown in the following table.

You need to create a clustered bar chart as shown in the following exhibit.

What should you do?

  • A. From Power Query Editor, split the Machine-User column by using a delimiter.
  • B. From Power Query Editor, create a column that contains the last three digits of the Machine-User column.
  • C. In a DAX function, create two calculated columns named Machine and User by using the SUBSTITUTE function.
  • D. In a DAX function, create two measures named Machine and User by using the SUBSTITUTE function.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
Namenick10
Highly Voted 2 years, 2 months ago
Answer A
upvoted 34 times
1CY1
2 months, 3 weeks ago
Agree with A. Only reason I had for not using B was that we may not be able to guarantee a length of 3 char. Has anyone else got a reason for not choosing B?
upvoted 1 times
...
nevesrf
1 year, 10 months ago
Its wrong if you split the column at Powerquery the name of the columns dont split then we need the name to make the legend and the y labels so the correct choice is C
upvoted 3 times
Shalaleh
1 year, 8 months ago
Yes, but renaming is included in this step.
upvoted 1 times
...
Shalaleh
1 year, 8 months ago
we use SUBSTITUE function for: Replaces existing text with new text in a text string. but here we do not want replace something, we want split the column by the delimiter "-"
upvoted 2 times
...
...
...
SamuComqi
Highly Voted 1 year, 4 months ago
Selected Answer: A
A
upvoted 15 times
MoxieTT
1 year, 4 months ago
Did you find many of these questions on the real exam?
upvoted 4 times
AdrianBalescu
12 months ago
he somehow answered with right answers for more than 50 questions on this website
upvoted 2 times
Fra04
9 months, 2 weeks ago
Tante domande da questo sito consiglio l'acquisto come collaboratore
upvoted 1 times
...
...
...
...
desibaby09
Most Recent 4 days, 2 hours ago
Selected Answer: A
split the delimeter. the legend shows user and the y axis shows machine. these are two separate columns now
upvoted 1 times
...
jaume
3 weeks, 5 days ago
Selected Answer: A
Vote for option A B. new column with last three digits would result in a "User" column, but there would be not "Machine" (only machine) column yet
upvoted 1 times
...
rcaliandro
3 months, 4 weeks ago
Selected Answer: A
A - it does make sense to split the column by "-" as delimiter
upvoted 1 times
...
Dsbuff
12 months ago
Selected Answer: A
A is correct
upvoted 1 times
...
If we split the column, we might never be able to use the original. Also, the question does not say to maintain the model size. So the best answer should be B.
upvoted 1 times
...
lcss27
1 year, 3 months ago
Correct Answer: A It couldn't be SUBSTITUTE because for one column you could only replace either "-ABC" or "-BAC" for the "oldtext" parameter
upvoted 2 times
...
Igetmyrole
1 year, 3 months ago
A is the correct answer. This action will allow us to split the combined "Machine-User" values into separate columns for "Machine" and "User", which is for creating a clustered bar chart with the desired X and Y-axis values.
upvoted 2 times
...
MoxieTT
1 year, 4 months ago
Fairly sure this was on the exam
upvoted 2 times
...
Shalaleh
1 year, 7 months ago
Selected Answer: A
A is the correct answer.
upvoted 2 times
...
UlyUkr
1 year, 7 months ago
Answer is A is the best and fastest solution. Splitting the column into 2 is better that creating an extra 2 calculated columns, this will increase the model size.
upvoted 1 times
...
RazaTheLegend
1 year, 8 months ago
Selected Answer: A
The desired visual is provided. However, the dataset shown contains a column where machine and user data from the visual are combined into 1 column. Therefore, to solve this you need to use a delimiter. This will split one column into two, where you will use Machine column (BAC & ABC) as your Y-axis and User column (123 & 657) as your legend.
upvoted 2 times
...
Shaziq
1 year, 11 months ago
Can anyone explain this?
upvoted 2 times
naomilena
1 year, 11 months ago
The desired visual is provided. However, the dataset shown contains a column where machine and user data from the visual are combined into 1 column. Therefore, to solve this you need to use a delimiter. This will split one column into two, where you will use Machine column (BAC & ABC) as your Y-axis and User column (123 & 657) as your legend.
upvoted 5 times
...
...
jboiret
2 years ago
Selected Answer: A
Answer A
upvoted 3 times
...
csillag
2 years ago
Selected Answer: A
A is correct
upvoted 2 times
...
Patrick666
2 years ago
Answer A
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago