Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam DP-600 All Questions

View all questions & answers for the DP-600 exam

Exam DP-600 topic 1 question 90 discussion

Actual exam question from Microsoft's DP-600
Question #: 90
Topic #: 1
[All DP-600 Questions]

HOTSPOT
-

You have a Microsoft Power BI semantic model.

You plan to implement calculation groups.

You need to create a calculation item that will change the context from the selected date to month-to-date (MTD).

How should you complete the DAX expression? 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 (?) , you can switch to a simple comment.
Switch to a voting comment New
4371883
Highly Voted 6 months, 4 weeks ago
CALCULATE SELECTEDMEASURE more info refer to: https://www.sqlbi.com/articles/using-calculation-groups-to-selectively-replace-measures-in-dax-expressions/
upvoted 20 times
...
stilferx
Highly Voted 6 months, 1 week ago
IMHO, Calculate / SELECTEDMEASURE, Source: https://learn.microsoft.com/en-us/dax/selectedmeasure-function-dax#example
upvoted 7 times
...
mghf61
Most Recent 1 day, 5 hours ago
since DatesMTD is selecting a range of values from month to the current date, it should be SELECTEDMEASRE SELECTEDVALE is for single value not a range
upvoted 1 times
...
554b579
7 months, 2 weeks ago
CALCULATE(Selectedvalue(), DATESMTD('Date'[Date])) combines two DAX functions to achieve a specific result Selectedvalue(): This function returns the value of the currently selected item in a column. It is commonly used in scenarios where you want to retrieve a single value from a column (such as a slicer selection). DATESMTD('Date'[Date]): The DATESMTD function calculates the month-to-date (MTD) total for a given expression. It considers all dates from the beginning of the month up to the current date defined by the filter context. In this case, it operates on the 'Date'[Date] column. Overall Purpose: The entire expression calculates the MTD value for the currently selected item (such as a date) based on the date context. It’s useful for creating dynamic MTD calculations that adjust automatically based on user selections. For example, if you have a measure called “Sales Amount” and you want to calculate the MTD sales amount based on the selected date, this expression would give you that value.
upvoted 6 times
andrewkravchuk97
7 months ago
Don't confuse people, the answer is correct. Calculate + selectedmeasure() is a standard combination when it comes to calculation items. When Calc. Item is applied dax engine replaces selectedmeasure() with measure reference.
upvoted 31 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 ...