exam questions

Exam PL-300 All Questions

View all questions & answers for the PL-300 exam

Exam PL-300 topic 9 question 1 discussion

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

HOTSPOT -
You need to design the data model and the relationships for the Customer Details worksheet and the Orders table by using Power BI. The solution must meet the report requirements.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: Yes -
Need to link the tables for: The Top Customers report will show the top 20 customers based on the highest sales amounts in a selected order month or quarter, product category, and sales region.

Box 2: No -
It should be set to Integer.

Box 3: No -
Can use the Region field of the Customer Details table.
The Orders table only has the ShipRegion field

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 1 year, 10 months ago
Answer should be No - Yes - No. According to the sample data the CustomerID in Customer Details is a number (1 through 10 is shown in the example data) and the CustomerID in the Orders table has an example value of VINET, which looks like it corresponds to the value of CustomerCRMID instead of CustomerID from the Customer Details worksheet so the first answer should be No. The second answer should be Yes, the CustomerID from Orders has example value VINET, which is text.
upvoted 101 times
LeeTheRed
7 months, 3 weeks ago
Technically, you can't use the CustomerID in the Orders table to create a relationship to any other table as it would contain NULL, you can't create PK or FK from column that has NULL data.
upvoted 1 times
...
fdsdfgxcvbdsfhshfg
1 year, 10 months ago
Also the Region should come from Customer Details as the one in Order table is a shipping region, not sales region
upvoted 6 times
...
Wadyba
1 year, 8 months ago
Wrong: there is no CustomerCRMID on the Orders table. It's explicitly stated CustomerID, pls don't manufacture questions.
upvoted 3 times
YokoSumiGaeshi
1 year, 8 months ago
ThariCD is right. We cannot link CustomerID from both tables because of the reasons he said. One is a number and one is a five characters text. The fact that there is no CustomerCRMID on the Orders table is entirely irrelevant to the question.
upvoted 13 times
...
...
Wadyba
1 year, 7 months ago
Yeah, ThariCD is right; I was wrong.
upvoted 6 times
...
...
youssef_yt89
Highly Voted 1 year, 8 months ago
1/ NO : the relationship is between CustomerCRMID from Customer Details and CustomerID from Orders 2/ YES: the relationship is between CustomerCRMID from Customer Details and CustomerID(NCHAR) from Orders --> CustomerCRMID have to be text too. 3/ NO: from Customer Details
upvoted 23 times
...
Moin23
Most Recent 1 month, 3 weeks ago
How do you know CustomerCRMID in Customer Details Sheets is Text ? I meant, it seems a text value but is it because we are getting it from Excel so thats why Text ? Kindly confirm
upvoted 1 times
...
MoneyStacking
2 months, 3 weeks ago
Passed with 917/1000 Question and answers were exactly the same but different order with the options! Answer given: - No - Yes - No
upvoted 1 times
...
JudT
3 months, 1 week ago
According to the sample data I will go for: No No No
upvoted 2 times
...
Dani_eL
4 months, 1 week ago
1: NO : link should be on customer CRMID as it is the same datatype as 'orders'[customerID] 2. YES : both are string based 3. NO : Top customers = The one with most sales, worksheet alone does not provide the needed info
upvoted 1 times
...
AdrianBalescu
6 months, 3 weeks ago
Full access with commentaries is totally worth it!
upvoted 3 times
...
ltjc
10 months, 2 weeks ago
Where is the damn example data??
upvoted 1 times
...
Lavoisier
11 months, 2 weeks ago
1 NO - You can't join 02 tables using columns that are not the same type. In this scenario, if we assume that we are going to change the column type before joining them, we won't have any results. Because the values in those columns (The value of customer id in the table Customer is not the same as customer Id in the table Orders) are different. (in the customer table, we have 1,2,3,.. and in the the orders, we have VINET as exemple 2 NO - Even if we change the type of column to TEXT it won't work because the values in those columns (The value of customer id in the table Customer is not the same as customer Id in the table Orders) are different. (in the customer table, we have 1,2,3,.. and in the the orders, we have VINET as exemple 3 No - Region is not relevant to filter according to the requirement
upvoted 3 times
...
Luisfer
1 year, 2 months ago
I don't get the logic of many of you: First the questions asks , if there must be a relation in Customer ID column. The answer is yes, of course there must be a relation in that column as is the only comon table. Next question is if there must be changed to text data type. The answer is no, it doesn't have to be of a text data type, it can be also an integer data type. Is true that to create a relationship you need the same data type in both columns but doesn't have to be of a text data type. And third, the region doesn't have to come from the Order table to work correctly. Furthermore, it isn't even there, it comes from Customer details table. So Y/N/N I think are the answers. It can get tricky but I would say I followed the correct logic here.
upvoted 7 times
Luisfer
1 year, 2 months ago
Ok I just saw the example value of Cutomer ID in Orders table and seems to be the same as CustomerCRMID column from Customer details table, so is a No the first as the relation should be in those 2 columns. This also changes my answer to the second question, as now we know what data types are both so, it can only be a text data type. Final answer is N/Y/N , sorry for confusion
upvoted 5 times
...
billerk13
3 months ago
Totally agree. The first statement is about creating a relationship between Customer Details and Orders table, which of course is YES as they must be linked. The fact that before linking you need to change the data type is a different topic, almost irrelevant. Comments in discussion are super helpful, but sometimes I feel like it can lead to wrong answers based on people's interpretation of the question.
upvoted 1 times
...
...
UlyUkr
1 year, 2 months ago
NO (Relationship should be based on CustomerDetails.CustomerCRMID = Orders.CustomerID YES technically, if it's not so already in the CustomerDetails table NO Region field in this case is associated to customer and should come from CustomerDetails Table.
upvoted 2 times
...
cecbynyzqohlbmdbmb
1 year, 6 months ago
1) NO - CustomerID in Orders is text ("VINET") while CustomerID in Customer Details is number ("1"). 2) YES - Relationship between Orders and Customer Details will be via column CustomerCRMID in Customer Details and CustomerID in Orders, which are both text. 3) NO - the Orders table only contains shipping address, which is different from the billing address which should be used for sales region. Thus, it should come from Customer Details table.
upvoted 7 times
...
AlexYang_
1 year, 7 months ago
1) Y 2) N 3) N Guys, please consider the 3 questions as connected process. For 1), we must build relationship for these two tables. CustomerID is the only common filed in both tables; 2) is to achieve 1), we will set the Data Type of CustomerID to Integer rather than Text. 3) The Region field also exists in Customer Details table, not only in Orders table.
upvoted 7 times
...
Jay_98_11
1 year, 8 months ago
No-yes-no
upvoted 4 times
...
fred92
1 year, 9 months ago
no - no - no 1. no, because Customer Details CustomerID is int and Order CustomerID is text - not the same content 2. no, because there is no common column where we could join on. Furthermore, it should be avoided to join via text columns, because integer fields in relations are faster 3. no, because sales region is nowhere defined as the ship-to country or the sold-to country. So it can't be said, that it MUST come from the Orders.
upvoted 8 times
quxxy
1 year, 5 months ago
Agree about no-no-no, but in 2nd both columns are already text columns, so it is not necessary to set to text...
upvoted 2 times
...
Hoeishetmogelijk
1 year, 7 months ago
I agree with no - no - no Only for the last one I would simply argue that Region is already in the Customer Details, so no need to get it from somewhere else.
upvoted 1 times
...
...
zerone72
1 year, 10 months ago
According to the example value in the CustomerID column of the ORDERS table, this table contains strings such as "VINET" which can't be converted to an integer. Therefore, in my opinion, the primary and foreign keys of the relationship must be TEXT and not INTEGER. As a consequence, I believe the second statement is TRUE
upvoted 3 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