ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 279 - PL-300 discussion

Report
Export

You have a CSV file that contains user complaints. The file contains a column named Logged. Logged contains the date and time each complaint occurred. The data in Logged is in the following format:

2018-12-31 at 08:59.

You need to be able to analyze the complaints by the logged date and use a built-in date hierarchy. What should you do?

A.

Apply a transformation to extract the last 11 characters of the Logged column and set the data type of the new column to Date.

Answers
A.

Apply a transformation to extract the last 11 characters of the Logged column and set the data type of the new column to Date.

B.

Change the data type of the Logged column to Date.

Answers
B.

Change the data type of the Logged column to Date.

C.

Split the Logged column by using at as the delimiter.

Answers
C.

Split the Logged column by using at as the delimiter.

D.

Apply a transformation to extract the first 11 characters of the Logged column.

Answers
D.

Apply a transformation to extract the first 11 characters of the Logged column.

Suggested answer: C

Explanation:

Simply create a custom table in Power Query, enter the date shown in the question into a column called Date, and then Split it by a delimiter. No need for spaces on either side of "at" Power BI takes care of the rest:

= Table.SplitColumn(#"Changed Type", "Date", Splitter.SplitTextByDelimiter("at", QuoteStyle.Csv),

{"Date.1", "Date.2"})

asked 05/10/2024
MARCIA SHEILA PELAEZ GONZALEZ
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first