Skip to main content

Dynamic Row-Level Security

  • Chapter
  • First Online:
Pro Power BI Architecture
  • 2002 Accesses

Abstract

There are different methods to use row-level security in Power BI. You can set up Row-Level Security in Power BI itself, or through a live connection from a data source such as SSAS Tabular. However, row-level security defined in the way mentioned in the previous chapter above isn’t dynamic. By dynamic row-level security, I mean the definition of security is beside the user account information in the data source. For example, when John logs in to the system, based on data tables that show John is the sales manager for specific branch, he should be able to see only those branches’ data. This method is possible in Power BI using the DAX UserName() or UserPrincipalName() function. In this chapter, I’ll show you an example of dynamic row-level security with DAX USERNAME() function in Power BI.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 49.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Reza Rad

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Rad, R. (2018). Dynamic Row-Level Security. In: Pro Power BI Architecture. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-4015-1_17

Download citation

Publish with us

Policies and ethics