exam questions

Exam PL-300 All Questions

View all questions & answers for the PL-300 exam

Exam PL-300 topic 9 question 4 discussion

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

You need to design the data model to meet the report requirements.
What should you do in Power BI Desktop?

  • A. From Power Query, add a date table. Create an active relationship to the OrderDate column in the Orders table and an inactive relationship to the ShippedDate column in the Orders table.
  • B. From Power Query, add columns to the Orders table to calculate the calendar quarter and the calendar month of the OrderDate column.
  • C. From Power BI Desktop, use the Auto date/time option when creating the reports.
  • D. From Power Query, use a DAX expression to add columns to the Orders table to calculate the calendar quarter of the OrderDate column, the calendar month of the OrderDate column, the calendar quarter of the ShippedDate column, and the calendar month of the ShippedDate column.
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
fdsdfgxcvbdsfhshfg
Highly Voted 2 years, 2 months ago
Selected Answer: A
Auto date/time does not meet the criteria: The data model must minimize the size of the dataset as much as possible, while meeting the report requirements and the technical requirements. The correct answer is A
upvoted 50 times
MayaYao
2 years ago
A is not correct. 2 tables can only have a pair of relationship. Option A cannot fulfill the requirements of display by either order quarter (month) or shipdate quarter (month).
upvoted 3 times
fdsdfgxcvbdsfhshfg
1 year, 8 months ago
nope, just use USERELATIONSHIP
upvoted 11 times
...
...
badrionlion
1 year, 9 months ago
A is not right, because there's no sufficient information regarding the date table, whether it will have "quarter" details.
upvoted 1 times
...
...
Fer079
Highly Voted 2 years, 2 months ago
Selected Answer: C
I think that the C option is the correct one. the option A creates an active relationship between Sales.orderDate and Date and a inactive relationship between sales.shippedDate and Date. However we will have visuals where we will have to filter either shippedDate or orderDate, so we will no be able to filter by shipedDate because of the relationship is inactive (we could create measures using the USERELATIONSHIP() function but this is not the case due to we have to use the filters directly from the visuals)
upvoted 15 times
YokoSumiGaeshi
2 years ago
I think A is right, because we do have visuals that need a filter on either order or shipping date, but no visual requires a filter on both at the same time.
upvoted 7 times
Hoeishetmogelijk
2 years ago
I agree with your argumentation.
upvoted 2 times
...
sa56
1 year, 7 months ago
To show "on time shipping" we need to have both order data and shipped date as active column
upvoted 1 times
AbuAbdillah
11 months, 1 week ago
This is not right, on-time shipping requires ship date and required date NOT order date. USERELATIONSHIP() can still be used for the inactive relationships as mentioned by @Fer079
upvoted 1 times
...
...
...
...
desibaby09
Most Recent 2 days, 18 hours ago
Selected Answer: A
If you are "designing the model" then we should focus on ship date and order date and utilizing userrelationship()
upvoted 1 times
...
HenryBiz
6 months ago
I know "A" could do the job, but does anyone think "D" can also do the work? If so, it creates fewer columns and rows than adds a complete date table.
upvoted 1 times
...
KRISTINMERIEANN
7 months, 4 weeks ago
Selected Answer: C
https://docs.microsoft.com/en-us/power-bi/transform-model/desktop-auto-date-time
upvoted 1 times
...
Dani_eL
9 months ago
this is weird because in the learning path they explicit state not to use auto date/time as it is bad practice and use date table only. But in this scope... one date table is not enough and it's not mentioned to duplicate the date table. So to fulfill the requirements, the only stable solution I see is D, I do agree It doesn't minimize the size but it doesn't make it that much bigger either... D. From Power Query, use a DAX expression to add columns to the Orders table to calculate the calendar quarter of the OrderDate column, the calendar month of the OrderDate column, the calendar quarter of the ShippedDate column, and the calendar month of the ShippedDate column.
upvoted 2 times
...
Florinuca
9 months, 3 weeks ago
The correct answer is A. Any Model should have a Data Table to make it easier for us later to create DAX measures for analysis, hierarchies and so on.
upvoted 1 times
...
ApacheKafka
1 year, 4 months ago
❌A ✔ C/D Things to take take notice of. Power Query is not the best place to create Date table and relationships.
upvoted 2 times
Florinuca
9 months, 2 weeks ago
This is not true. Also in the documentation it is specified that we can create a new date table in Power Query using M code (and for that, we have many examples and very useful functions that are used) or in Power BI using DAX (CALENDAR() CALENDARAUTO() functions). By creating more columns, we'll increase the size of the model.
upvoted 1 times
...
...
MEG_Florida
1 year, 4 months ago
Selected Answer: A
A: for me Also, I notice people mention that since its 2GB it cannot be imported into Power BI. That isn't true. 1) it depends on its finalized compression sizes, not the size of the DB etc and 2) also depends on if they have premium or not
upvoted 2 times
...
Shalaleh
1 year, 7 months ago
Selected Answer: A
we need a calendar table for current year and last 3 years! Auto data/time increase the size of data model.
upvoted 6 times
...
sa56
1 year, 7 months ago
In the previous question , where we need to use both order date and shipped date to calculate the late orders,In that case we need both columns as active. So I think its C. If it was an independent question then definitely answer would be C
upvoted 1 times
...
charles879987
1 year, 11 months ago
Answer A does not have correct active/inactive relationship. Order Shipped date should be active. So that leaves C as correct option
upvoted 2 times
...
Hoeishetmogelijk
2 years ago
Selected Answer: A
I think the answer is A. The inactive relationship on shipping date can be used in a measure with USERELATIONSHIP() function, because nowhere is being filtered on both order date and shipping date at the same time.
upvoted 13 times
...
Wadyba
2 years ago
A is the answer
upvoted 1 times
...
Orkhannnn
2 years, 1 month ago
Selected Answer: C
C is correct.
upvoted 3 times
...
zerone72
2 years, 2 months ago
--> 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.". Therefore you don't need a Dates Table at all. All you need is month and quarter from the sales-date which you will get if you enable auto-dateTime. --> Top Products report "will show the top 20 products based on the highest sales amounts sold in a selected order month or quarter, sales region, and product category". You don't need a Dates table for this report. With auto-DateTime you can get the month and quarter from the sales-date. --> On-Time Shipping report "will show the following metrics for a selected shipping month or quarter:". Therefore, you don't need a dates table for this report. You only need the shipping month and quarter from the shipping-date which are gonne be automatically created once you will have enabled auto-dateTime
upvoted 8 times
[Removed]
1 year, 9 months ago
The auto Date/Time only works in Import mode and the dataset is 2GB so it can't be imported.
upvoted 9 times
[Removed]
1 year, 3 months ago
The whole database is 2GB. You will not be imported all the information. You keep historical data from 3 years prior and create to 20 reports.
upvoted 2 times
...
...
sidyndiaye
2 years, 2 months ago
Agree with you
upvoted 2 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