exam questions

Exam DP-600 All Questions

View all questions & answers for the DP-600 exam

Exam DP-600 topic 1 question 139 discussion

Actual exam question from Microsoft's DP-600
Question #: 139
Topic #: 1
[All DP-600 Questions]

DRAG DROP
-

You have a Fabric workspace that contains a Dataflow Gen2 query. The query returns the following data.



You need to filter the results to ensure that only the latest version of each customer’s record is retained. The solution must ensure that no new columns are loaded to the semantic model.

Which four actions should you perform in sequence in Power Query Editor? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

Show Suggested Answer Hide Answer
Suggested Answer:

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
wgaignard2
Highly Voted 3 months, 2 weeks ago
Step 1: Group by CustomerID and calculate the max version date per customer ID This step groups the data by CustomerID and determines the maximum VersionDate for each customer. This identifies the latest record for each customer. Step 2: Expand the All Rows detail column This step expands the detail column, making all the data within each group accessible. This is necessary to access the other columns associated with the maximum VersionDate. Step 3: Filter the query where the version date value equals the max version date value This step filters the data, keeping only the rows where the VersionDate matches the maximum VersionDate calculated in Step 1. This ensures that only the latest record for each customer is retained. Step 4: Remove duplicates based on CustomerID This step removes any remaining duplicate rows based on CustomerID. Since we've already filtered for the latest record, this step ensures only one record per customer remains.
upvoted 6 times
Stef6108
1 month, 2 weeks ago
Step 4 is: Remove max Version date column. Because in the question is stated: "The solution must ensure that no new columns are loaded to the semantic model."
upvoted 1 times
...
...
b8ef1c5
Most Recent 3 weeks, 6 days ago
1. Group by CustID, use All Rows, and calc max version date per cust id Note that if you Group By CustID and calc max date, you will lose the Customer Name column. 2. Expand All Rows detail column Note that this will re-create the table as it was before, but with an additional column for max date. 3. Filter where version date eq max version date This will effectively remove any duplicate CustID, keeping only the most recent. (If there were two at the same time, it will keep both, but let's not worry about that here.) 4. Remove max vers date Returning the table to the original columns.
upvoted 3 times
...
zxc01
1 month ago
Step 1: Group by CustomerID, use "All Rows" operation, and calculate the max version date per customer ID. In Group by advance setting, you can build a new column, such as "Customer" which choose option "All rows". Step 2: Expand the All Rows details column. you just choose which columns do you need to add in table Step 3: Filter the query where the version date value equals the max version date value: in same table, you can filter 2 columns and only keep max value rows. Step 4: Remove the max version date column
upvoted 2 times
...
zxc01
1 month, 2 weeks ago
I cannot understand this question. after step "Group by CustomerID and calculate the max version date per customer ID", we just can get 2 columns, CustomerID and Max version date. How can we expand the all rows detail column? Normally I tend to choose these steps: Step 1: duplicate or reference source customer table Step 2: Group by CustomerID and calculate the max version date per customer ID in duplicated table Step 3: merge customer table and new grouped table with inner join Step 4: drop extended column which come from grouped table in this table.
upvoted 1 times
...
MYPE
4 months, 1 week ago
Revised Answer suggested by Mistrai AI : (contains only 3 parts, not 4) >Group by CustomerID and calculate the max version date per customer ID: This step will help identify the latest version date for each customer. >Filter the query where the version date value equals the max version date value: This step will filter the records to keep only those with the latest version date. >Remove duplicates based on CustomerID: This step will ensure that only one record per customer is retained, which should be the latest version.
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 ...