exam questions

Exam 70-778 All Questions

View all questions & answers for the 70-778 exam

Exam 70-778 topic 1 question 103 discussion

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

HOTSPOT -
You have the following tables.

You need to create a new table that displays the top 10 customers by the total of SalesAmount.
How should you complete the DAX formula? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

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
RutRut
Highly Voted 5 years, 2 months ago
1. Syntax in answer shows that this is a MEASURE formula and they ask us about TABLE formula, 2. You can't start table formula with CALCULATE, for this is CALCULATETABLE, 3. There is no table 'Customer' in the schema, 4. There is no column 'SalesProfit' i Sales table, There is no correct answer... Maybe they want us to write: CALCULATE(SUM(Sales[SalesAmount]);TOPN(10;Customers;CALCULATE(SUM(Sales[SalesAmount])))) This measure returns top 10 customers ordered by their sales amount
upvoted 10 times
Echicken69
4 years, 10 months ago
I agree... and it looks similar to this https://databear.com/power-bi-dax-topn-function/
upvoted 2 times
...
sjonghe
4 years, 7 months ago
I think they are talking about "a table visual" with top 10 customers.
upvoted 1 times
...
...
Vermonster
Highly Voted 5 years, 3 months ago
Anyone find it odd that both DAX expressions are operating on a column (Profit) that doesn't appear in the schema?
upvoted 9 times
Echicken69
4 years, 10 months ago
I was thinking the same thing.... there is no column called [Profit] in the Sales Table....
upvoted 1 times
...
...
Annelize
Most Recent 4 years, 5 months ago
This is a good explanation: https://www.dutchdatadude.com/power-bi-pro-tip-confusion-about-topn-versus-rankx/
upvoted 3 times
...
CDL
4 years, 6 months ago
Correct. 1st fill must be a “Calculate”, becoz the 1st argument in the DAX is a measure, and then 2nd argument must be a filter or call “condition” that we need to get top10 as per “sum” of [SalesAmount]. TOPN(10, Customer, Sum[Sales[profit]) 1 -> Return a table containing 10 rows. 2 -> table displays CustermonName 3 -> “CustermonName “ order by “Sum[Sales[profit]”, sorting in descending by default. (which is like Query “group by” customer, and aggregator is “sum”) Ref: https://docs.microsoft.com/en-us/dax/topn-function-dax
upvoted 1 times
...
Inflexion2020
4 years, 6 months ago
Please check this link https://www.inflexionanalytics.com/power-bi-consulting-service-and-solutions/
upvoted 1 times
...
123
4 years, 10 months ago
Page 132 of text: "Power Pivot & PowerBI: Excel User Guide to DAX" - see page #132 for CALCULATE, TOPN for finding how top-heavy.... CALCLATE([TotalSales], TOPN (5, Products [Total Sales])
upvoted 1 times
...
r8d1
4 years, 10 months ago
to create a new table use CALCULATETABLE then TOPN (i think the options given are incorrect for the first part of the question).
upvoted 1 times
...
Deepo95
4 years, 11 months ago
TOPN explanation https://docs.microsoft.com/en-us/dax/topn-function-dax
upvoted 1 times
...
coupet
5 years, 4 months ago
TOPN Returns the top N rows of the specified table.
upvoted 1 times
...
Arklur
5 years, 7 months ago
I tested it, that measure...doesn't seem to work, it gives the same result as just putting the value into a table. Changing the "10" to a different value doesn't change anything at all, too. There is definitely something wrong with this question.
upvoted 4 times
AnetaK
5 years, 6 months ago
I've tried it and it works.
upvoted 4 times
...
...
rhsdeal
5 years, 8 months ago
Filter requires a Table be passed, given there example it is not passing a table.
upvoted 6 times
...
preksha
5 years, 9 months ago
Wouldn't using calculate just calculates the value for the top 10 customers? shouldn't it be filter?
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago