Overview - Litware, Inc. is an online retailer that uses Power BI. Litware plans to leverage data from an Azure SQL database that stores data for the company's live e-commerce website. Litware uses Azure Active Directory (Azure AD) to authenticate users. Existing Environment. Sales Data Litware has online sales data that has the SQL schema shown in the following table. In the Date table, the date_id column has a format of yyyymmdd and the month column has a format of yyyymm. The week column in the Date table and the week_id column in the Weekly_Returns table have a format of yyyyww. In the Sales table, the sales_id column represents a unique transaction. The region id column can be managed by only one sales manager. Existing Environment. Data Concerns You are concerned with the quality and completeness of the sales data. You must ensure that negative and missing sales_amount values do NOT contribute to the total sales amount calculation. Existing Environment. Reporting Requirements Litware identifies the following reporting requirements: Executives require a visual that shows sales by region. Executives require a visual that shows returns by region manager and the sales managers that report to them. The sales managers must be able to see only the sales data of their respective region. The sales managers require a visual to analyze sales performance versus sales targets. The sales department requires reports that contain the number of sales transactions. Users must be able to see the month in each report as shown in the following example: Feb 2020. The customer service department requires a visual that can be filtered by both sales month and ship month independently. The maximum allowed latency to include transactions in reports is five minutes. You need to provide a solution to provide the sales managers with the required access. What should you include in the solution? A. Create a security role that has a table filter on the Sales Manager table where username = UserName(). B. Create a security role that has a table filter on the Sales Manager table where username = sales_manager_id. C. Create a security role that has a table filter on the Region Manager table where sales_manager_id = UserPrincipalName(). D. Create a security role that has a table filter on the Sales_Manager table where name = UserName(). Â Suggested Answer: A The sales managers must be able to see only the sales data of their respective region. Use the username field of the Sales_manager table. Also use the Username() DAX function to validate the username. Reference: https://powerbi.microsoft.com/en-my/blog/using-username-in-dax-with-row-level-security/ This question is in PL-300 Exam For getting Microsoft Power BI Data Analyst Associate Certificate
Please login or Register to submit your answer