exam questions

Exam PL-300 All Questions

View all questions & answers for the PL-300 exam

Exam PL-300 topic 2 question 74 discussion

Actual exam question from Microsoft's PL-300
Question #: 74
Topic #: 2
[All PL-300 Questions]

HOTSPOT
-

You have a Power BI model that contains the following data.



The Date table relates to the Sales table by using the Date columns.

You need to create a calculated table that will contain the following:

• A row for each year
• A column that contains the total sales per year

How should you complete the DAX calculation? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer:

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
pverde
Highly Voted 1 year, 7 months ago
Agreed with SUMMARIZE - Date[Year]
upvoted 29 times
...
1CY1
Most Recent 5 months ago
The ROLLUP function is used exclusively within SUMMARIZE. E.g. SUMMARIZE ( Sales, ROLLUP ( 'Date'[Calendar Year] ), "Year total", ISSUBTOTAL ( 'Date'[Calendar Year] ), "Amount", [Sales Amount] )
upvoted 1 times
1CY1
5 months ago
Correct answer -> SUMMARIZE, Date[Year]
upvoted 1 times
...
...
SomeAzureGuyincube
11 months, 1 week ago
I've recreated mock data through ChatGPT and in PowerBI. I've tested the following dax measure : - SalesSummary = SUMMARIZE(Sales,Date[Date],"Sales",SUM(Sales[Sales])) - SalesSummary = SUMMARIZE(Sales,Date[Year],"Sales",SUM(Sales[Sales])) First dax measures creates a table that has many rows as many sales in that month have been sold and does not respond to "A row for each year" requirement. By using Date[Year], you have a summarized Table which you have ONLY one row per each year with the value as sum Something like this : 2024 | 8000,00$ 2023 | 5000,00$ Rollup and Select Columns in first menu are wrong as they don't match parameters. So, Correct answer is *SalesSummary = SUMMARIZE(Sales,Date[Year],"Sales",SUM(Sales[SalesAmount]))* (don't mind the names used for mockup data)
upvoted 3 times
...
KKPanda77
1 year ago
I think it should be.. Summarize , sales [date]
upvoted 1 times
6f38739
1 year ago
Guys please read the question, you you chose date you will have many rows... A column that contains the total sales per year
upvoted 6 times
...
...
ZillowGosia
1 year, 4 months ago
How this can be correct if Date[Year] is integer?
upvoted 1 times
applushka
1 year, 1 month ago
in the Date table Year is an integer
upvoted 1 times
...
...
LeeLee_105
1 year, 6 months ago
Ans is correct
upvoted 4 times
LeeLee_105
1 year, 6 months ago
https://learn.microsoft.com/en-us/dax/summarize-function-dax
upvoted 4 times
...
...
Shirl_Nina
1 year, 6 months ago
Agreed
upvoted 1 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago