Note: This question is part of a series of questions that use the same scenario. For your convenience, the scenario is repeated in each question. Each question presents a different goal and answer choices, but the text of the scenario is exactly the same in each question in this series.
Start of repeated scenario.
You have a Microsoft SQL Server database that has the tables shown in the Database Diagram exhibit.
(Click the Exhibit button.)
You plan to develop a Power BI model as shown in the Power BI Model exhibit.
(Click the Exhibit button.)
You plan to use Power BI to import data from 2013 to 2015.
Product Subcategory[Subcategory] contains NULL values.
End of Repeated Scenario.
You implement the Power BI model.
You plan to add a table named Date to the model. The table will have columns for the date, year, month, and end of the last month, and will include data from January 1, 2013 to December 31, 2015.
The Date table and the Sales table will have a relationship.
Which DAX functions should you use to create the columns?
A. CALENDARAUTO, YEAR, MONTH, and EOMONTH
B. CALENDAR, YEAR, MONTH, and ENDOFMONTH
C. CALENDARAUTO, YEAR, MONTH, and ENDOFMONTH
D. CALENDAR, YEAR, MONTH, and EOMONTH
References:
https://msdn.microsoft.com/en-us/query-bi/dax/calendar-function-dax
https://msdn.microsoft.com/en-us/query-bi/dax/year-function-dax
https://msdn.microsoft.com/en-us/query-bi/dax/month-function-dax
https://msdn.microsoft.com/en-us/query-bi/dax/eomonth-function-dax