Adding user-based security using a user filter
We will begin our exploration of RLS options in Tableau by looking at how to create a user filter inside Tableau.
We will be creating our user filter in Tableau Desktop. Tableau Desktop will need to be connected to the Tableau Server or Cloud instance we used in the earlier exercises in this chapter. The user filter can only be created when Tableau Desktop is connected to retrieve a list of users:
- Open Tableau Desktop and connect to data to start. Select To a File | Text file, find the
Product Sales.csv
file that we downloaded from GitHub, and click OK. We should now be on the data source page, as shown in Figure 11.21:
![Figure 11.21 – Data source page connected to product sales](https://static.packt-cdn.com/products/9781803248028/graphics/image/B18338_11_21.jpg)
Figure 11.21 – Data source page connected to product sales
- If you aren’t already signed into the appropriate Tableau Server or Cloud instance, from the menu bar, click on Server | Sign in…, as shown in Figure 11.22, and sign in. Once you have signed...