exam questions

Exam 70-778 All Questions

View all questions & answers for the 70-778 exam

Exam 70-778 topic 1 question 10 discussion

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

You manage a Power BI model that has two tables named Sales and Product.
You need to ensure that a sales team can view only data that has a CountryRegionName value of Unites States and a ProductCategory value of Clothing.
What should you do from Power BI Desktop?

  • A. Add the following filters to a report. CountryRegionName is United States ProductCategory is Clothing
  • B. From Power BI Desktop, create a new role that has the following filters. [CountryRegionName] = "United States" [ProductCategory] = "Clothing"
  • C. Add the following filters in Query Editor. CountryRegionName is United States ProductCategory is Clothing
  • D. From Power BI Desktop, create a new role that has the following filter. [CountryRegionName] = "United States" && [ProductCategory] = "Clothing"
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
References:
https://docs.microsoft.com/en-us/power-bi/power-bi-how-to-report-filter

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, 11 months ago
A filter can be modified by the end-user. To restrict access to data to certain users, roles is the feature to be used. Correct - D
upvoted 38 times
Mo2011
4 years, 10 months ago
Wrong because the fields are in two tables .. B is the correct answer
upvoted 9 times
...
...
mohroshdy
Highly Voted 5 years, 6 months ago
Correct answer is B. First, You have 2 tables (Sales & Products), Second, You have to use RLS to prevent a sales team to view some data, Third, You have to create 2 filters, one for Sales(CountryRegionName) & one for Product(ProductCategory) as there are 2 different tables, so there are 2 filters NOT just one filter. Note: you can't filter 2 columns from 2 DIFFERENT TABLES using && but you can use && in case of the columns you wanna filter in the SAME TABLE only, so D in incorrect.
upvoted 19 times
...
KipngenohVinnie
Most Recent 1 year, 3 months ago
The best Answer is B, Creating a new role that has the two filters for the sale team is the best option one can opt to
upvoted 1 times
...
Rupangi
3 years, 8 months ago
Answer is definitely A, because it ask to do something from Power BI Desktop and you cant create role from powerbi desktop.
upvoted 1 times
...
DeathCaliberKnight
4 years, 1 month ago
B is the correct answer
upvoted 2 times
...
iaaqq
4 years, 5 months ago
B is the Definitive Ans
upvoted 2 times
...
osaid
4 years, 6 months ago
Correct Answer is B. I tested it by creating two tables. You apply one filter on the table having CountryRegionName and the other having ProductCategory. D is not correct because it is using the '&&' operator which would work only within a single table.
upvoted 2 times
...
kirin5190
4 years, 6 months ago
seeing many people mentioning 2 tables so B, but how do we know exactly that sales table doesn''t have a ''product category''?
upvoted 1 times
...
CDL
4 years, 8 months ago
B is correct. Repost Link: https://docs.microsoft.com/en-us/power-bi/admin/service-admin-rls
upvoted 1 times
...
eug45
4 years, 10 months ago
Answer is B https://docs.microsoft.com/en-us/power-bi/admin/service-admin-rls
upvoted 3 times
...
cromastro
4 years, 10 months ago
The key phrase is "What should you do from Power BI Desktop?" Only answer A can be used. You can set filters in Power BI desktop and publish. With Answer B, you can set the Role, but you have to add that Role in a Security Group.
upvoted 1 times
...
cromastro
4 years, 10 months ago
It can't be D. You cannot build an expression the way it is shown. They are built per table. No && can be used. C is not in the spirit of the question. A and B can both work. You can lock filters. And you can set the individual DAX statement for both tables. How they choose A over B, I don't know.
upvoted 1 times
...
r8d1
4 years, 12 months ago
D https://docs.microsoft.com/en-us/power-bi/admin/service-admin-rls#define-roles-and-rules-in-power-bi-desktop
upvoted 1 times
123
4 years, 11 months ago
More than one table; if only ONE table - then, yes, D.....
upvoted 2 times
...
...
Yip
5 years, 1 month ago
Correct Ans is B as D refers to fields from two different tables. This will give an error
upvoted 3 times
...
GryPTonite
5 years, 1 month ago
Could be a trick question where it says "model" not "table", the model is that what makes up the report so answer A is correct. What if the table was shared you might want a different filter for another report so you would not want to apply role security. If the question specifically mentions roles or security or shared but all it says ensure Sales see only so is there an implication towards assuming this report is only for sales and they just want a specific filter for this report otherwise I would have to tend towards B). Wonder if you would get partial marks in an exam for getting the second best answer as this is a mean question.
upvoted 1 times
...
Rathish
5 years, 1 month ago
Answer is B: If both the columns are in same table, then we can use (Option D: [CountryRegionName] = "United States" && [ProductCategory] = "Clothing" But in this case, it is 2 differrent tables, we cannot use &&, have to use filters separately on tables. [CountryRegionName] = "United States" On Sales Table [ProductCategory] = "Clothing" On Product Table
upvoted 7 times
amature
5 years, 1 month ago
Agree answer is B. You need to create 2x filters within the role one for country and another one for product, IMO
upvoted 3 times
...
...
Outsider
5 years, 2 months ago
Correct Answer is B
upvoted 2 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 ...