exam questions

Exam PL-300 All Questions

View all questions & answers for the PL-300 exam

Exam PL-300 topic 4 question 27 discussion

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

DRAG DROP -
You have a Power BI table named Customer that contains a field named Email Address.
You discover that multiple records contain the same email address.
You need to create a calculated column to identify which records have duplicate email addresses.
How should you complete the DAX expression for the calculated column? To answer, drag the appropriate values to the correct targets. Each value 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.
Select and Place:

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
steladoynova
Highly Voted 2 years, 6 months ago
Answer i s correct, tested.
upvoted 32 times
...
lukelin08
Highly Voted 2 years, 4 months ago
Given answer tested and is correct
upvoted 9 times
...
jaume
Most Recent 5 months ago
I think solution is not clearly fitting our goal. We are looking to identify which records have duplicated mail addresses, so we should use results from this calculated values identifying these fields where resuting value is grater than '1'. We can realize the DAX measure to populate the calculated column is labelled "Count email" so that's the objective of the formula. First we will encapsulate the entire calculation with CALCULATE to get rid of any context could affect that calculation, then we need to count which rows in the table (so COUNTROWS) have same email (this is the final condition comparing the "Email Address" field in the row) and this count should be applied to the entire table (then filter should be ALL customers)
upvoted 2 times
...
adriankohws
11 months, 1 week ago
It is not wrong on the calculated column but what can I do knowing which records have how many duplicates, to solve problem, shouldn't I try to find which record having same email address on each of the record?
upvoted 1 times
...
spamhz
1 year, 7 months ago
Just want to say that the formula works without "all(Customer)," as well
upvoted 5 times
mayankep043
11 months, 1 week ago
I tested, it doesn't work without all(customer)
upvoted 2 times
...
...
Grant5072
1 year, 11 months ago
Can someone please explain to me, how does counting the records help you identify which records have the same email address ?
upvoted 2 times
Grant5072
1 year, 11 months ago
Nevermind, misread the question.
upvoted 2 times
...
...
Flaty
2 years, 1 month ago
for me it the picture is a bit strange - it looks like that one closing bracket is missing at the end of the picture (cut off the picture because currently the closing bracket it is not at the exact beginning of the last row). 1.) if the picture is correct with only one closing bracket then the last argument will be ALL 2.) if the picture is not correct and does not show the second closing bracket at the end then the last argument is FILTER Both is working but it depends on the number of closing brackts at the end.
upvoted 1 times
Flaty
2 years, 1 month ago
disregard my comment filter is not available so it is ALL... :/
upvoted 1 times
...
...
Nemesizz
2 years, 2 months ago
Can somone explain why All? I dont get it..
upvoted 2 times
charles879987
2 years, 2 months ago
I believe ALL is necessary this is as stated, the filter context is calculated column or current row. In order to find match across all the rows, it is necessary to override it with ALL
upvoted 2 times
ZSun
1 year, 9 months ago
All is not necessary, since the question does not specify it uses any filter. If it specify this DAX need to work regard less of filter or slicer, then ALL is mandatory
upvoted 1 times
...
...
...
Sushvij
2 years, 3 months ago
Tested. Correct Calculate Countrows All
upvoted 4 times
...
jsking
2 years, 3 months ago
Answer is correct
upvoted 2 times
...
Lewiasskick
2 years, 4 months ago
should be countrows, filter, all
upvoted 2 times
e31df62
11 months, 1 week ago
No, that would be incorrect.
upvoted 1 times
...
...
thanhtran7
2 years, 4 months ago
can anyone help to explain the answer in details?
upvoted 1 times
iccent2
2 years, 4 months ago
You are to count the number of rows having same email address. 1. Declare a variable and call it any name you prefer 2. Calculate the row count on the table 3. Apply filter to ALL of the values in the table under the column name email address and equate it to the variable. You may need to read up filter functions for a proper understanding of how it works.
upvoted 10 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