Option B uses ALL to remove filters on ProductCategory, so it sums sales for all categories regardless of current filters.
Option B respects current filters, so it does not ignore ProductCategory filters.
Option B filters only Electronics category, not all categories.
Option B keeps current filter context, so it does not ignore filters.
Line charts are best for showing trends over time because they connect data points in order.
Stacked bar charts are better for comparing parts of a whole.
Pie charts show proportions at one point in time, not trends.
Scatter plots show relationships between two variables, not trends over time.
In a star schema, each dimension record relates to many fact records, so the relationship is One-to-Many from dimension to fact.
Many-to-Many is more complex and not typical in star schemas.
One-to-One is rare and not typical for fact-dimension relationships.
Many-to-One is the reverse direction and less common to define.
Using a disconnected date table with a measure that returns zero for missing dates ensures the line chart shows a continuous timeline without gaps.
Filtering out missing dates breaks the timeline.
Replacing missing values with blanks causes gaps in line charts.
Pie charts do not show trends over time.
Sales Growth = DIVIDE(SUM(Sales[SalesAmount]) - CALCULATE(SUM(Sales[SalesAmount]), PREVIOUSYEAR(Calendar[Date])), CALCULATE(SUM(Sales[SalesAmount]), PREVIOUSYEAR(Calendar[Date])))Sales Growth = DIVIDE(SUM(Sales[SalesAmount]) - CALCULATE(SUM(Sales[SalesAmount]), PREVIOUSYEAR(Calendar[Date])), CALCULATE(SUM(Sales[SalesAmount]), PREVIOUSYEAR(Calendar[Date])))
PREVIOUSYEAR requires a continuous date column in the Calendar table. If the Calendar table is missing dates or is not marked as a date table, it causes a runtime error.
There is no syntax error in the measure.
DIVIDE without alternate result returns blank on divide by zero but does not cause error.
SUM is valid here because SalesAmount is a column; SUMX is not required.