How would you calculate customer lifetime value (CLV) in Tableau?
Aggregate total sales for each customer across all orders.
Example:{ FIXED [Customer ID] : SUM([Sales]) }-
How would you identify the fastest growing region?
Compare current period sales growth across regions.
Example:(SUM([Sales]) - LOOKUP(SUM([Sales]),-1))
/ LOOKUP(SUM([Sales]),-1) -
How would you display top-selling product per category?
Use RANK within each category.
Example:RANK(SUM([Sales])) = 1Compute using Product within Category.
-
How would you create a rolling 12-month sales calculation?
Use WINDOW_SUM over last 12 months.
Example:WINDOW_SUM(SUM([Sales]),-11,0) -
How would you identify inactive products?
Check products with no recent sales.
Example:DATEDIFF('day',MAX([Order Date]),TODAY()) > 180 -
How would you calculate average profit per order?
Divide total profit by distinct order count.
Example:SUM([Profit]) / COUNTD([Order ID]) -
How would you create a dynamic KPI color indicator?
Use conditional calculation for color coding.
Example:IF SUM([Sales]) > [Target]
THEN "Green"
ELSE "Red"
END -
How would you compare weekday vs weekend sales?
Create calculated field using DATEPART.
Example:IF DATEPART('weekday',[Order Date]) IN (1,7)
THEN "Weekend"
ELSE "Weekday"
END -
How would you show monthly sales variance?
Compare current month sales with previous month.
Example:SUM([Sales]) - LOOKUP(SUM([Sales]),-1) -
How would you identify high-value customers dynamically?
Use parameter-driven sales threshold.
Example:
IF SUM([Sales]) > [Sales Threshold]
THEN "High Value"
ELSE "Normal"
END
Top Tableau Scenario-Based Interview Questions Set - 9 (1- 10)
ReplyDelete