Managing BI User and Data access
These pages inform you on:
- how to set up LUCS users and manage access to Power BI Data Warehouse.
- how you connect your reports to a database via either manual or automated means.
Power BI itself is supported by Microsoft. We highly recommend reading the official Power BI User Documentation by Microsoft as UI elements and procedures described below may change.
After the permissions setup on this page head over to Data Evaluation Template Use page to see how to connect to the data source.
Data Warehouse Permissions
The following steps explain how to create a login to enable users to access the reporting database.
To add a creator to the Luware DWH (Data Warehouse) group in the DB:
Create a user (may be created without UPN)
Reporting - SQL User for Data Warehouse accessProvide the rights for the viewer:
Web Configurator > Users > Agent/ Supervisor Roles > Reporting:Agent (to view the content of individual Agent-related tabs and data)
Service (to view the content of Service-related tabs and data)
Customer (to see the individual Customer-related tabs and data ).
→Also read the related Historic Reporting introduction for an explanation on types of tasks and their data points.
RBAC for Reporting Rights
Execute Data Loader to push existing Reporting Data into the DB.
SQL DataLoader Stored Procedure- You may now head over to the Data Evaluation Template Use chapter and familiarize yourself with accessing the Reporting Data.
Grant permissions to standalone user
It might be advisable to have a standalone user for BI access (e.g. to not loose password / access permissions). To create a new "standalone" BI viewer account, you need to add it as viewer user with UPN:
Access LUCS Configurator -> Users -> Users and add a new "viewer" user.
The UPN will be synchronized from Active Directory by the CIC component, if the user belongs to current Active Directory. When user belongs to another Active Directory, you need to enter UPN manually during the creation.
Provide the rights for the new "viewer" user / service::
Web Configurator > Users > Agent/ Supervisor Roles > Reporting:Agent (to view the content of Agent tabs)
Service (to view the content of Service tabs)
Customer (to see the CustomerPath Report which can contain Agent and Service Tasks).
Within database → Execute data loader (Execute Stored Procedure)
LUCS DB - Execute stored procedure to add reporting user data- Your new user should now be able to access Reporting Data.
Accessing the Data via Template
To access the database with your new Reporting DWH user, refer to the data evaluation template use
After setting up data access and permissions you may want to head over to Data Evaluation Template Use page and learn how to access and evaluate the data.
BI Users and Permissions
Precondition: The following users need to be set up in LUCS either with individual Role Based Access - RBAC permissions or managed as an AD group.
User | Description | LUCS Config | LUCS SQL DB Config | RBAC / RowLevelSecurity (RLS) | Power BI.com Config | Pro Licence needed | LUCS Supervisor Licence needed |
---|---|---|---|---|---|---|---|
1 | Managing the Workspace at PowerBI.com | Not required as LUCS user | Not required as LUCS user | RLS is working according to LUCS RBAC configuration | No action required. If this user shall also act as a reporting user → Refer to user 3..x Row Level Security Settings. |
|
|
2 | Mirrored user for LUCS / PowerBI.com
| Must be added as a LUCS User and RBAC configured
|
|
| In PowerBI.com
| No | No |
3...x | Added from "User 1" as a "Viewer" of individualized Reports. | added as a User and RBAC configured | added to DB (user or per AD Group) | Same configuration as User 2
|
|
|
|
When is the Power BI Gateway needed?
You might need a data gateway if your data sources are behind a firewall, require a VPN, or are on virtual networks. → Refer to the Microsoft Documentation.
Power BI Reporting Setup Steps
Precondition: These steps need to be done as User 1 (Reporting Workspace Manager / PowerBI.com Admin)
Create Power BI Workspace
- Log into your Power BI Pro Account (User 1)
- Go to "Workspaces"
- Click "Create a Workspace" and name it.
We will just call it "LUCS Reporting" in this example. You can of course pick any other name.
Confirm the creation → New Workspace is shown
New BI Workspace
Upload Reports via Power BI Desktop
- Open Power BI Client and the included Report Template
- In the Home Ribbon click on "Publish" → "Publish to Power BI"
In newer versions this Option might also appear in the "File" menu.
As your User 1 is already associated and logged into the BI account you can directly select your new "LUCS Reporting" Workspace
Wait for the Report Upload to complete.
The Report and the Dataset are now listed in your "LUCS Workspace" → You can continue with the next step.
Uploaded BI Report
Grant Access to Reporting Users
- Open the "Access" menu
- Either Add individual members or User Groups according to your local AD
Ensure that the permissions for all newly added users is set to "Viewer"
- Repeat these steps for all users that later need to access Reporting in a viewing role (e.g. Agents, Supervisors).
Refer to the Table above for the users. Note that
User 2 can be exempt from this.
- Close the Access menu
Configure DataSet
Optional Requirement: A PowerBI Gateway needs to be configured at this point if you are working behind a firewall, require a VPN, or are on virtual networks. Refer to the Microsoft Documentation.
- Click on your DataSet context menu and select "Settings" → Datasets Tab Opens
- Unfold "Data Source Credentials" and select "Edit Credentials"
- Enter your LUCS Configured credentials for User 2 (Data Source Credentials) into the form.
Unfold "Parameters" and enter the following information:
Parameter Description Database Name Your Azure Database Language Locale for the Date / Month descriptors MonthLimit How many months back data is retrieved ServerName Your LUCS server instance name TimeZone Used to calculate Data offset for end of day calculations
By default reporting data is stored with UTC0 offset
Version DB Version Parameters must be the same as in your configured BI Template via the "Home" Ribbon → "Transform Data" → "Parameters Section"Check with "Sign In" if the connection works, otherwise the next step will not work.
- Click "Apply" when done → The connection to the DB
- Unfold "Scheduled Refresh" and set your times when the Report should update with new data.
You can configure up to 8 Refreshes per day.
Configure RowLevelSecurity
- Click on your DataSet context menu and select "Security" → Row-Level Security View opens
Add users for Report viewing permissions for all users with a viewing role (e.g. Agents, Supervisors).
User 2 can be exempt from this.
Save and Close. →
Your Report is now ready to share.
Share your Report
- In your "LUCS Reporting" Workspace
- Locate your "Report"
Click on the "Share" icon → "Share Report" view opens
All users with with viewing permissions should already be added from the earlier "Grant Access to Reporting Users"
Read the notes provided in the "Share" view closely as it instructs who can now see this report.
This link is also used for the Reporting Dashboard of LUCS.
Sharing a BI Report URL