70-467 · Question #57
You need to create the calculation for SalespersonName. What should you do? (Each Answer presents a complete solution. Choose all that apply.)
The correct answer is B. Modify the data warehouse's DimSalesperson table and add a new column. E. Create a view in the data warehouse that defines a derived column based on the. SalespersonName must be derived from source columns at the data warehouse layer. Adding a physical column to the DimSalesperson table or defining a view with a derived column are both complete, persistent solutions that expose the value to all downstream consumers.
Question
You need to create the calculation for SalespersonName. What should you do? (Each Answer presents a complete solution. Choose all that apply.)
Options
- ACreate a computed column in the data warehouse's DimSalesperson table.
- BModify the data warehouse's DimSalesperson table and add a new column.
- CConfigure the Sales Reporting model's Salesperson table properties to be based on a query.
- DAdd a calculated column to the Sales Reporting model's Salesperson table by using the Data
- ECreate a view in the data warehouse that defines a derived column based on the
- FAdd a calculated column to the Sales Reporting model's Salesperson table by using the Data
How the community answered
(21 responses)- A5% (1)
- B76% (16)
- C14% (3)
- D5% (1)
Why each option
SalespersonName must be derived from source columns at the data warehouse layer. Adding a physical column to the DimSalesperson table or defining a view with a derived column are both complete, persistent solutions that expose the value to all downstream consumers.
A SQL Server computed column is evaluated at query time and, unless marked PERSISTED, cannot be indexed efficiently; the scenario's correct approach requires a stored, ETL-populated column rather than a formula-driven computed column.
Adding a new physical column directly to the DimSalesperson table and populating it via ETL creates a persistent, stored SalespersonName value that is available to all reports and models without per-query computation.
Configuring the model's Salesperson table to be based on a custom query modifies the model binding layer rather than defining the derivation at the data warehouse source, which is the required level of change.
Adding a DAX calculated column to the SSAS tabular model defines SalespersonName only within the model layer and does not place the derivation in the data warehouse where it can be shared across all consumers.
Creating a data warehouse view with a derived column - such as concatenating FirstName and LastName - encapsulates the transformation at the source layer without altering the base table, and the tabular model can bind to that view as its data source.
A DAX calculated column in the model is a model-layer transformation that duplicates the logic per model rather than centralizing the derivation at the data warehouse source as required.
Concept tested: Deriving source columns at data warehouse vs. model layer
Source: https://learn.microsoft.com/en-us/analysis-services/tabular-models/calculated-columns-ssas-tabular
Topics
Community Discussion
No community discussion yet for this question.