0
0
Power BIbi_tool~20 mins

Static RLS rules in Power BI - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Static RLS Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
dax_lod_result
intermediate
2:00remaining
DAX Measure Result with Static RLS
Given a table 'Sales' with columns 'Region' and 'Amount', and a static RLS rule that filters 'Region' to 'West', what is the result of the following measure?

Total Sales = SUM(Sales[Amount])

If the 'Sales' table contains:
- West: 100, 200
- East: 300, 400

What is the output of Total Sales when the RLS is applied?
A300
B1000
C700
D0
Attempts:
2 left
💡 Hint
Remember that static RLS filters the data before the measure calculation.
visualization
intermediate
2:00remaining
Visual Impact of Static RLS on a Bar Chart
You have a bar chart showing total sales by region. A static RLS rule restricts data to the 'North' region only.

Which of the following describes the correct visual output?
AThe bar chart shows bars for all regions, but only 'North' has a value; others show zero.
BThe bar chart is empty with no bars displayed.
CThe bar chart shows all regions with their original sales values.
DThe bar chart shows bars only for the 'North' region; other regions are not displayed.
Attempts:
2 left
💡 Hint
Static RLS filters the data source, so only allowed data is visible in visuals.
🧠 Conceptual
advanced
2:00remaining
Understanding Static RLS Rule Application
Which statement best describes how static RLS rules are applied in Power BI?
AStatic RLS filters data at the data source level before loading into Power BI.
BStatic RLS allows users to edit the filter rules directly in the report view.
CStatic RLS applies a fixed filter on tables inside Power BI that does not change per user.
DStatic RLS filters data dynamically based on user login at query time within Power BI.
Attempts:
2 left
💡 Hint
Think about what 'static' means in this context.
data_modeling
advanced
2:00remaining
Modeling Static RLS with Role Filters
You want to create a static RLS role that restricts users to see only data where 'Country' = 'USA'. Which of the following DAX filter expressions correctly implements this static RLS rule on the 'Customers' table?
AFILTER(Customers, Customers[Country] = "USA")
BCustomers[Country] = "USA"
CCustomers[Country] IN {"USA"}
DCustomers[Country] <> "USA"
Attempts:
2 left
💡 Hint
Static RLS roles use simple filter expressions on columns.
🔧 Formula Fix
expert
2:00remaining
Debugging Static RLS Not Applying Correctly
A report uses a static RLS role filtering 'Region' = 'South'. However, users assigned to this role see data from all regions.

Which of the following is the most likely cause?
AThe RLS role was created but not assigned to any users.
BThe filter expression uses incorrect column name 'Regions' instead of 'Region'.
CThe report uses DirectQuery mode which disables RLS.
DThe measure used ignores filters and uses ALL() function.
Attempts:
2 left
💡 Hint
Check role assignments carefully.