exam questions

Exam 70-778 All Questions

View all questions & answers for the 70-778 exam

Exam 70-778 topic 1 question 59 discussion

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

You are importing sales data from a Microsoft Excel file named Sales.xlsx into Power BI Desktop.
You need to create a bar chart showing the total sales amount by region.
When you create the bar chart, the regions appear as expected, but the sales amount value displays the count of sales amount instead of the sum of sales amount each region.
You need to modify the query to ensure that the data appears correctly.
What should you do?

  • A. Delete the query, import the data into Microsoft SQL Server, and then import the data from SQL Server.
  • B. In Query Editor, add a calculated column that totals the sales amount column.
  • C. Change the Data Type of sales amount column to Numeric.
  • D. Refresh the data model.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
TiaanR
Highly Voted 5 years, 9 months ago
Shoud be C
upvoted 35 times
rhsdeal
5 years, 8 months ago
Definitely C
upvoted 7 times
...
...
Hien
Highly Voted 5 years, 8 months ago
I agreed the answer must be C
upvoted 5 times
...
b_o_b_a
Most Recent 2 years, 9 months ago
Selected Answer: C
Agree with C as the reason it is counting is possibly due to the field being a string/text
upvoted 1 times
...
Lhouss
4 years, 5 months ago
Agree with C.
upvoted 1 times
...
moalshalabi
4 years, 5 months ago
B is wrong because it will sum the values, if its a measure it will work So i am going with C I tested and it works fine, even there is no data type called Numeric
upvoted 1 times
...
CDL
4 years, 6 months ago
at first I went with B (not really a good choice becoz it will make the whole file become bigger unnecessarily), after I read the discussion I went with C. becoz if it’s numeric #, every time when we do implicit measure, it will get an auto “Sum”, the only exception is when the underlying dataset’s column actually is of a format of “text”. Therefore, I think C is correct.
upvoted 1 times
...
Vi1125
4 years, 7 months ago
TRICK QUESTION: The question states "modify the query" - so the answer has to be (B) which has Power Query Editor, it would work but its not pretty. The 'Data' type option doesn't include a 'Numeric' option because the actual word refers to of numbers, your data type option for numbers would be, whole number, decimal number, or fixed decimal number so option C - can't be correct.
upvoted 1 times
AxxxD
4 years, 6 months ago
The answer is C Why one should add a calculated column if the table already has one. >>"C. In Query Editor, add a calculated column that totals the sales amount column." So, B is not correct, other things like COUNT of text column to SUM; someone already added above in the post.
upvoted 1 times
...
...
cromastro
4 years, 8 months ago
A is ridiculous. B can't be done in the Query Editor. D doesn't change anything. C is the only choice left. Plus it works.
upvoted 2 times
...
123
4 years, 9 months ago
C. https://www.reddit.com/r/PowerBI/comments/6x68od/why_power_bi_in_line_chart_shows_only_counts/
upvoted 2 times
...
r8d1
4 years, 10 months ago
the question says: You need to modify the query to ensure that the data appears correctly. The only option to modify the query is B. C also works, but by changing Summarization (Count -> Sum), not only by changing Data type. Tricky question indeed.
upvoted 2 times
...
NasheM
4 years, 10 months ago
Definitely C
upvoted 1 times
...
Echicken69
4 years, 10 months ago
Wow, this is a trick question if ever there was one. I agreed with everyone. It can be either B or C to be honest. B can be demonstrated here [https://radacad.com/why-my-values-are-not-showing-correctly-in-power-bi]. Now here is where I'm like... oh man, I don't know... is if the Answer C is actually saying that Numeric is its' own Data Type, then NO there is no Data type that is "Numeric" therefore B would be correct, but in practice you would go and check if Power BI has identified the Values as SUM and not COUNT. Admin please review as this can be very easily misunderstood.
upvoted 3 times
123
4 years, 9 months ago
I think this is almost a "trick test"!!! Many answers here are correct BUT you have to read and read abd re-read..... I took the 70-779 exam and got a 953 thanks to my research. But this exam is definitely harder IMO because of the possibilities!!!
upvoted 1 times
...
...
Onkar26
4 years, 10 months ago
Correct Answer is C. Change the Data Type of sales amount column to Numeric.
upvoted 1 times
...
lozqt
5 years, 2 months ago
If in a Bart chart your value is automatically displayed as a count it means that the data type of your value is not numerical (it might be text or else….). Hence if you change the type of your data in query (from text to decimal or whole number) your data should automatically appear as a sum on your bar chart. I tried it. Hence to me C is the correct answer.
upvoted 3 times
siqi
5 years, 2 months ago
Agree with you. I think the word "Numeric" does not mean an exact data type here, but rather a joint name of "Whole Number", "Fixed Decimal Number" and other numeric data type...
upvoted 6 times
diggity801
4 years, 11 months ago
They capitalized it so they mean it as its own type, which does not exist. I will go with B on the test as C is not a valid answer as stated.
upvoted 2 times
...
...
...
abtsoares
5 years, 2 months ago
there is no Numeric data type in Power BI...
upvoted 5 times
kilowd
5 years, 2 months ago
I am with you Powerbi data Types : Whole Number,Fixed Decimal Number, Decimal Number, Date, Date/ Time, Time,Text, True/False, Binary
upvoted 1 times
...
...
Ricky7876
5 years, 2 months ago
Agreed this one is C... Ran into this issue at work and couldn't figure out what was going on for the longest time
upvoted 1 times
kilowd
5 years, 2 months ago
Which power bi version has a datatype called Numeric Ricky7876 ??
upvoted 3 times
Agustin
4 years, 11 months ago
You may be right, but.... This is how the official 70-778 books define for example the Decimal Number Data Type: "This is the most popular numeric data type. It is designed to hold fractional numbers, and it can handle whole numbers as well." For the book, it is clear that Decimal Numbers, Fixed DN and Whole Number are numeric data types.
upvoted 2 times
...
...
...
mohroshdy
5 years, 4 months ago
C is correct
upvoted 1 times
kilowd
5 years, 2 months ago
https://docs.microsoft.com/en-us/power-bi/desktop-data-types
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