avatarCndro

Free AI web copilot to create summaries, insights and extended knowledge, download it at here

1582

Abstract

ter for our report, we then locate the <b>Server</b> on the menu tab and click on <b>Create User Filter</b></p><figure id="22d6"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/0*5osWLnG3JxVG0iBr.png"><figcaption></figcaption></figure><p id="17f0">3)Under the create user filter, we will create users to assume the exact region data they will have access to view. Therefore one user maps to any given row of data.</p><p id="af1e">4)After we’re done we then add our <b>Manager with Region</b> <b>filter </b>we created to the Filters Pane.</p><figure id="3651"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/0*mP1hQxqFqOiRq6X0.jpeg"><figcaption></figcaption></figure><p id="e941">5)After this, we put this in a dashboard and publish it again to the server. We must ensure to apply our filter to be active on all worksheets using the related data source, so all users can view data designated to them.</p><p id="f00f">Note, <a href="https://help.tableau.com/current/pro/desktop/en-us/publish_userfilters.htm#:~:text=Tableau%20offers%20the%20following%20approaches,as%20your%20user%20base%20changes.">Tableau</a> offers the following approaches to row-level security:</p><ul><li><b>Create a user filter and map users to values manually</b>; This applies to an example we demonstrated above. This method is convenient but high maintenance. It must be done per workbook, and we must ensure to update the filter and republish the data source as our user base changes.</li><li><b>Create a dynamic filter using a security field in the data</b>; In creating a

Options

dynamic filter, we create a calculated field that automates the process of mapping users to data values. This method usually requires that the underlying data include the security information we want to use for filtering.</li></ul><p id="19c5">The most common way to do this is to use a reference (“look-up,” “entitlements,” or “security”) table that contains this information.</p><p id="32cc">We must also know that Row-level security with extracts is faster to create and have better performance than Row-level security with data sources that use live connections.</p><p id="da8f">How do you secure your data in Tableau? Let us know in the comments section.</p><p id="01e0">If you enjoy reading stories like these, and want to support our writers, consider signing up to become a Medium member. It’s $5 per month, giving you unlimited access to stories on Medium. If you sign up using our link, we’ll earn a small commission.</p><div id="f456" class="link-block"> <a href="https://medium.com/@cndro/membership"> <div> <div> <h2>Join Medium with my referral link - Cndro</h2> <div><h3>Read every story from Cndro (and thousands of other writers on Medium). Your membership fee directly supports Cndro and…</h3></div> <div><p>medium.com</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/0*NuhpV-b6AZBx1Coy)"></div> </div> </div> </a> </div></article></body>

How to Set up Row-Level Security in Tableau

Photo by FLY:D on Unsplash

It is possible to restrict users’ views when you share workbooks to Tableau Server or Online. Those who have access to the workbook are the only ones who can see the data shown in the view. We can demonstrate this by using the row-level security in Tableau. Here, we apply a type of filter that allows users to specify which data any given person signed in to the server can view.

How to Set up User-based Filtering

We’ll be using one of our sales reports to demonstrate this. In this report, let’s say we’ll like to show the number of sales for different geographical regions. Also, we just want to assign each of our users to view their own designated region whenever they view the report.

The users won’t have access to other regions except for the ones they were given access to, we will follow the steps below on how to make this happen;

1)We first publish our report to the Tableau Server.

2)The next thing we need is to create a user filter for our report, we then locate the Server on the menu tab and click on Create User Filter

3)Under the create user filter, we will create users to assume the exact region data they will have access to view. Therefore one user maps to any given row of data.

4)After we’re done we then add our Manager with Region filter we created to the Filters Pane.

5)After this, we put this in a dashboard and publish it again to the server. We must ensure to apply our filter to be active on all worksheets using the related data source, so all users can view data designated to them.

Note, Tableau offers the following approaches to row-level security:

  • Create a user filter and map users to values manually; This applies to an example we demonstrated above. This method is convenient but high maintenance. It must be done per workbook, and we must ensure to update the filter and republish the data source as our user base changes.
  • Create a dynamic filter using a security field in the data; In creating a dynamic filter, we create a calculated field that automates the process of mapping users to data values. This method usually requires that the underlying data include the security information we want to use for filtering.

The most common way to do this is to use a reference (“look-up,” “entitlements,” or “security”) table that contains this information.

We must also know that Row-level security with extracts is faster to create and have better performance than Row-level security with data sources that use live connections.

How do you secure your data in Tableau? Let us know in the comments section.

If you enjoy reading stories like these, and want to support our writers, consider signing up to become a Medium member. It’s $5 per month, giving you unlimited access to stories on Medium. If you sign up using our link, we’ll earn a small commission.

Programming
Data Science
Technology
Software Engineering
Artificial Intelligence
Recommended from ReadMedium