exam questions

Exam PL-300 All Questions

View all questions & answers for the PL-300 exam

Exam PL-300 topic 2 question 57 discussion

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

HOTSPOT
-

You have a Power BI data model that contains a table named Stores. The table has the following columns:

• Store Name
• Open Date
• Status
• State
• City

You need to create a calculated column named Active Store Name that meets the following requirements:

• When the value of the Status column is “A”, the value in the Store Name column must be returned.
• When the value of the Status column is NOT “A”, the value in the Store Name column that is prefixed with "Inactive - " must be returned.

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 (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
GuerreiroJunior
Highly Voted 2 years, 4 months ago
Correct Answer. && Is the same for AND function in DAX, nd & is the same for concatenate on Excel.
upvoted 49 times
Abhi_1526
1 year, 3 months ago
Yes we have to use & for contention
upvoted 1 times
...
...
JJMC5544
Highly Voted 1 year, 11 months ago
With SWITCH Function: Active Store Name = SWITCH ( [Status], "A", [Store Name], "Inactive - " & [Store Name] )
upvoted 9 times
Arth_1111
8 months, 3 weeks ago
Wrong!!
upvoted 1 times
...
...
539d541
Most Recent 9 months, 2 weeks ago
Answer is correct
upvoted 2 times
...
rcaliandro
9 months, 3 weeks ago
The answer is correct, it is an IF statement and we need the & operator to concatenate
upvoted 3 times
...
nassimanafa
11 months, 1 week ago
The answer is correct
upvoted 2 times
...
alyes87
1 year ago
Hello , Is true
upvoted 1 times
...
JohnChung
1 year, 4 months ago
Correct answer
upvoted 2 times
...
Male777
1 year, 5 months ago
&& is used as a Replacement of 'AND' function. Whereas & is used to concatenate two strings. So answer will be "If - &".
upvoted 6 times
...
AdrianBalescu
1 year, 5 months ago
And (&&) DAX Operator for conditions or expressions; Concatenation (&) DAX Operator for values or texts strings etc; I believe it is: if &
upvoted 5 times
...
madyjoe21
1 year, 7 months ago
If and && is the correct answer
upvoted 3 times
madyjoe21
1 year, 6 months ago
Sorry, I changed my mind and I can't delete my first comment. If and & are the correct answers. Because & is used to concatenate two values.
upvoted 2 times
...
...
Shalaleh
2 years, 1 month ago
Correct answer.
upvoted 2 times
...
UlyUkr
2 years, 1 month ago
Correct answer is IF and &. & combines text and column values. && is used when you need to combine 2 conditions, replacement for AND in SQL.
upvoted 4 times
55884
1 year, 2 months ago
we are not combining 2 condition in the RETURN FALSE statement...
upvoted 1 times
...
Tammy_07
1 year, 7 months ago
Test it in PBI before submitting incorrect answers.nswers
upvoted 1 times
...
...
RazaTheLegend
2 years, 1 month ago
The provided answer is correct: it is 'IF' '&'.
upvoted 1 times
...
Lok_15
2 years, 4 months ago
Correct answers
upvoted 1 times
...
ewelaela
2 years, 4 months ago
Correct: If, &
upvoted 4 times
...
naomilena
2 years, 4 months ago
The provided answer is correct: it is 'IF' '&'.
upvoted 3 times
...
Sushvij
2 years, 4 months ago
Correct IF &
upvoted 5 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 ...