Question 130
A Power BI team has selected this approach: Pivot selected question codes into respondent-level columns with controlled aggregation. The original business context is: A survey has several question rows per respondent and needs one row per respondent for profile attributes. Which acceptance test best demonstrates the intended outcome?
Explanation
Correct Answer
The output has the expected respondent grain and handles duplicate answers explicitly. It provides the required observation for the chosen implementation: Pivot selected question codes into respondent-level columns with controlled aggregation. This test addresses the stated business constraint directly.
Incorrect Answers
The result contains only vendor records not found in the register. That check would be meaningful for the separate case: A quality team wants records that have no match in a registered-vendor list. It would not directly verify this scenario's selected implementation: Pivot selected question codes into respondent-level columns with controlled aggregation.
The index is sequential in the chosen order and business-key uniqueness is unaffected. That check would be meaningful for the separate case: A table needs row numbers to help diagnose source ordering but the model's natural business keys must stay unchanged. It would not directly verify this scenario's selected implementation: Pivot selected question codes into respondent-level columns with controlled aggregation.
The resulting table contains both historic and new event rows rather than horizontally joined fields. That check would be meaningful for the separate case: A marketing analyst wants to keep all historic records while appending new daily records from a matching query. It would not directly verify this scenario's selected implementation: Pivot selected question codes into respondent-level columns with controlled aggregation.