exam questions

Exam 70-778 All Questions

View all questions & answers for the 70-778 exam

Exam 70-778 topic 1 question 81 discussion

Actual exam question from Microsoft's 70-778
Question #: 81
Topic #: 1
[All 70-778 Questions]

DRAG DROP -
You are creating a work schedule for a retail store.
You have the following data from a query named Schedule.

You need to visualize the data as shown in the following exhibit.

You add a matrix visualization, and then you add Employee to the rows and Scheduled to columns.
Which DAX formula should you use to create the measure that will display the checkboxes? To answer, drag the appropriate values to the correct targets. Each value may be used once, more than once, or mot 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:
References:
https://blog.crossjoin.co.uk/2017/04/11/the-dax-unichar-function-and-how-to-use-it-in-measures-for-data-visualisation/

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
gerrard
Highly Voted 5 years, 7 months ago
Schedule Display = IF(COUNTROWS(Schedule) > 0, UNICHAR(9635)," ") It works. tested it
upvoted 17 times
...
JohnFan
Highly Voted 5 years, 6 months ago
COUNTX(<table>,<expression>) COUNTAX(<table>,<expression>) COUNTROWS(<table>) COUNTA(<column>) COUNT(<column>)
upvoted 10 times
...
bymofi
Most Recent 4 years, 10 months ago
The answer is OK. here are more info. and a modification found: the Unichar() function to return characters xx (whether filled or unfilled checkboxes) Schedule Display = IF( COUNTROWS('Schedule')>0, UNICHAR(9635), UNICHAR(9634) ) & REPT(" ", 5) the Rept() function to return a string with those characters repeated N times
upvoted 1 times
...
Richa
5 years, 8 months ago
It will be COUNTA rather than COUNTROWS. As we pass table name in COUNTROWS function and column in COUNTA function
upvoted 1 times
CorinnaK
5 years, 7 months ago
SCHEDULE is the name of the query, not the column name. So COUNTROWS is correct. Tested it and it works
upvoted 6 times
Brunobsv
5 years, 6 months ago
That's a matter of syntax. COUNTA(<column>) asks for a column and COUNTROWS(<table>) for a table. Since Schedule is a table we need COUNTROWS.
upvoted 16 times
...
...
lyniguez
4 years, 11 months ago
You are WRONG
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 ...