is it possible to embed looker show or any visulazation on thec ustomer in-app? how can we restrict it to the customer data only? - mobile

We have some mobile app, and we want to give the customers some nice graphs & visualizations about their status.
I would like to to build some dashboard in looker and embed it on the mobile, while each user can only see his owd query result. is it possible?
if so, is looker knows to cache results, or will any user cause it to fetch the DB?

Related

how to display users specefic data when users loggin to my website?

i'm building an investement website for my client and i need to display personal investement chart for each client depending on there username account on there profile page.
i tried ninja chart pluggin but it display the same chart for all users and not a sprecific one depending on there user name.
Thank you all.

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.

Is this possible to create a private report filtering in Data Studio embeded report

I created a report in DataStudio and embedded it on my website. I activated the option "anyone with the link can view" so this report will be visible to my website users.
But I need to show my website users different data depending on their user ids and more important I don't want users would be able to see other users' data so if I used URL filtering users would be able to breach and search another user id to see his data.
Does anyone have a solution for this scenario?
In Google documentation I saw an option to limit the report to users in my domain, I assume this will solve this issue, but I don't find how to restrict other domains.
Users are logged onto Google
If users of your website are already logged onto Google, use the Filter by email address guide from Data Studio help center. This requires you to setup FILTER BY EMAIL and then have a field in your data can be directly used as an email filter.
Users are not logged on to Google
If you want a solution where the users don't have to be logged onto Google, you will need to:
Create a Community Connector to pass the filtered data to your users. The connector should accept a short lived token as part of the config.
Create a dashboard with your connector and pass unique short-lived tokens for each user.
You should have an endpoint that returns the current user's data based on the token provided. Alternatively, the endpoint can return only the user's identify and you can query a secondary data source with a service account filtering for the user's identity.
Your connector should call your endpoint to fetch data only for the user/for the user's identity.
This official guide demonstrates how to implement this in more details.
Disclaimer: I work in the Data Studio team and wrote the above guide.
First option is to add extra 2 fields to your data source.
User_ID
Password
For example:
Data, User_ID, Password
$10,Daniel,123
$20,Alex,456
In your dashboard, you need to create two parameters:
User_ID_Parameter
Password_Parameter
Both parameters can set the default value to null, and accepts any values.
Then create a new calculated field:
CASE
WHEN REGEXP_MATCH(User_ID,USER_ID_Parameter) AND REGEXP_MATCH(Password,Password_Parameter) THEN 1
ELSE 0
END
Then create a new filter to the chart that you want to hide:
To include the above calculated field Equal to 1
Second option is to use the Data Studio default Row Level Security
The only caveat is the users need to sign in before they can view the report.

How to show selective UI features?

I have a UI that needs to either show icons on a timeline view or not based on user profile. How can I show for some users and not for others? For example : the Sports Admin team needs to see the scores of all teams over time in the view (showing all years visually) but the players (when they login to the same web app) only see the timeline view with their team's performance over the years (not other details for a particular year). How can I achieve this? I am using Angular JS and javascript
I have looked into role based SSO login and show selectively and also cookies. My goal is faster performance - meaning the page needs to load fast.
I was able to find a solution for the problem above that we have been facing. After many design sessions, the best approach was to have a "User Settings" link that would save the preferences at a backend database per user id that's already captured via SSO login. The backend returns data based on the user settings as the queries to get data from backend are now made dynamic to take the selections from User Settings into account while querying the backend. As a result the front end shows data specific to user.
Tested this and seems to work perfectly without any affecting any page load performance whatsoever.

Resources