Practice Lab 3.3 – Dashboards

Scenario

You are a Power Platform functional consultant and have been assigned to the Fabrikam project for the next stage of the project.

In this practice lab, you will be creating an interactive dashboard and adding it to a Fabrikam Environment model-driven app.

You will be:

  • configuring security for dashboards
  • creating an interactive dashboard
  • enabling Power BI quick reports in the app

Exercise 1 – Dashboard security

In this exercise, you will assign security roles to the existing dashboard.

Task 1.1 – Assign roles to dashboard

  1. Navigate to the Power Apps Maker portal https://make.powerapps.com.

  2. Make sure you are in the Practice environment.

  3. Select Solutions.Click to open the Fabrikam Environmental solution

  4. In the Objects pane on the left, select Dashboards. You should see a single dashboard.

  5. Select the Environmental Results dashboard (do not open it) and click on Enable security roles.

  6. Select the Display only to these security roles radio button.

  7. Deselect all security roles.

  8. Select the following security roles:

    • Environmental user
    • System Administrator
    • System Customizer
  9. Click OK.

  10. Click Publish.

Exercise 2 – Create an interactive dashboard

In this exercise, you will create an interactive dashboard for Projects.

Task 2.1 – Create a dashboard

  1. Navigate to the Power Apps Maker portal https://make.powerapps.com.

  2. Make sure you are in the Practice environment.

  3. Select Solutions.Click to open the Fabrikam Environmental solution

  4. In the Objects pane on the left, click and expand Tables.

  5. Select the Project table.

  6. Under Data experiences, click on Dashboards.

  7. Click + New Dashboard > 2-Column overview

  8. Enter Project Tracking for Name

  9. Select Scheduled End in the Filter By drop-down.

  10. Select This Quarter in the Time Frame drop-down.

  11. In the first pane under Visual Filters, click on the chart icon.

  12. Select the Projects by Status and Type chart and click Add.

  13. In the Streams pane, click on the Stream icon.

  14. Select the My Active Projects view and click OK.

  15. In the toolbar click on Stream.

  16. Select the Active Projects view and click OK.

  17. In the toolbar at the top, click Stream.

  18. Select the Completed Projects view and click OK.

  19. Click Save.

  20. Click Close.

  21. Click Done.

  22. In the Objects pane on the left, select All.

  23. Click on Publish all customizations.

Exercise 3 – Enable Power BI quick reports

In this exercise, you will be enabling the feature that uses Power BI to create a report from a model-driven app view.

Task 3.1 – Environmental Project Delivery app settings

  1. Navigate to the Power Apps Maker portal https://make.powerapps.com.

  2. Make sure you are in the Practice environment.

  3. Select Solutions.

  4. Click to open the Fabrikam Environmental solution.

  5. In the Objects pane on the left, click and expand Apps.

  6. Select the Environmental Project Delivery app, click on the ellipses (…), and select Edit in new tab.

  7. In the action bar, select Settings.

  8. Select Features.

  9. Toggle Enable Power BI quick report visualization on a table to Yes.

  10. Click Save.

  11. Click Publish.

  12. Click Play. Explore the Environmental Project Delivery app.

  13. Close the app and the app designer tabs.

  14. Click Done.

Exercise 4 – Solutions

In this exercise, you will export the solution from the Practice environment and import it into the MOD Administrator’s environment.

Task 4.1 – Export managed solution

  1. Navigate to the Power Apps Maker portal https://make.powerapps.com.

  2. Make sure you are in the Practice environment.

  3. Select Solutions.

  4. Select the Fabrikam Environmental solution but do not open it.

  5. Select Export solution.

  6. Click Next.

  7. The version number should have been incremented to 1.1.11.8.

  8. Select Managed for Export As.

  9. Click Export.

  10. The export will be prepared in the background. When the solution is ready, click the Download button.

Task 4.2 – Export unmanaged solution

  1. Select the Fabrikam Environmental solution.

  2. Select Export solution.

  3. Click Next.

  4. The version number should have been incremented to 1.1.11.9.

  5. Select Unmanaged for Export As.

  6. Click Export.

  7. The export will be prepared in the background. When the solution is ready, click the Download button.

Task 4.3 – Import managed solution

  1. Switch environments by using the Environment Selector in the upper right corner of the Maker portal.

  2. Select the MOD Administrator’s Environment environment from the list.

  3. Select Solutions.

  4. Select Import solution.

  5. Select Browse, change to the Downloads folder and select FabrikamEnvironmental_1_1_11_8_managed.zip and select Open.

  6. Click Next.

  7. Click Import. The solution will import in the background.