You have a sales dataset with yearly sales. You want to calculate the difference in sales between 2023 and 2022 using a calculated field in Tableau.
Which formula correctly calculates the difference?
Think about filtering sales for each year explicitly before subtracting.
Option C explicitly sums sales for 2023 and subtracts sales for 2022, giving the correct difference.
Options B and C use table calculations that depend on data order and may not compare the correct years.
Option C subtracts 2021 sales, which is not the target year.
You want to show the percent difference in monthly sales compared to the previous month over one year.
Which visualization type best shows this percent difference clearly?
Think about how to show change over time clearly.
A line chart is best for showing trends and changes over time, making it ideal for percent difference month to month.
Pie charts do not show time progression well.
Bar charts show totals, not percent changes.
Scatter plots do not clearly show sequential time changes.
Which formula correctly calculates the percent difference between current sales and previous sales?
Percent difference shows how much current value changed compared to previous value.
Option A correctly calculates the percent change from previous to current.
Option A reverses the order and denominator, giving wrong sign and value.
Option A adds values, which is incorrect.
Option A calculates percent of previous, not difference.
Given this Tableau calculated field for percent difference:
(SUM([Sales]) - LOOKUP(SUM([Sales]), 1)) / LOOKUP(SUM([Sales]), 1) * 100
What error will this cause?
Look at the offset number in the LOOKUP function.
LOOKUP with offset 1 looks forward one row, so it compares current sales to next month sales, not previous.
This reverses the intended comparison.
There is no syntax error and division by zero depends on data but is not guaranteed.
You have monthly sales data for two years. You want a dashboard that shows:
- Absolute difference in sales month over month
- Percent difference in sales month over month
Which combination of Tableau features will best achieve this?
Think about how to calculate both metrics and display them clearly together.
Option A correctly uses calculated fields with LOOKUP to get previous month sales, calculates difference and percent difference, and shows both metrics in a dual-axis line chart for easy comparison.
Option A uses pie charts which are not good for time series.
Option A omits absolute difference, losing important info.
Option A shows only difference and uses scatter plot which is less intuitive for time series.