exam questions

Exam 70-779 All Questions

View all questions & answers for the 70-779 exam

Exam 70-779 topic 1 question 81 discussion

Actual exam question from Microsoft's 70-779
Question #: 81
Topic #: 1
[All 70-779 Questions]

HOTSPOT -
You have a date column named [Date] in the format of mm-dd-yyyy.
You need to create a column named Quarter that displays the yearly quarter. A sample of the desired data is shown in the following table.

How should you complete the DAX formula? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Reference:
https://www.decisivedata.net/blog/quickly-create-week-month-quarter-and-year-fields-from-a-date-using-dax

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
CABREU
Highly Voted 5 years, 5 months ago
smart solution
upvoted 13 times
hfgirona
4 years, 8 months ago
I'm testing every possibility of these 3: = ROUNDUP(MONTH([Date]) / 3;0) ->Return the quarter number = 1. It's oK. = ”Qtr “& ROUNDUP(MONTH([Date]) / 3;0) -> ERROR =CONCATENATE("Qtr ";ROUNDUP(MONTH([Date])/3;0)) -> Returns "Qtr 1"...->Perfect. SO doesn't works.??? =CONCATENATE("Qtr ";ROUNDUP(MONTH([Date])/3;0))
upvoted 1 times
hfgirona
4 years, 8 months ago
Sorry, = "Qtr" & ROUNDUP(MONTH([Date]) / 3;0) also works correct.
upvoted 1 times
...
...
...
MCyay
Most Recent 4 years, 10 months ago
Why 3 ?
upvoted 1 times
Sqlsv
4 years, 9 months ago
There are 3 month în a quarter. So, 12 (month for a year)/3 (month in a quarter)= 4 (quarters per year)
upvoted 4 times
...
...
Agustin
5 years, 1 month ago
Tested. It works perfect.
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...