IF [Sales] > 500 THEN "High" ELSE "Low" ENDIF [Category] = "Furniture" AND [Sales] > 100 THEN "Eligible" ELSE "Not Eligible" ENDCONTAINS function do in Tableau?TRIM function is used to:UPPER function in Tableau is used to:DATEPART function do in Tableau?DATEADD function in Tableau is used to:DATEDIFF function calculate in Tableau?| Qno | Answer |
|---|---|
| 1 | a) To transform and summarize data |
| 2 | a) The Calculation Editor |
| 3 | b) Both numeric and string data |
| 4 | b) Calculated fields are created based on the data, while parameters allow user input |
| 5 | a) Sales + Profit |
| 6 | c) To calculate the total of a numeric field |
| 7 | a) AVG |
| 8 | c) Number of non-null records in a field |
| 9 | b) To calculate the distinct number of values in a field |
| 10 | b) MIN |
| 11 | a) Row-level calculations operate on a row-by-row basis, while aggregate calculations operate on entire datasets |
| 12 | b) Aggregate calculation |
| 13 | b) Null values are treated as zero |
| 14 | b) AVG([Sales]) |
| 15 | b) Sales per Customer |
| 16 | a) IF |
| 17 | c) CASE matches a value to different conditions, while IF evaluates boolean expressions |
| 18 | a) It categorizes sales into “High” and “Low” based on a threshold of 500 |
| 19 | b) AND |
| 20 | a) It classifies sales as “Eligible” or “Not Eligible” based on both category and sales conditions |
| 21 | c) MID |
| 22 | a) It checks if a string contains a specific substring |
| 23 | a) LEFT |
| 24 | a) Remove extra spaces at the start and end of a string |
| 25 | b) Convert all text to uppercase |
| 26 | a) Extracts a specific part of a date (such as year, month, or day) |
| 27 | a) DATEDIFF([Start Date], [End Date]) |
| 28 | a) Add a specific number of days to a date |
| 29 | a) MONTH |
| 30 | b) The difference between two date parts (e.g., months or years) |