Complete the code to set the size encoding for the marks based on sales.
SIZE() = [1]Size encoding in Tableau is often set by summing a measure like Sales to show relative magnitude.
Complete the code to encode size by average profit per category.
SIZE() = [1]Average profit per category is best represented by AVG([Profit]) for size encoding.
Fix the error in the size encoding calculation to correctly represent total quantity.
SIZE() = [1]To represent total quantity for size encoding, SUM([Quantity]) is correct.
Fill both blanks to create a size encoding that shows total sales but only for orders with profit greater than 100.
SIZE() = SUM(IF [1] THEN [2] ELSE 0 END)
The condition filters profits greater than 100, and sales are summed for size encoding.
Fill all three blanks to create a calculated field for size encoding that sums sales only for orders where quantity is greater than 5 and profit is positive.
SIZE() = SUM(IF [1] AND [2] THEN [3] ELSE 0 END)
The calculation sums sales only when quantity is greater than 5 and profit is positive, suitable for size encoding.