Adding an index key and normalizing casing to resolve DirectQuery undefined values
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have a data source that contains a column. The column contains case sensitive data. You have a Power BI semantic model in DirectQuery mode. You connect to the model and discover that it contains undefined values and errors. You need to resolve the issue. Solution: You add an index key and normalize casing in the data source. Does this meet the goal?
Community Votes
55% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
Adding an index key plus normalizing casing in the data source is the second documented remedy for undefined values caused by case-sensitive DirectQuery sources — the index key preserves row identity for values that look identical once casing is flattened.
For a case-sensitive column feeding a case-insensitive DirectQuery model that shows undefined values and errors, the proposed solution adds an index key and normalizes casing in the data source.
Reasoning that an index key alone does not fix case collisions — true by itself, but the solution pairs it with casing normalization in the data source, which is precisely the combination the official note recommends.
Community Discussion (15 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
Microsoft's data types documentation describes the same case-insensitivity issue as the scenario: DirectQuery over a case-sensitive source can produce undefined values and errors, and one recommended fix is to add an index key and normalize the casing in the data source. The index key guarantees each row stays uniquely identifiable even after casing is normalized, so values that look identical to the case-insensitive engine no longer collapse into undefined results. The solution therefore meets the goal.Why the Other Options Are Wrong
The opposing answer (No) treats the index key as a red herring, but the documented remedy explicitly includes both parts together; neither part alone is claimed to be sufficient, and the question proposes exactly the documented pair. There is no requirement in the scenario that the fix stay confined to Power Query — the solution is allowed to change the data source, and doing so does not violate any stated constraint.Community Comment Notes
Multiple commenters support Yes, one quoting the Microsoft documentation line about the case-insensitive engine requiring special care in DirectQuery over case-sensitive sources. The dissenting comments assert that case normalization cannot fix undefined errors, which overlooks that the official note pairs it with the index key for exactly this purpose.Official Reference
Exam Strategy
In DirectQuery scenario questions, scan for the paired fix: an index key plus casing normalization for case-sensitive source data. If a proposed solution includes both, treat it as the documented remedy for undefined values and errors and answer Yes; if it offers only one part or a Power Query-only change, suspect a trap. Use the Microsoft data types note as your decision rule, not whether the fix stays inside Power Query.
Frequently Asked Questions
Why do an index key and casing normalization fix undefined values in DirectQuery?
The index key keeps each row uniquely identifiable after casing is normalized, so the case-insensitive DirectQuery engine no longer collapses case-sensitive values into undefined results or errors.
Can normalizing casing alone resolve the errors with case-sensitive data?
No. The documented remedy pairs casing normalization with an index key; neither part alone is sufficient for DirectQuery over a case-sensitive source.
Does the fix need to stay inside Power Query instead of changing the data source?
No, the scenario permits changing the data source. Adding the index key and normalizing casing there matches the official Microsoft guidance for this issue.
Related Analysis
Practice All PL-300 Questions
Access 116 questions with complete answers and detailed explanations.
View Full PL-300 Practice Test →