Why is it important to analyze data over time when looking for trends in Tableau?
Think about how events can repeat or change over days, months, or years.
Analyzing data over time reveals patterns like growth, decline, or seasonal effects that are not visible in static snapshots.
Which Tableau calculated field formula correctly computes a 3-month moving average of sales?
Moving average smooths data by averaging over a sliding window of past periods.
WINDOW_AVG with offsets -2 to 0 averages the current and previous two months, giving a 3-month moving average.
Which type of Tableau visualization best reveals seasonal trends in monthly sales data?
Seasonal trends show how values change over regular time intervals.
Line charts display continuous data over time, making it easy to spot repeating seasonal patterns.
You notice a sudden spike in sales in one month that does not fit the usual pattern. What is the best approach in Tableau to investigate this anomaly?
Reference lines help compare specific points to overall averages.
Adding a reference line for average sales helps highlight how much the spike deviates from normal values, aiding investigation.
Given this Tableau calculated field to show year-to-date sales:IF DATEPART('month', [Order Date]) <= DATEPART('month', TODAY()) THEN SUM([Sales]) END
What is the main issue with this formula?
IF DATEPART('month', [Order Date]) <= DATEPART('month', TODAY()) THEN SUM([Sales]) END
Think about how aggregation and row-level conditions work in Tableau.
SUM([Sales]) is an aggregation and cannot be used inside a row-level IF condition. The IF should filter rows first, then aggregation applied.