Checking out the new Power BI RLS Editor

Поділитися
Вставка
  • Опубліковано 21 сер 2024

КОМЕНТАРІ • 58

  • @scobob
    @scobob Рік тому +1

    This is an awesome addition! I have been looking for a solution to this use case in conjunction with RLS for a long time. We have an application that generates a 1:M access for RLS and works great. However, there is a cost associated with the user licensing for the app. The executives responsible for the respective portfolios never use the app itself but rather the output and analytics from that app. In the past we needed to provision a license to the app in order to provide the required access. This solves that problem! To your point, there is probably a less static and more sustainable solution to, for lack of a better term, hard-code it in the service but this opens up a tremendous opportunity for me. Thank you! Made my day.

  • @JeffTavares-vl3sl
    @JeffTavares-vl3sl 4 місяці тому

    Great example and explanation ... this was exactly what I was looking for. THANK YOU!

  • @martymcfly00333
    @martymcfly00333 Рік тому

    For larger groups where you won't have auto access to email (or email won't match user principal name) you can create a spreadsheet that contains what they are allowed to see. The country would be a single field and you'd have to list each country separated by something, I use semicolon ";". In power Query, split the country column into rows and create a many to many relationship from your excel table to your sales table. Then in the Dax, the security says you can only see rows of the new table based on user principal name. It is still manual compared to other the other solution, but you can keep it in a secure folder location and updating security is as easy as updating a line in excel. The draw back is the user has to wait until the next refresh cycle for the changes to take place.

    • @martymcfly00333
      @martymcfly00333 Рік тому +1

      If you have to many countries to list, then perhaps use region instead. If region doesn't exist, then creating one with Dax should be relatively easy.

  • @stinaintx
    @stinaintx Рік тому +2

    Awesome. I use RLS so sales people only see their commission sales and not everyone else’s.

  • @MultiMarcoy
    @MultiMarcoy Рік тому +1

    Any tips to embedding Power BI Report to SharePoint site with RLS?

  • @timgray7859
    @timgray7859 Рік тому +1

    Great video.
    Apologies for unrelated:
    Video request for your users: Field Parameters.
    Use case:
    Set up a field parameter with multiple measures, with an additional field grouping measures together. Use this on a matrix visual with an associated filter with these fields to allow users to choose which columns to include; this allows a ton of measures to be available to the user, with the benefit of only having the ones they want (as well as better performance). In addition, you can use field parameters to allow the user to include/exclude different drill down options (with bookmarks allowing multiple field parameter groups to change the order of the drill downs).
    My experience comes from business users wanting Excel like experience in the form of Matrixes. Utilizing field parameters in this way has been very beneficial to their experience.
    I'm happy to expand on this comment, just let me know.

  • @86nareshc
    @86nareshc Рік тому

    Wonderful option

  • @fredevgi
    @fredevgi Рік тому

    Thanks. Great video !

  • @FinancialArena
    @FinancialArena Рік тому

    Great video Patrick !

  • @williamwood8549
    @williamwood8549 Рік тому +2

    I have a need to make dynamic RLS based upon Azure AD group memberships. But to do that I need to have a dataflow that calls the AD Graph API, bringing the various groups im using and their associated members, and to do that I need to have an app registration between Power BI and Azure AD to use Graph API data as a data source. It turns something seemingly straight forward into something overly complicated. 😢

    • @beyondtruthandlies
      @beyondtruthandlies Рік тому +1

      I haven't tried, but Power Bi has a new data connector for Azure Active Directory. May be if you could check for that. But I suppose one still have to open Powershell and install the required before connecting with the new connector.

    • @tigerthecat006
      @tigerthecat006 Рік тому

      I'm not sure if this is dependent on Premium, but in our environment we have our PBI workspaces in the same domain as our Azure AD. For reports that have RLS, I can go into Security and on the permissions menu where Patrick shows adding a user, I can enter an AD Group name instead. This effectively sets all AD group members as having that RLS Role.

    • @williamwood8549
      @williamwood8549 Рік тому

      @tigerthecat006 that would work but my problem is that the number of combinations of RLS groups number in the 100s. I need a way to connect the list of RLS groups to their associated security key column, and then bring in the list of the users in those groups for the UPN function to map onto.

  • @nikhilchenna
    @nikhilchenna Рік тому

    You are the best❤❤❤

  • @joaquinmaverick82
    @joaquinmaverick82 Рік тому

    great video, short and to the point

  • @lalalf4535
    @lalalf4535 Рік тому +1

    I need to use RLS, but I want to show max, min and median without RLS. Can I turn off RLS for some measures? Thank you

    • @beyondtruthandlies
      @beyondtruthandlies Рік тому

      That's a pretty good question. I would try this one if it's possible or not and then will let you know.

  • @718noob
    @718noob Рік тому +2

    How would you go about testing Dynamic RLS for multiple reports that share a dataset? The PBI Service GUI no longer allows you to "Test as..." for each report that is connected to a data model now.

    • @christian.metzen
      @christian.metzen Рік тому +1

      @guyinacube This would be an interesting question for me too. After the new look ( which you cant diable anymore ) its impossible to reports as another user that share a dataset. Common usecase for us.

    • @MrSparkefrostie
      @MrSparkefrostie 11 місяців тому

      One thing I need to find in RLS is dynamic 2 roles, I want someone to see their stats and 1 tier up IE rest of the team. I suspect I can add the users email and add managers email in the users table, setup RLS and users could switch roles somehow

  • @Bharath_PBI
    @Bharath_PBI Рік тому

    Gui is for basic or for simple rules, MS PBI team, this feature is like more dev time and less impact for users.

  • @spen2431
    @spen2431 Рік тому +1

    If i was another user (MrSmith) and connected to the report, would I see both International and Domestic? Is the default to block all others? AND - Thanks for sharing 💥💥💥💥

    • @mshanabar
      @mshanabar Рік тому +2

      It will block everything else.. only people added to the RLS can see the data

  • @pratikfutane8131
    @pratikfutane8131 9 місяців тому

    This is awesome {"loop"}!!

  • @hi55us2
    @hi55us2 Рік тому +1

    Fortunately my row level security doesn't prevent me from watching Patrick's videos! #iwatchpatrick

  • @tperera321
    @tperera321 Рік тому

    @guyinacube after you publish to the service and you are in the security section for that dataset and you've already added the user to the RLS role, is there a reason you chose to switch to a different user to show they had the correct access instead of using the test role option that comes up when you click the three dots That appear when you hover over the role name i.e Domestic

  • @jessejamespoland
    @jessejamespoland Рік тому +1

    @GuyInACube Do you have any idea how to merge a live connected Power BI report to a Power BI dataset into one pbix file in import mode?

    • @beyondtruthandlies
      @beyondtruthandlies Рік тому

      That's a mixed mode. I think you can give it a try if you are trying to merge in desktop.

  • @barnabastoth4648
    @barnabastoth4648 10 місяців тому

    Hi there,
    Do you have a hint how to overcome RLS topology restrictions of limited relationships?
    Having a dim table (RLS applied on it) in the remote model that filters a fact table in the local model: RLS is applied as expected, except for totals are visible, because there are not filters applied there. I was thinking about rewriting the measures adding a constant filter from that table with CALCULATE, but probably there are better approaches :)

  • @beyondtruthandlies
    @beyondtruthandlies Рік тому

    Patrick you have not yet helped me in one of the matrix issue. How should I control the total and subtotal values for a hierarchy? I have posted it in community but it seems no one is that smart enough to crack it down.

  • @luankim9267
    @luankim9267 Рік тому

    This is awesome! What if I wanna see the data of "United States" in International as well?

    • @seonggkim
      @seonggkim 7 місяців тому

      Write code for "AND" or "OR" in the Dax code

  • @tomasgemine6470
    @tomasgemine6470 Рік тому

    Hey guys! Love this...
    Ive been trying to get round RLS in my organisation, but keep stumbling with my project. I wonder if you could help.
    Scenario: im building a Performance Mi dashboard for my organisation, but our data policy doesn't allow us to store personalised information on powerBi and publish it to the Service. Therefore, I'm not allowed to store email address details in the dashboard.
    The dashboard works off of a direct query to a SQL database to extract the performance data.
    Are you aware of a way for a published PowerBi dashboard to identify the user, alter the Direct Query and only extract that individuals data from the SQL Database?
    Love the content, you guys are Heros!

    • @beyondtruthandlies
      @beyondtruthandlies Рік тому

      Hey Thomas, could you be a little more specific? You are not allowed to store personal information on Power Bi plus you are using direct query right? In direct query power bi is not storing the data. But could you please tell me if your database has any username aur email ID details?

  • @rishabhjain6274
    @rishabhjain6274 6 днів тому

    I want to add 100 RLS to Power BI, is there any quick method to do that, or I just need to type in one by one? Can we post this idea to MS Power BI Team, to bulk upload RLS from excel to Power BI?

  • @manuprakash1989
    @manuprakash1989 Рік тому

  • @beyondtruthandlies
    @beyondtruthandlies Рік тому +2

    I would still prefer Dax version though.

  • @krishnakishorepeddisetti4387
    @krishnakishorepeddisetti4387 Рік тому +1

    I still can't see this in power bi desktop... How to enable it... Can anyone help me?

  • @andrewponting8998
    @andrewponting8998 Рік тому

    Will this remove the old dax rls? I currently have one master role which feeds into an excel sheet. The sheet then lists the users and all their different access rights. This made it easier to maintain as have over 100 different views and only need to update an excel row and not create a new role

  • @mallikareddy8330
    @mallikareddy8330 Рік тому

    Hi Patrick

  • @BootleggedBatman
    @BootleggedBatman Рік тому

    @guyinacube I wonder if we can use report parameters as the value in the dax expression

    • @beyondtruthandlies
      @beyondtruthandlies Рік тому

      Which report parameters you are talking about? Generate series one?

    • @BootleggedBatman
      @BootleggedBatman Рік тому

      @@beyondtruthandlies sorry I meant dataset parameters (transform data > manage parameters)

    • @beyondtruthandlies
      @beyondtruthandlies Рік тому

      @@BootleggedBatman Report parameters can only be used in the M Query part. I too wish we could have used it in the DAX.

  • @eli57398
    @eli57398 7 місяців тому

    Q: I tried dynamic rls using username and principalname however microsoft says using their power bi server automatically makes it look for email. However in my company its set up as domain\username without email address. How do I create the proper rls with username for power bi server? tx ps i am using power bi may 2023

  • @roberttyler2861
    @roberttyler2861 Рік тому

    I feel like this isn't that new? or are we strictly talking about the switching between dax editor

  • @leecolbert7943
    @leecolbert7943 Рік тому

    What version is that? I just installed 2.115.663.0 and I'm not seeing the same menu items in Manage Roles.

    • @walidmediouni6889
      @walidmediouni6889 Рік тому

      Same question here!

    • @dezcraft_dev
      @dezcraft_dev Рік тому +2

      You may need to enable the feature in the preview from options panel

    • @leecolbert7943
      @leecolbert7943 Рік тому

      @@dezcraft_dev Much appreciated, I'll give that a try.

  • @jomojomo123
    @jomojomo123 Рік тому

    I wish MS would just let us bulk import RLS... who cares about a different GUI for entering the data, just let us import it as some sort of flatfile!

    • @jomojomo123
      @jomojomo123 Рік тому

      Also is anyone else finding the new preview RLS editor (shown in the vid) as super slow to load your existing roles when you open it? Unusable nearly...

  • @anisnaim4947
    @anisnaim4947 Рік тому

    Why always changing to more simple stuff which make sense but with putting "old" users to possible misleading approach.
    I would feel better with the option to DAX activated by default. Anyway it is still a good move for non DAX users.

  • @Charlie888
    @Charlie888 Рік тому