@@ -509,6 +509,48 @@ preference.
509
509
> If you run into errors, make sure that you have successfully entered in your distribution group's ID in the admin
510
510
settings within the admin app.
511
511
512
+
513
+ ## Monitor office absences with Power BI
514
+ Once you have the app deployed and people start to notify that they will be out of the office for various reasons (such
515
+ as being sick or working from home) you can now use a Power BI report to track how many and where those people are located.
516
+
517
+ To start, you can use the sample report 'Presence status report.pbix' available from the downloaded [ assets package] ( #prerequisites ) .
518
+ If needed, download Power BI Desktop from https://powerbi.microsoft.com/downloads/ . We will also need some information from
519
+ the 'CI_Employee Status' SharePoint list created before, so let's get to it first. Open the list in your site and select List
520
+ Settings under the settings icon:
521
+
522
+ ![ Employee Status List Settings] ( media/sample-crisis-communication-app/PBI-001-SharePointList-ListSettings.PNG )
523
+
524
+ Take a note of the site name and the list id on the browser address bar:
525
+
526
+ ![ Employee Status List and Site Id] ( media/sample-crisis-communication-app/PBI-002-SharePointList-AddressAndId.PNG )
527
+
528
+ At this point we are ready to open the Power BI report; launch Power BI and open the 'Presence status report.pbix'
529
+ file. Move the mouse over the right side of the CI_Employee Status data source until you see the ellipsis, select
530
+ it and select the 'Edit query' option:
531
+
532
+ ![ Edit Query] ( media/sample-crisis-communication-app/PBI-003-PowerBI-EditQuery.PNG )
533
+
534
+ Once the Power Query editor is opened, right-click the CI_Employee Status data source, and select "Advanced Editor":
535
+
536
+ ![ Power Query Advanced Editor] ( media/sample-crisis-communication-app/PBI-004-PowerQuery-AdvancedEditor.PNG )
537
+
538
+ Here is where we will use the site name and list id from the SharePoint list: copy the new SharePoint site in the
539
+ table (1), and the list id in the three places where we have a GUID (2), and select Done.
540
+
541
+ ![ Power Query Advanced Editor Updates] ( media/sample-crisis-communication-app/PBI-005-PowerQuery-AdvancedEditorUpdates.PNG )
542
+
543
+ Finally, select 'Close & Apply' to update the report to pull data from your SharePoint list.
544
+
545
+ ![ Power Query Close and Apply] ( media/sample-crisis-communication-app/PBI-006-PowerQuery-CloseAndApply.PNG )
546
+
547
+ We now have a Power BI report that shows both the geographical information for office absences for the current day, and
548
+ a trend of such absences over many days. We can now publish the report so other people in the organization can see it.
549
+
550
+ ![ Power BI Publish Report] ( media/sample-crisis-communication-app/PBI-007-PowerBI-Publish.PNG )
551
+
552
+
553
+
512
554
## Integrate your app into Teams
513
555
Now that you have a functioning app that has been shared with everyone, you can deploy the app using Teams and create
514
556
a crisis management team within Microsoft Teams to respond to issues.
@@ -570,3 +612,5 @@ To add the Power BI report:
570
612
1 . Search for and select your Power BI report
571
613
1 . Select ** Save**
572
614
615
+
616
+
0 commit comments