ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 69 - PL-300 discussion

Report
Export

You have a large dataset that contains more than 1 million rows. The table has a datetime column named Date. You need to reduce the size of the data model.

What should you do?

A.

Round the hour of the Date column to startOfHour.

Answers
A.

Round the hour of the Date column to startOfHour.

B.

Change the data type of the Date column to Text.

Answers
B.

Change the data type of the Date column to Text.

C.

Trim the Date column.

Answers
C.

Trim the Date column.

D.

Split the Date column into two columns, one that contains only the time and another that contains only the date.

Answers
D.

Split the Date column into two columns, one that contains only the time and another that contains only the date.

Suggested answer: D

Explanation:

We have to separate date & time tables. Also, we don’t need to put the time into the date table, because the time is repeated every day. Split your DateTime column into a separate date & time columns in fact table, so that you can join the date to the date table & the time to the time table. The time need to be converted to the nearest round minute or second so that every time in your data corresponds to a row in your time table.

Reference:

https://intellipaat.com/community/6461/how-to-include-time-in-date-hierarchy-in-power-bi

asked 05/10/2024
Alex Bu
45 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first