Creating relationships in your Power BI report involves linking data from QorusDocs, SharePoint, and Salesforce. This process is crucial if you want to be able to report on the full proposal process from content creation to utilization in a proposal for a prospect in your CRM.
Although we have focused on Salesforce for this example, you can follow similar steps in relating your CRM data or data from another system to your QorusDocs data in Power BI. For those using Salesforce, it is good to also point out that you are not limited to using just the "opportunity" Salesforce Object; you can in fact use any relevant object or data point. The key is understanding what basis to use for creating these relationships, ensuring your data is interconnected and your analysis insightful.
Managing Relationships
In the Webinar, you can find this section at 23:03
To kick things off, you will need to create relationships between all your data so that you can interact with it. To achieve this, follow the steps laid out below:
We begin by opening the “Manage Relationships” work area.
- Navigate to “Modeling”
- Select “Manage Relationships” in the top ribbon
- If there are any existing relationships found in the window that pops up, please delete them. These are automatically created by Power BI. We will be creating our own. Please note that the relationships shown in the screenshot below are in fact the relationships we will be creating.
- Once you’ve cleared the existing relationships, select “New” so you can define the relationships we’ll need for this report.
The first relationship we will create is between the “All Libraries Combined” and “Customer Activities” tables:
- Select the “All Libraries Combined” table – if you missed this part, click here.
- Scroll across to find and choose the “FieldValuesAsTextUniqueid” column.
- Next, select the “Customer Activities” table.
- Scroll to find and choose “Fieldid”.
- Choose a “Many to many(*;*)” relationship (cardinality).
- Check the “Make this relationship active” box.
- The cross-filter direction must be “Both”.
- Click “OK” once complete.
Next, we will relate the “Customer Activities” table to the “Content Used in Opportunities” table.
- Select the “Customer Activities” table.
- Use the “FieldID” column.
- Select the “Content Used in Opportunities” table.
- Use the “FieldID” column here, too.
- Set the Cardinality to “Many to Many”.
- Check the “Make this relationship active” box.
- Set cross-filter direction to “Both”.
- Click “OK” once complete.
Next up are the “Customer Activities” and “Content Used in Pursuits” tables:
- Select the “Customer Activities” table.
- Use the “FieldID” column.
- Select the “Content Used in Pursuits” table.
- Use the “FieldID” column here, too.
- Set the Cardinality to “Many to Many”.
- Check the “Make this relationship active” box.
- Set cross filter direction to “Both”.
- Click “OK” once complete.
Next, we have the “Customer Activities” to “SharedDocuments” tables:
- Select the “Customer Activities” table.
- Use the “FieldID” column.
- Select the “SharedDocuments” table.
- Use the “FieldID” column here, too.
- Set the Cardinality to “Many to Many”.
- Check the “Make this relationship active” box.
- Set cross filter direction to “Both”.
- Click “OK” once complete.
Then, there are the “Customer Activities” and “Pursuits” tables (please note the change in the Unique Identifier names here at points 2 and 4!):
- Select the “Customer Activities” table.
- Use the “PursuitID” column.
- Select the “Pursuits” table.
- Use the “ID” column here.
- Set the Cardinality to “Many to Many”.
- Check the “Make this relationship active” box.
- Set cross filter direction to “Both”.
- Click “OK” once complete.
Next, we need to relate the “Customer Activities” table to the “UserInfo” table – (please note the change in the Cardinality at point 5!):
- Select the “Customer Activities” table.
- Use the “UserID” column.
- Select the “UserInfo” table.
- Use the “ID” column here.
- Set the Cardinality to “Many to one (*;1)”.
- Check the “Make this relationship active” box.
- Set cross-filter direction to “Both”.
- Click “OK” once complete.
Then, we will relate the“Pursuits” to “PursuitSmartFields” tables – (again, please note the change in the Cardinality at point 5!):
- Select the “Pursuits” table.
- Use the “ID” column.
- Select the “PursuitSmartFields” table.
- Use the “PursuitID” column here.
- Set the Cardinality to “One to one (1;1)”.
- Check the “Make this relationship active” box.
- Set cross filter direction to “Both”.
- Click “OK” once complete.
Next, the “PursuitSmartFields” and “Opportunity” tables:
- Select the “PursuitSmartFields” table.
- Use the “OpportunityID” column.
- Select the “Opportunity” table.
- Use the “ID” column here.
- Set the Cardinality to “Many to Many”.
- Check the “Make this relationship active” box.
- Set cross filter direction to “Both”.
- Click “OK” once complete.
Then, the “ShareDocumentViews” to “SharedDocuments” tables:
- Select the “ShareDocumentViews” table.
- Use the “SharedID” column.
- Select the “SharedDocuments” table.
- Use the “ID” column here.
- Set the Cardinality to “Many to one (*;1)”.
- Check the “Make this relationship active” box.
- Set cross filter direction to “Both”.
- Click “OK” once complete.
And the last relationship to create is between the “UserInfo” and “User Information List” tables:
- Select the “UserInfo” table.
- Use the “EmailAddress” column.
- Select the “User Information List” table.
- Use the “EMail” column here.
- Set the Cardinality to “Many to Many”.
- Check the “Make this relationship active” box.
- Set cross filter direction to “Both”.
- Click “OK” once complete.
And there you have it. All your data is now connected to Power BI, been transformed so that it can be more easily manipulated and digested, and related so we can get some really powerful insights into your work bid response and proposal management processes.
Next is Part 4 - Calculations and formulas. This will cover the formulas we’ll need to drive the interactive report visuals.
Comments
0 comments
Please sign in to leave a comment.