Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
My scenario needs to implement organizational hierarchy level access in premium capacity.
I have Test database in Vertica DB where 9 levels of managers hierarchy table been pulled into a direct query.
I need globally all sales rep to need to see their country data except managers need to see all.
Country[CountryKey] = LOOKUPVALUE( its not working in DQ)
'Security'[CountryKey],
'Security'[EmailAddress],USERPRINCIPALNAME(),
'Security'[CountryKey],Country[CountryKey]
)
Suddenly ex -USA users to be blocked, again do I need to create role -Country=”USA” and assigning the set of reps to it will it work? Bcoz these reps also part of above dynamic filter by country. In this Case, can I go country wise distribution list and remove USA Distribution list.
I have seen scenarios implemented with path /path contains /lookup values in import method but not same will work on DQ though I enabled allow restricted measures lookup value doesn’t work is there any alternative how to make it work in DQ mode.
Waiting for valuable solution
Hi @Anonymous
For you scenario, you could try "IF", "SWITCH", "RELATED" function in direct query mode.
we can use the function "LOOKUPVALUE" to create measures after going to File -> Options and settings -> Options - > DirectQuery and enable the option “Allow unrestricted measures in Direct Query Mode”.
Best Regards
Maggie
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 43 | |
| 38 | |
| 35 | |
| 21 | |
| 15 |
| User | Count |
|---|---|
| 63 | |
| 58 | |
| 28 | |
| 27 | |
| 25 |