Case Statement Generator
 Share
The version of the browser you are using is no longer supported. Please upgrade to a supported browser.Dismiss

View only
 
 
ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
CASE STATEMENT GENERATOR
2
3
Enter the field that the case statement will be based upon.
4
Enter the WHEN & THEN details in the gray area.
5
Delete all details below (do not delete rows).
6
Copy and paste green section into a Tableau calculation.
7
8
Case Statement Based On:
9
Food_Type
10
11
WHENTHENCASE [Food_Type]
12
TechnologyAccessories WHEN 'Technology' THEN 'Accessories'
13
Office SuppliesAppliances WHEN 'Office Supplies' THEN 'Appliances'
14
Office SuppliesArt WHEN 'Office Supplies' THEN 'Art'
15
Office SuppliesBinders WHEN 'Office Supplies' THEN 'Binders'
16
FurnitureBookcases WHEN 'Furniture' THEN 'Bookcases'
17
FurnitureChairs WHEN 'Furniture' THEN 'Chairs'
18
TechnologyCopiers WHEN 'Technology' THEN 'Copiers'
19
Office SuppliesEnvelopes WHEN 'Office Supplies' THEN 'Envelopes'
20
Office SuppliesFasteners WHEN 'Office Supplies' THEN 'Fasteners'
21
FurnitureFurnishings WHEN 'Furniture' THEN 'Furnishings'
22
Office SuppliesLabels WHEN 'Office Supplies' THEN 'Labels'
23
TechnologyMachines WHEN 'Technology' THEN 'Machines'
24
Office SuppliesPaper WHEN 'Office Supplies' THEN 'Paper'
25
TechnologyPhones WHEN 'Technology' THEN 'Phones'
26
Office SuppliesStorage WHEN 'Office Supplies' THEN 'Storage'
27
Office SuppliesSupplies WHEN 'Office Supplies' THEN 'Supplies'
28
FurnitureTables WHEN 'Furniture' THEN 'Tables'
29
END
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
Loading...