exam questions

Exam DP-500 All Questions

View all questions & answers for the DP-500 exam

Exam DP-500 topic 1 question 147 discussion

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

DRAG DROP
-

You have a Power BI data model that contains two tables named Products and Sales.

A one-to-many relationship exists between the tables.

You have a report that contains a report-level filter for Products.

You need to create a DAX measure that will return the percent of total sales for each product. The measure must respect the report-level filter when calculating the total.

How should you complete the measure? To answer, drag the appropriate DAX functions to the correct targets. Each function may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

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
Sreelesh
11 months, 1 week ago
It's CALCULATE and ALLSELECTED. When ALLSELECTED is used, all the report level filters are preserved and that is what exactly the question is about.
upvoted 1 times
...
MaryemSB
1 year, 6 months ago
1. CALCULATE 2. ALLSELECTED second is not ALL because "ALLSELECTED only ignores the filters coming from inside the visual itself, whereas ALL ignores any filters coming from anywhere in this visual or other visual on the page" https://radacad.com/power-bi-dax-all-vs-allselected#:~:text=The%20ALLSELECTED%20is%20also%20a,other%20visual%20on%20the%20page.
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 ...