exam questions

Exam 70-779 All Questions

View all questions & answers for the 70-779 exam

Exam 70-779 topic 1 question 19 discussion

Actual exam question from Microsoft's 70-779
Question #: 19
Topic #: 1
[All 70-779 Questions]

Note: This question is part of a series of questions that use the same scenario. For your convenience, the scenario is repeated in each question. Each question presents a different goal and answer choices, but the text of the scenario is the same in each question in this series.
Start of repeated scenario.
You are creating reports for a car repair company. You have four datasets in Excel spreadsheets. Four workbook queries load the datasets to a data model. A sample of the data is shown in the Data Sample exhibit. (Click the Exhibit button.)
Data Sample exhibit:




The data model is shown in the Data Model exhibit. (Click the Exhibit button.)

The tables in the model contain the following data:
✑ DailyRepairs has a log of hours and revenue for each day, workshop, and repair type. Every day, a log entry is created for each workshop, even if no hours or revenue are recorded for that day. Total Hours and Total Revenue column.
✑ Workshops have a list of all the workshops and the current and previous workshop managers. The format of the Workshop Manager column is always
Firstname Lastname. A value of 1 in the IsLatest column indicates that the workshop manager listed in the record is the current workshop manager.
✑ RepairTypes has a list of all the repair types
✑ Dates has a list of dates from 2015 to 2018
End of repeated scenario.
When you attempt to create a relationship between DailyRepairs and Workshops, Power Pivot generates the following error message: "The relationship cannot be created because each column contains duplicate values. Select at least one column that contains only unique values".
You need to ensure that you can create a valid relationship between the tables.
What should you do?

  • A. In the Power Pivot model, change the data type for Workshop[ID] to General
  • B. In the workbook query for Workshops, add an index column
  • C. In the Power Pivot model, change the Table Behavior setting for Workshops
  • D. In the workbook query for Workshops, filter [IsLatest] to equal 1
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
References:
https://msdn.microsoft.com/en-us/library/hh560544(v=sql.110).aspx

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
tho
Highly Voted 5 years, 5 months ago
The answer should be D.
upvoted 29 times
...
Ello
Highly Voted 5 years, 3 months ago
Correct Answer should be D because there are multiple rows for shop 6 and a value of 1 in the IsLatest column indicates that the workshop manager listed in the record is the current workshop manager. So only the current managers must be used
upvoted 5 times
...
mohacoldsnake
Most Recent 4 years, 5 months ago
I did the test with answer C and it's working. By changing the behavior of workshop_id to be considered as a unique row. the relationship then will be accepted. But also Yes D should be work too so i'm confused.
upvoted 2 times
...
NasheM
4 years, 10 months ago
My concern with D is you would lose some information. Let's say you want to check workshop performance for the year and the manager only started this week
upvoted 2 times
Tancredii
4 years, 4 months ago
Agreed, but I believe this is the only solution that will work. A - Change data type - Not the problem with the relationship creation B - Add Index : Can't create a relationship with the new Index column C - Change Table Behavior - Row Identifier does not contain unique values D - Filter out managers that aren't current - works but shows incomplete data B would be the best answer, but would require additional steps including merging the index into the fct table via a combination of WorkshopID & Date, so the correct manager got assigned at the right time.
upvoted 1 times
...
...
Outsider
4 years, 10 months ago
I did a test. The answer is D. In the workbook query for Workshops, filter [IsLatest] to equal 1 Option C it is not possible because setting row identifier generated this error message "The column you selected to be the Row Identifier does not contain unique values. Select a column that contains unique values for each row"
upvoted 4 times
Stanjaak
4 years, 9 months ago
Thanks for doing the test
upvoted 1 times
...
...
luisdm666
5 years ago
C. https://docs.microsoft.com/en-us/previous-versions/sql/sql-server-2012/hh560544(v=sql.110)?redirectedfrom=MSDN Row Identifier Set this property to the one column that contains the key value that is unique and not null for each row. Not every table has a table identifier.
upvoted 2 times
...
Dev28
5 years ago
Should be D.
upvoted 2 times
...
Rymen
5 years, 1 month ago
May I know why B is incorrect? I add in an index column and change the workshop ID to my new index column in Workshops table, connect the relationship between workshop ID in Daily Repairs to new index column in Workshops table
upvoted 3 times
amar111
5 years ago
index column will generate auto incrementing number for each row . And that auto incrementing number is not workshop id number . Workshop id is the one provided in data . you may be able to create a relationship with auto incrementing column , but that would not make any sense in data analysis
upvoted 4 times
...
...
Vermonster
5 years, 2 months ago
Agreed - D - need to resolve many-to-many relationship and using IsLatest makes the Workshop ID in that table unique
upvoted 2 times
...
nose
5 years, 3 months ago
I'll go with D.... Table Behavior Settings is part of the Reporting Properties in the Advanced Tab of Power Pivot, it works for Power View Reports..... I made a test and after setting Table Behavior I still got the same error.... the only real option is D in this case.
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