exam questions

Exam DA-100 All Questions

View all questions & answers for the DA-100 exam

Exam DA-100 topic 8 question 3 discussion

Actual exam question from Microsoft's DA-100
Question #: 3
Topic #: 8
[All DA-100 Questions]

You need to create relationships to meet the reporting requirements of the customer service department.
What should you create?

  • A. an additional date table named ShipDate, a one-to-many relationship from Date[date_id] to Sales[Sales_date_id], and a one-to-many relationship from ShipDate[date_id] to Sales[sales_ship_date_id]
  • B. an additional date table named ShipDate, a many-to-many relationship from Sales[sales_date_id] to Date[date_id], and a many-to-many relationship from Sales[sales_ship_date_id] to ShipDate[date_id]
  • C. a one-to-many relationship from Date[date_id] to Sales[sales_date_id] and another one-to-many relationship from Date[date_id] to Weekly_Returns[week_id]
  • D. a one-to-many relationship from Sales[sales_date_id] to Date[date_id] and a one-to-many relationship from Sales[sales_ship_date_id] to Date[date_id]
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
stokazz
Highly Voted 4 years, 1 month ago
they fixed the answer few days ago, now is A!
upvoted 61 times
DarioReymago
3 years, 7 months ago
Is correcto, the answer is A
upvoted 3 times
...
...
Cherishworth
Highly Voted 4 years ago
In my opinion, USERELATIONSHIP() can be used here for the inactive relationship between Sales_ship_date_id and Date_id. No need to create a new table. https://docs.microsoft.com/en-us/dax/userelationship-function-dax If I'm wrong, please correct me.
upvoted 22 times
kam5
3 years, 10 months ago
I agree. Problem is that D could only be correct if it also specified making a DAX measure using userelationship() and specifying date_id to sales_date_id as 1:* (not vice versa). Would be much better ito performance, but no such requirement is specified.
upvoted 3 times
...
Moshekwa
4 years ago
I share the same notion.. You only need to have on active relationship anyway. You can use the said function.
upvoted 1 times
...
manlynn
4 years ago
There are two ways to relate additional relationship in the same table: Use USERELATIONSHIP or create an additional date table.
upvoted 3 times
...
bshirer
2 years, 8 months ago
I agree that the answer should be C. You can have 2 relationships set up for the sales and date tables, only one can be active, and you can turn the appropriate relationship on at will using DAX. No need to clutter the model with extra tables and columns.
upvoted 1 times
...
...
Mad0701
Most Recent 2 years, 11 months ago
Selected Answer: A
A is correct
upvoted 1 times
...
TechDiva
3 years, 1 month ago
I got it on my exam 03/17/2022. 90-95% questions were from here. 61 questions in 100 min. All 3 case studies that appeared in exam, where from here.
upvoted 1 times
TechDiva
3 years, 1 month ago
Answered: A
upvoted 1 times
...
...
NhiN
3 years, 1 month ago
Selected Answer: A
A is correct answer. there are 2 ways to solve the problem: Role-playing dimension, and UseRelationship method. Check this link for explanation https://radacad.com/userelationship-or-role-playing-dimension-dealing-with-inactive-relationships-in-power-bi
upvoted 1 times
...
Hazemnz
3 years, 2 months ago
Selected Answer: A
Answer is A Sales table to filtered by newly created Shipdate table and existed Date table
upvoted 1 times
...
PatrickStr
3 years, 4 months ago
on exam 12/10/2021
upvoted 1 times
...
aguilartu1
3 years, 5 months ago
on exam - Nov 11, 2021. my answer: an additional date table named ShipDate, a one-to-many relationship from Date[date_id] to Sales[Sales_date_id], and a one-to-many relationship from ShipDate[date_id] to Sales[sales_ship_date_id]
upvoted 1 times
...
kcwood94
3 years, 6 months ago
On exam 10/14/21
upvoted 1 times
...
Dizzystar
3 years, 7 months ago
A and B are not possible: ShipDate[date_id] doesn't excist... And you can't connect week and date_id in C. So D is left.
upvoted 2 times
ingie
3 years, 5 months ago
Read, you create ShipDate yourself
upvoted 2 times
...
...
ezinap
3 years, 7 months ago
the question is what to CREATE. The answer is D. a one-to-many relationship from Sales[sales_date_id] to Date[date_id] and a one-to-many relationship from Sales[sales_ship_date_id] to Date[date_id] . Note: 1-to-many is the type of the relationship, not the direction.
upvoted 1 times
...
hobob33
3 years, 8 months ago
Think its A. Theres two topics here: 1. Role playing dimensions. Have 2 date tables that can be filtered indep. 2. Use relationship
upvoted 1 times
...
Databankforfree
3 years, 10 months ago
Answer: E Explanation: Scenario: The customer service department requires a visual that can be filtered by both sales month and ship month independently. Reference: https://docs.microsoft.com/en-us/power-bi/transform-model/desktop-relationships-understand
upvoted 1 times
...
A is the correct answer , one to many relationship
upvoted 5 times
...
catalene
4 years, 2 months ago
For my A. an additional date table named ShipDate, a one-to-many relationship from Date[sales_date_id] to Sales[date_id], and a one-to-many relationship from ShipDate[sales_ship_date_id] to Sales[date_id] is the best option in fact is the best practice for these cases
upvoted 1 times
...
Famerin
4 years, 2 months ago
Honestly, I think none of the answers are correct: 1) Creating a new date table is a bad solution as you bloat up the data model. That rules out A and B. 2) Working with a second (inactive) relation between the sales and date table is the way to go, however both C and D don't work out either since D mixes up the direction of the relationships, and C wants to connect date_id and week_id, which won't work. This question appears a few pages earlier, too, and there are different answering options. The right is included in that version. Any thoughts? I'm happy to be convinced otherwise.
upvoted 6 times
tzaganczyk
4 years ago
Date tables itself aren't big, eventually relationships may take more space when on many side of one-to-many relationship you have millions of rows. There is nothing about not increasing the size of the model, so still A is valid in this case.
upvoted 5 times
user12345678
2 years, 8 months ago
Out of the options given, A is the only one that would work, but if they just phrased it a bit differently, D would be correct and in a real world solution, that is what you'd use. You'd have 2 relationships from the sales table to the Date table (one would be inactive). To use the inactive one, you'd use the USERELATIONSHIP function in your DAX. The only reason it's not correct is because the way they wrote the many-to-one part is the wrong way around.
upvoted 1 times
...
...
...
167
4 years, 2 months ago
A is the correct answers. Since, role-playing dimension is one of the solution to solve active and inactive problem. In addition, relationship is also correct in choice A.
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