|
| 1 | +--- |
| 2 | +title: Configure Power BI dashboards | Microsoft Docs |
| 3 | +description: Provides an overview of how to configure the Power BI dashboards. |
| 4 | +author: ramanasridhar |
| 5 | +ms.service: powerapps |
| 6 | +ms.topic: conceptual |
| 7 | +ms.custom: |
| 8 | +ms.date: 06/15/2020 |
| 9 | +ms.author: ramanasr |
| 10 | +ms.reviewer: nkrb |
| 11 | +--- |
| 12 | + |
| 13 | +# Configure Power BI dashboards |
| 14 | + |
| 15 | +The Higher Education Crisis Financial Impact Tracker app is designed to collect data pertaining to sponsored research programs or projects. Researchers can use the app to submit projected lost effort and loss reasons organized by grant, employee, and pay period. |
| 16 | + |
| 17 | +By using Power BI, you can analyze and visualize the data from the app. The Power BI template described in this article pulls in the data that's collected by the Higher Education Crisis Financial Impact Tracker. |
| 18 | + |
| 19 | +These reports are intended to be used by directors, deans, and research administrators who will monitor the data collected on behalf of their respective departments, sponsors, and colleges or schools. |
| 20 | + |
| 21 | +## Prerequisites |
| 22 | + |
| 23 | +The Higher Education Crisis Financial Impact Tracker app pulls data from Common Data Service into this Power BI template, which empowers you to securely store, integrate, and automate the data for use with other business apps, including Power BI, Dynamics 365, and Power Automate. |
| 24 | + |
| 25 | +To use this Power BI template, you need these prerequisites: |
| 26 | + |
| 27 | +- Download the free [Power BI Desktop](https://powerbi.microsoft.com/desktop/) app. |
| 28 | + |
| 29 | +- Sign up for the [Power BI service](https://powerbi.microsoft.com/get-started/). |
| 30 | + |
| 31 | +- Create a Common Data Service environment with maker permissions to access the portal and read permissions to access data within the entities. |
| 32 | + |
| 33 | +You can configure Power BI dashboards in two ways: |
| 34 | + |
| 35 | +* [Using a blank report canvas](#configure-from-blank-report-canvas) |
| 36 | +* [Using a Power BI template](#using-power-bi-template) |
| 37 | + |
| 38 | +## Configure a Power BI report by using a blank report canvas<a name="configure-from-blank-report-canvas"></a> |
| 39 | + |
| 40 | +To configure a Power BI report by using a blank report canvas: |
| 41 | + |
| 42 | +1. Open Power BI Desktop. You might be prompted to **Sign in** to the Power BI service by using your work or school account. |
| 43 | + |
| 44 | + > [!div class="mx-imgBorder"] |
| 45 | + >  |
| 46 | +
|
| 47 | +2. Select **Get data** > **Power Platform** > **Common Data Service**, and then select **Connect**. |
| 48 | + |
| 49 | + > [!div class="mx-imgBorder"] |
| 50 | + >  |
| 51 | +
|
| 52 | + > [!div class="mx-imgBorder"] |
| 53 | + >  |
| 54 | +
|
| 55 | +3. Enter the **Server Url** that's specific to your Common Data Service environment. To get the Common Data Service environment URL, do the following: |
| 56 | + |
| 57 | + 1. Open [Power Apps](https://make.powerapps.com/?utm_source=padocs&utm_medium=linkinadoc&utm_campaign=referralsfromdoc), select the environment you're going to connect to, select **Settings** in the upper-right corner, and then select **Advanced settings**. |
| 58 | + |
| 59 | + 2. In the new browser tab that opens, copy the root of the URL. This is the unique URL for your environment. The URL will be in the format |
| 60 | + <https://yourenvironmentid.crm.dynamics.com/>. Be sure not to copy the rest of the URL. |
| 61 | + |
| 62 | + > [!div class="mx-imgBorder"] |
| 63 | + >  |
| 64 | +
|
| 65 | + > [!div class="mx-imgBorder"] |
| 66 | + >  |
| 67 | +
|
| 68 | +4. After you successfully connect to your environment, you can see the folders for **Entities** and **System** in the **Navigator**. Expand **Entities**, and select the check boxes for the following entities: |
| 69 | + |
| 70 | + - Account |
| 71 | + |
| 72 | + - Contact |
| 73 | + |
| 74 | + - msft_Campus |
| 75 | + |
| 76 | + - msft_College |
| 77 | + |
| 78 | + - msft_Department |
| 79 | + |
| 80 | + - msft_EmployeeCompensation |
| 81 | + |
| 82 | + - msft_Grant |
| 83 | + |
| 84 | + - msft_LossReason |
| 85 | + |
| 86 | + - msft_PayPeriod |
| 87 | + |
| 88 | + - msft_SponsoredProgram |
| 89 | + |
| 90 | + |
| 91 | + > [!div class="mx-imgBorder"] |
| 92 | + >  |
| 93 | +
|
| 94 | +5. After you finish selecting the list of entitites, select **Transform Data**. The Query Editor window opens with the selected tables and data loaded. |
| 95 | + |
| 96 | + > [!div class="mx-imgBorder"] |
| 97 | + >  |
| 98 | +
|
| 99 | +6. For each entity, select **Choose Columns** in the ribbon to open the console and select which fields to use in the data model and in reports.<!--Please note that images should never include information that isn't also available in text, either the main content or alt text. This is an accessibility requirement. Unfortunately, some of these lists are too long for alt text (which has a maximum of 220 characters), so I've converted them to lists. I'd appreciate your double-checking that they're accurate.--> |
| 100 | + |
| 101 | + > [!div class="mx-imgBorder"] |
| 102 | + >  |
| 103 | +
|
| 104 | + - The following are suggested fields for the Contact entity: |
| 105 | + - msft_annualbasesalary |
| 106 | + - msft_annualbasesalary_base |
| 107 | + - msft_annualtuitionreimbursement |
| 108 | + - msft_annualtuitionreimbursement_base |
| 109 | + - msft_contacttype |
| 110 | + - msft_department |
| 111 | + - msft_employmentclass |
| 112 | + - msft_showwelcomemessage |
| 113 | + - msft_userid |
| 114 | + |
| 115 | + - The following are suggested fields for the msft_Campus entity: |
| 116 | + - msft_campusdescription |
| 117 | + - msft_campusid |
| 118 | + - msft_campusname |
| 119 | + |
| 120 | + - The following are suggested fields for the msft_College entity: |
| 121 | + - msft_campus |
| 122 | + - msft_collegedescription |
| 123 | + - msft_collegeid |
| 124 | + - msft_collegename |
| 125 | + |
| 126 | + - The following are suggested fields for the msft_Department entity: |
| 127 | + - msft_college |
| 128 | + - msft_departmentdescription |
| 129 | + - msft_departmentid |
| 130 | + - msft_departmentname |
| 131 | + |
| 132 | + - The following are suggested fields for the msft_EmployeeCompensation entity: |
| 133 | + - msft_effortamount |
| 134 | + - msft_effortamount_base |
| 135 | + - msft_effortpercentage |
| 136 | + - msft_employee |
| 137 | + - msft_employeecompensationid |
| 138 | + - mstf_fte |
| 139 | + - msft_lossamount |
| 140 | + - msft_lossamount_base |
| 141 | + - msft_losspercentage |
| 142 | + - msft_lossreason |
| 143 | + - msft_name |
| 144 | + - msft_paygroup |
| 145 | + - msft_paygroup_display |
| 146 | + - msft_payperiod |
| 147 | + - msft_payrate |
| 148 | + - msft_payrate_base |
| 149 | + - msft_sponsoredprogram |
| 150 | + |
| 151 | + - The following are suggested fields for the msft_Grant entity: |
| 152 | + - msft_enddate |
| 153 | + - msft_grantdescription |
| 154 | + - msft_grantid |
| 155 | + - msft_grantnumber |
| 156 | + - msft_grantstatus |
| 157 | + - msft_grantstatus_display |
| 158 | + - msft_granttitle |
| 159 | + - msft_principalinvestigator |
| 160 | + - msft_startdate |
| 161 | + |
| 162 | + - The following are suggested fields for the msft_LossReason entity: |
| 163 | + - msft_lossreasoncode |
| 164 | + - msft_lossreasondescription |
| 165 | + - msft_lossreasonid |
| 166 | + |
| 167 | + - The following are suggested fields for the msft_PayPeriod entity: |
| 168 | + - msft_enddate |
| 169 | + - msft_payperiodcode |
| 170 | + - msft_payperioddescription |
| 171 | + - msft_payperiodid |
| 172 | + - msft_startdate |
| 173 | + |
| 174 | + - The following are suggested fields for the msft_SponsoredProgram entity: |
| 175 | + - msft_availablebalance |
| 176 | + - msft_availablebalance_base |
| 177 | + - msft_awardamount |
| 178 | + - msft_awardamount_base |
| 179 | + - msft_coprincipalinvestigator |
| 180 | + - msft_department |
| 181 | + - msft_effortlossimpactamount |
| 182 | + - msft_effortlossimpactamount_base |
| 183 | + - msft_effortlossimpactamount_date |
| 184 | + - msft_effortlossimpactamount_state |
| 185 | + - msft_effortlossimpactpercentage |
| 186 | + - msft_grant |
| 187 | + - msft_primesponsorname |
| 188 | + - msft_sponsoredprogramdescription |
| 189 | + - msft_sponsoredprogramid |
| 190 | + - msft_sponsoredprogramnumber |
| 191 | + - msft_sponsorname |
| 192 | + |
| 193 | +<!-- |
| 194 | + - Here are suggested fields for each Entity: |
| 195 | +
|
| 196 | + - Contact |
| 197 | + > [!div class="mx-imgBorder"] |
| 198 | + >  |
| 199 | +
|
| 200 | + - msft_Campus |
| 201 | + > [!div class="mx-imgBorder"] |
| 202 | + >  |
| 203 | +
|
| 204 | + - msft_College |
| 205 | + > [!div class="mx-imgBorder"] |
| 206 | + >  |
| 207 | +
|
| 208 | + - msft_Department |
| 209 | + > [!div class="mx-imgBorder"] |
| 210 | + >  |
| 211 | +
|
| 212 | + - msft_EmployeeCompensation |
| 213 | + > [!div class="mx-imgBorder"] |
| 214 | + >  |
| 215 | +
|
| 216 | + - msft_Grant |
| 217 | +
|
| 218 | +  |
| 219 | +
|
| 220 | + - msft_LossReason |
| 221 | + > [!div class="mx-imgBorder"] |
| 222 | + >  |
| 223 | +
|
| 224 | + - msft_PayPeriod |
| 225 | + > [!div class="mx-imgBorder"] |
| 226 | + >  |
| 227 | +
|
| 228 | + - msft_SponsoredProgram |
| 229 | + > [!div class="mx-imgBorder"] |
| 230 | + >  |
| 231 | +--> |
| 232 | + |
| 233 | +7. Select **Close & Apply** to close the Query Editor and apply the changes you made. |
| 234 | + |
| 235 | +8. You'll see the following screen in the Power BI report canvas. It might take several minutes for the queries to run. |
| 236 | + |
| 237 | + > [!div class="mx-imgBorder"] |
| 238 | + >  |
| 239 | +
|
| 240 | +9. After the changes are applied, the Power BI report canvas looks |
| 241 | +similar to the following screenshot, including the tables listed in the **Fields** panel on the |
| 242 | +right side of the page. |
| 243 | + |
| 244 | + > [!div class="mx-imgBorder"] |
| 245 | + >  |
| 246 | +
|
| 247 | +10. Select the icon on the left side of the page to open the **Model** view. You will see the tables that you selected. Use the slider in the lower-right corner to adjust the view size. |
| 248 | + |
| 249 | + > [!div class="mx-imgBorder"] |
| 250 | + >  |
| 251 | +
|
| 252 | + > [!div class="mx-imgBorder"] |
| 253 | + >  |
| 254 | +
|
| 255 | +11. On the **Home** tab, select **Manage Relationships** to open the console where you'll create new relationships among the entities. |
| 256 | + |
| 257 | + > [!div class="mx-imgBorder"] |
| 258 | + >  |
| 259 | +
|
| 260 | + When creating or editing relationships among entities, you select the tables and columns to be joined, in addition to the **Cardinality** and **Cross-filter** direction for the relationship. |
| 261 | + |
| 262 | + > [!div class="mx-imgBorder"] |
| 263 | + >  |
| 264 | +
|
| 265 | +13. To use the suggested fields in Common Data Service that are pertinent to the Power BI template, your relationship mapping between tables should look like the following. |
| 266 | + |
| 267 | + |From: Table | To: Table | |
| 268 | + |---|---|---| |
| 269 | + | msft_College (msft_campus) | msft_Campus (msft_campusid) | |
| 270 | + | msft_Department (msft_college) | msft_College (msft_collegeid) | |
| 271 | + | msft_EmployeeCompensation (msft_lossreason) | msft_LossReason (msft_lossreasonid) | |
| 272 | + | msft_EmployeeCompensation (msft_payperiod) | msft_PayPeriod (msft_payperiodid) | |
| 273 | + | msft_EmployeeCompensation (msft_sponsoredprogram) | msft_SponsoredProgram (msft_sponsoredprogramid) | |
| 274 | + | msft_SponsoredProgram (msft_coprincipalinvestigator) | Contact (contactid) | |
| 275 | + | msft_SponsoredProgram (msft_department) | msft_Department (msft_departmentid) | |
| 276 | + | msft_SponsoredProgram (msft_grant) | msft_Grant (msft_grantid) | |
| 277 | + |
| 278 | + > [!div class="mx-imgBorder"] |
| 279 | + >  |
| 280 | +
|
| 281 | +The following screenshot shows the Entity Relationship Diagram in the Model view. |
| 282 | + |
| 283 | + > [!div class="mx-imgBorder"] |
| 284 | + >  |
| 285 | +
|
| 286 | +## Configure a Power BI report by using a Power BI template<a name="using-power-bi-template"></a> |
| 287 | + |
| 288 | +The Power BI template contains sample data and interactive graphics in a .pbix file format that you can further edit and update in Power BI Desktop. Download the template from [GitHub](https://github.com/microsoft/powerapps-tools/blob/master/Apps/CrisisFinancialImpactTracker/PBITemplate.pbix). |
| 289 | + |
| 290 | +### Open the Power BI template |
| 291 | + |
| 292 | +When you open the template, you're greeted with a Power BI splash screen. You might also be prompted to **Sign in** to the Power BI service by using your work or school account. |
| 293 | + |
| 294 | +When you open the Power BI template, you'll see a series of tabs at the bottom of the report: |
| 295 | + |
| 296 | +- **Legal**: Contains Microsoft legal disclaimer. |
| 297 | +- **Home**: Contains sample text that you can use and modify according to yoru preference. |
| 298 | +- **Information**: Contains general information. |
| 299 | +- **FAQ**: Contains frequently asked questions. |
| 300 | +- **Submissions**: Opens the **Submissions Report** page. |
| 301 | + |
| 302 | +- **Sponsors**: Opens the **Impact by Sponsor Report** page. |
| 303 | + |
| 304 | +- **Department**: Opens the **Department** view. |
| 305 | + |
| 306 | +Your organization can add its logos to all pages in the template by inserting |
| 307 | +an image on the page and then copying it to other pages. More information: [Copy and paste a report visualization](https://docs.microsoft.com/power-bi/visuals/power-bi-visualization-copy-paste) |
| 308 | + |
| 309 | +## Connect to Common Data Service |
| 310 | + |
| 311 | +To use your own data collected by the Higher Education Crisis Financial Impact Tracker app, you need to update the data connection in the template. More information: [Create a Power BI report using the Common Data Service connector](https://docs.microsoft.com/powerapps/maker/common-data-service/data-platform-powerbi-connector) |
| 312 | + |
| 313 | +To change the data source, select **Transform data** to open Query Editor. In the **Applied Steps** of Query Editor, change the **Source** for each entity. Use the Common Data Service environment URL. |
| 314 | + |
| 315 | +## Report issues |
| 316 | + |
| 317 | +To report an issue with the Higher Education Crisis Financial Impact Tracker app, visit <https://aka.ms/crisis-financial-impact-tracker-issues>. |
| 318 | + |
| 319 | + |
0 commit comments