ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 92 - TDA-C01 discussion

Report
Export

HOTSPOT

You have a table that contains four columns named Order Date, Country, Sales, and Profit.

You need to add a column that shows the day of the week for each row. For example, orders placed on August 31, 2022, will show a day of

Wednesday.

How should you complete the formula? (Use the dropdowns in the Answer Area to select the correct options to complete the formula.)


Question 92
Correct answer: Question 92

Explanation:

Tableau Help: DATENAME Function

Tableau Help: Date Functions

To add a column that shows the day of the week for each row, you should complete the formula as follows:

DATENAME

(

'weekday'

, [Order Date])

The DATENAME function in Tableau returns the name of a specified part of a date or datetime value, such as the year, month, or day. It takes two arguments: the date part and the date. In this question, you want to return the name of the weekday, such as Monday, Tuesday, or Wednesday, for each order date. Therefore, you need to use 'weekday' as the date part and [Order Date] as the date. The formula will return a string value that represents the name of the weekday for each order date.

Tableau Help: DATENAME Function

Tableau Help: Date Functions

asked 23/09/2024
Ali Diaz
31 questions
User
0 comments
Sorted by

Leave a comment first