Dynamic Row Level Security in Power BI

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ก.ย. 2024
  • 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 ways mentioned in the articles 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 a specific branch, he should be able to see only those branches’ data. This method is possible in Power BI using DAX UserName() or UserPrincipalName() function. In this video, I’ll show you an example of dynamic row-level security with Power BI’s DAX USERPRINCIPALNAME() function.

ความคิดเห็น • 49

  • @Bvcggdert
    @Bvcggdert 7 หลายเดือนก่อน +4

    You seriously are awesome and Microsoft learning in Coursera directly references your material. Bravo!

  • @Milhouse77BS
    @Milhouse77BS ปีที่แล้ว +1

    Glad to see this update. Trying to use dynamic RLS here at my work.

    • @RADACAD
      @RADACAD  ปีที่แล้ว

      Thanks Donald

  • @CU3RV008
    @CU3RV008 7 หลายเดือนก่อน

    Thanks for putting this together, I just started working with PowerBi and this video helped me solve a big challenge.

  • @1yyymmmddd
    @1yyymmmddd 2 หลายเดือนก่อน

    Didn't quite get why one should add "People or Groups who belong to this role" if you control access by username?

  • @jasoncalvert4065
    @jasoncalvert4065 9 หลายเดือนก่อน

    Thank you mate, good easy to understand example of dynamic RLS

  • @hossein3945
    @hossein3945 ปีที่แล้ว

    That's solid Gold. Thank you Reza for sharing this.

    • @RADACAD
      @RADACAD  ปีที่แล้ว

      Thanks Hossein jan!

  • @lachuynh85
    @lachuynh85 2 หลายเดือนก่อน

    Thanks so much, your guidance is very clear and useful.

    • @RADACAD
      @RADACAD  2 หลายเดือนก่อน

      Glad it was helpful!

  • @NutanPatel
    @NutanPatel หลายเดือนก่อน

    we need to manually add the user under the members list of dataset. do we really require because we implemented dynamic RLS?

  • @donnacarter1602
    @donnacarter1602 หลายเดือนก่อน

    This helped me so much, thank you for sharing!

    • @RADACAD
      @RADACAD  หลายเดือนก่อน

      You're so welcome!

  • @ellanguyen5335
    @ellanguyen5335 ปีที่แล้ว

    Thank you for sharing this video. The guide is really details and I got it working! Thanks Reza

    • @RADACAD
      @RADACAD  ปีที่แล้ว +1

      Glad it helped!

  • @pthapa55
    @pthapa55 ปีที่แล้ว +1

    Thanks for such a good post however I still have one question. Is the row level done in Power BI desktop or is it done after the report is published in the workspace? Or do we need to do it at both places? I am confused. Thanks

    • @RADACAD
      @RADACAD  ปีที่แล้ว

      You just do it once in the dataset, and all the reports connected to it will follow that rule.

    • @pthapa55
      @pthapa55 ปีที่แล้ว

      @@RADACAD Thanks

  • @HARSHALK-s6m
    @HARSHALK-s6m ปีที่แล้ว +2

    Hi Reza,
    Can you please tell me how to implement RLS on embed power bi report on company portal or sharepoint?

  • @erinfield1943
    @erinfield1943 2 หลายเดือนก่อน

    3:38- static row level security
    5:57- dynamic row level security

  • @kaustubhbandewar9815
    @kaustubhbandewar9815 24 วันที่ผ่านมา

    Hi Sir, I have one question, I have similar use case however, i have a table with many to many relationship. can RLS work in many to many set up ? here you are forming one to many relationship which is working for me.
    I have tried to create a bridge table with just the common column. but still it does not work

    • @RADACAD
      @RADACAD  23 วันที่ผ่านมา

      I will have a video about that coming soon :)

  • @Soulenergy31
    @Soulenergy31 11 หลายเดือนก่อน

    Thank you Guru!
    8:24 - 11:00 share the RLS report with others

  • @thejishubasak
    @thejishubasak ปีที่แล้ว

    Hello Reza. Thanks for simplifying RLS. I have one question. How do I make sure that when I am accessing the published report, I can atleast the the details personalized to me(like for example, welcome message and my profile picture)? It work fine if other users are accessing it, but when I access it, I see the image and name of the first user in the Employee Database

  • @adityaprakash9151
    @adityaprakash9151 7 หลายเดือนก่อน

    Hello sir, in a scenario I have a table of user with email id and country I want to apply row level security on my report that means user can reports of their belonging countries , but there is a problem I m facing where the data is present in that table country column is storing countries in conacanated form means India,Uk,Australia such please suggest

  • @laurarodas1511
    @laurarodas1511 ปีที่แล้ว +1

    Hello Reza, thanks for your videos, you explain very well but I have a question, does Power Bi have double authentication for integrated dashboards? Can I double authenticate when I login? I need to implement more security levels for my clients and I don't know how to do it, thank you.

    • @RADACAD
      @RADACAD  ปีที่แล้ว

      Thanks :)
      If by double authenticate you mean multi-factor authentication, where you use mobile or a second mean to authenticate when you login, then yes. You can enable multi-factor authentication for the users in the Office 365 admin center.

  • @gokulsthev
    @gokulsthev 11 หลายเดือนก่อน

    Hi Reza, is it possible to build RLS when using live connection to power bi dataset, by importing a new excel sheet with roles and connecting to the live connection's model?

  • @muhammetmuslu4429
    @muhammetmuslu4429 ปีที่แล้ว

    Thank you for this good video

  • @noahhadro8213
    @noahhadro8213 11 หลายเดือนก่อน

    In the Power Bi Service does the RLS security get applied once meaning the queries are applied only once to reduce the model at the beginning of the session OR do the queries get run every time a visual loads or you go to a new page?

  • @scooby990
    @scooby990 6 หลายเดือนก่อน

    Hi , how can I use dynamic RLS for some data and others.
    By location and region

  • @DuncanFairweather
    @DuncanFairweather 4 หลายเดือนก่อน

    You say if I am new to RLS, I should check out your earlier video about static rls but a search does not turn up any such video. Could you please supply a link?

  • @EhsanRavana
    @EhsanRavana 11 หลายเดือนก่อน

    درود آقا رضا🎉

  • @abdulfiroz9
    @abdulfiroz9 8 หลายเดือนก่อน

    Hi Raza, can you explain Dynamic RLS to be applied to change theme of power bi report as per user login?

  • @praveenkumar_0143
    @praveenkumar_0143 ปีที่แล้ว

    Well- Explained 👏👏

    • @RADACAD
      @RADACAD  ปีที่แล้ว

      Thank you 🙂

  • @joserocha9400
    @joserocha9400 ปีที่แล้ว

    Hello Mr Reza, thank you for sharing this. I have an issue, if there is an user that have to has total access to the report besides the others users not, what to do? Thanks in advance!

    • @RADACAD
      @RADACAD  ปีที่แล้ว

      Hi. Jose
      I have explained it in my article here: radacad.com/dynamic-row-level-security-with-manager-level-access-in-power-bi

  • @jrazafindrabe5229
    @jrazafindrabe5229 8 หลายเดือนก่อน

    Hello, Why is it necessary to add email or email group in the published report. Isn`t it automatically recognized by the person who log-in.

    • @jackhillyer3397
      @jackhillyer3397 2 หลายเดือนก่อน

      to identify which records in the fact table get included by matching the keys from the chosen user in the security table

  • @anmfaisal964
    @anmfaisal964 10 หลายเดือนก่อน

    Hiw to use row level security for external email holders

  • @ranjanroy1623
    @ranjanroy1623 ปีที่แล้ว

    Hi Reza, thanks for this video , it is amazing always .
    Do you have any video/ series/ blog on Power Bi embedding as well , if you can pls share the link

    • @RADACAD
      @RADACAD  ปีที่แล้ว

      Not yet, hopefully in the future

  • @bkd-newyork2256
    @bkd-newyork2256 ปีที่แล้ว

    nice

  • @Charlie888
    @Charlie888 ปีที่แล้ว

  • @aamirbaig5236
    @aamirbaig5236 ปีที่แล้ว

    Hi Reza. I just checked and confirmed that office 365 group (Everyone) does not support in Row level Security I saw this on guy in the cube th-cam.com/video/oxYQ2GGefrs/w-d-xo.html (exact time 3:22 ) Please confirm your understanding. Thanks a lot Very informative video on RSL.

    • @Lotaristo
      @Lotaristo ปีที่แล้ว +1

      It's not supported (read in official documentation)