How to set different access levels for dashboard data in Google Data Studio - google-data-studio

Lets assume I am creating a google DataStudio dashboard for a sales data which is having sales records for countries.
For each country has a country manager and they are assign to single supervisor in Head Office.
My question is:
Can we develop a Google DataStudio DashBoard which is capable to restrict data only relevant to a particular country if it is viewing by a country manager and to show whole data relevant to all countries if it is viewing by the supervisor of country managers?

There is no easy solution to have a page-level permission, but there are three options.
Break up the report in to separate ones (this is the most simple solution, although it creates multiple reports)
Use Viewer's credentials instead of Owners’ credential (You must grand viewers access to your gbq data source, which is not ideal in most cases)
Filter by email (This works for small number of users, but quite cumbersome for multiple users)
For the option one, you can break up one "master report" that has all pages, and creating multiple sub-reports by using URL embedding by page

In your Data Source, create a column called "e-mail" and populate it with the e-mail address of the manager that you want to be able to see that particular line.
After you do this, use the "Filter by email" option in the Data Source:
And select the field you just created:
And there you are. Your data will only be searchable by the person you selected, based on the email they are using to access the dashboard.
If you want more than one person to be able to see a particular data, you'll need to duplicate the respective lines in the Data Source.

Related

Enabling view of Google data studio based on hierarchy

I have a Google data studio dashboard that I have created for all sales employees within my org. I have setup such that each user can view their performance data based on the Filter by Email setting in the data source tab.
I however am trying to see if I can have this configured such that each teams managers can also view their team members dashboard view. I am not sure if this can be configured or setup in Google Data Studio.
I have the data for this data studio dashboard rendered from a Google sheet.
Good news, this is totally possible. Google has an article on how to set up a multiple email address filter, here is the link: Filter by multiple email addresses per row. In summary, you should created an access control list (ACL) table which you can then blend with your underlying data in Google Data Studio.
For your specific use case, I'd recommend creating an additional sheet within your Google Spreadsheet that outlines various sales staff and their related managers to import into GDS.
Your ACL table could look something like this
Access Email
Join Key
Manager#email
SalesRep1
SalesRep1#email
SalesRep1
Manager#email
SalesRep2
SalesRep2#email
SalesRep2
Once the data is blended in GDS and your filter is updated, employees would be limited to their own data, while the manager would be able to access and view all employees under their purview.

Google Data Studio - User Specific Dashboard

We have a Health Information system where about 75+ users login to the system from different healthcare facilities and register patients for different health care services. I wanted to create aggregated data dashboard using google data studio for specific health facility where they can see ONLY details related to the their institution. Is there way to create such customized dashboard in data studio ?
Thanks in advance
Yes, it is possible. See updated instructions:
Add a filter to the table. See attachment #1.
Set up parameters for your filter as shown in attachment #2. Click Save.
As a result you will see, that your table shows data limited to one facility. See result here.
Repeat the process for all facilities on separate reports.

Row level filtering with Data Studio and BigQuery - Sharing the dashboard with external users

In order to create external users data-studio dashboard using row level premissions method I followed the instructions here: https://developers.google.com/datastudio/solution/row-level-filtering.
Everything is working fine ,until I got to the sharing part:
Make the dashboard available to users
In order to share the dashboard with external users I need to share the connector script.
Is there a better & safer way to share the dashboard with exteranl users using row level premission method ?
The ability to Filter by email address (Provide row-level security to the data for signed-in users) was released today (13 Feb 2020).
Quoting the steps from the support page:
Create an email filter
1. Edit your data source.
2. In the upper left, click FILTER BY EMAIL.
3. Turn on Filter data by viewer email.
4. Select the field in your data source that contains viewer email addresses.
5. To return to the data source editor, click ALL FIELDS.

Trouble showing list of users and customers in view model?

I am creating a web app on MEAN stack and for some reason i have to save two different schema in same collection named "users" and saved the userSchema and customerSchema in that collection in mongoose but in view model while listing the data in user list it shows users as well as customers which is saved in the collection. I want to display users list in and customers list in separate pages.
Can anyone guide me for this problem ??
Thank you in advance!
You have two options: you can either separate the server side queries and have two API calls, or you can use an angular filter (ng-filter) to display only one type in your table. If you're primarily going to be displaying only one type of user per page, I would suggest separating on the server side, to reduce the data transferred to the client, and to allow for improved security (for example if details of one type of user should not be publicly visible)

Can I include a custom payload or value with amazon affiliate links?

I'd like to be able to tag affiliate links with some extra information so that I can map successes to information inside of my system.
Is there any way I can include a custom identifier or payload of data with the affiliate link that Amazon will allow me to inspect when I receive a report of successful sales?
The only thing I found is the tracking ids from
Manage Your Tracking IDs page.
However this ids are limited to 100 values by default (you need to contact amazon for more). This is what they answered me:
I understand you'd like to view reporting within Products Advertising
API.
All reports are housed on your Associates account for you to view the
activity of your links.
We do offer multiple tracking IDs so that Associates can track the
activity of individual links easily and accurately.
You can create up to 100 tracking IDs in your account by visiting the
Account Settings section of Associates Central. You'll find a link in
the Account Information section labeled Manage your tracking IDs:
https://affiliate-program.amazon.com/gp/associates/network/your-account/manage-t...
Once you've created your additional tracking IDs, to view these IDs,
please log into Associates Central (http://associates.amazon.com).
Once logged in, click on the drop down box under Tracking ID to change
which ID you are working with.
If you are interested in receiving more than 100 tracking IDs, please
first create this amount via your associate account in Associate
Central. If you have already created 100 tracking IDs in your account
and are needing additional tracking IDs, please use the link below to
write back to us with a detailed description of how you'll be using
these additional ID:

Resources