How would you identify top profit-making customers?
Rank customers based on Profit measure.
Example:RANK(SUM([Profit])) <= 10-
How would you calculate average order quantity?
Divide total quantity by distinct orders.
Example:SUM([Quantity]) / COUNTD([Order ID]) -
How would you show only last 30 days sales?
Filter records using DATEDIFF.
Example:DATEDIFF('day',[Order Date],TODAY()) <= 30 -
How would you identify products with highest growth?
Compare current sales with previous period sales.
Example:(SUM([Sales]) - LOOKUP(SUM([Sales]),-1))/ LOOKUP(SUM([Sales]),-1) -
How would you create customer segmentation in Tableau?
Group customers based on sales value.
Example:IF SUM([Sales]) > 100000 THEN "Premium"ELSEIF SUM([Sales]) > 50000 THEN "Gold"ELSE "Standard"END -
How would you identify orders shipped on the same day?
Compare Order Date and Ship Date.
Example:DATEDIFF('day',[Order Date],[Ship Date]) = 0 -
How would you calculate sales per region percentage?
Divide regional sales by total sales.
Example:SUM([Sales]) / TOTAL(SUM([Sales])) -
How would you create a dynamic measure selector?
Use parameter with CASE statement.
Example:CASE [Measure Selector]WHEN "Sales" THEN SUM([Sales])WHEN "Profit" THEN SUM([Profit])WHEN "Quantity" THEN SUM([Quantity])END -
How would you identify the best month for sales?
Rank monthly sales values.
Example:RANK(SUM([Sales])) = 1 -
How would you calculate order processing time?
Use DATEDIFF between order and shipment dates.
Example:
DATEDIFF('day',[Order Date],[Ship Date])
-
How would you display customers contributing negative profit?
Filter customers with loss.
Example:
SUM([Profit]) < 0
-
How would you compare sales against target percentage?
Divide actual sales by target sales.
Example:
SUM([Sales]) / SUM([Target])
-
How would you calculate distinct customer count by region?
Use COUNTD function.
Example:
COUNTD([Customer ID])
-
How would you create a flag for high-priority orders?
Use conditional logic on Priority field.
Example:
IF [Priority] = "High" THEN "Important"
ELSE "Normal"
END
-
How would you display monthly average profit trend?
Use AVG aggregation with Month dimension.
Example:
AVG([Profit])
Top Tableau Scenario-Based Interview Questions Set - 10 (1- 15)
ReplyDelete