ministryofjustice / analytical-platform

Analytical Platform • This repository is defined and managed in Terraform
https://docs.analytical-platform.service.justice.gov.uk
MIT License
8 stars 4 forks source link

📉 PowerBI in AP: Implement requirements for PowerBI Desktop #2451

Closed julialawrence closed 5 months ago

julialawrence commented 8 months ago

User Story

As a user of Analytical Platform, I would like to be able to publish visualisations of my AP data using PowerBI Gateway

Value / Purpose

PowerBi is the preferred tool for this purpose across MOJ and has a high rate of adoption across the org, so being able to use it would improve AP customers' experience.

Useful Contacts

@julialawrence

User Types

Analytical Platform Users

Proposal

This story captures the implementations of the authoring workflow drawn here: https://mojdt.slack.com/archives/C062MEEF5SQ/p1699457775225609?thread_ts=1699456879.652999&cid=C062MEEF5SQ

Screenshot 2023-11-21 at 08 14 04

Components to create are as follows:

There are complicated factors about how the iam policy is to be managed since we can't simply use the same IAM policy object as that is defined as an inline policy. Meaning, as part of the work, we need to consider how to keep the iam policy used by the permission set aligned to the alpha role permissions.

Additional Information

The workflow mentions a critical assumption that all readers/authors of the report have the same set of permissions. This assumption isn't correct, however, the requestor will appoint a master author of the report who will have access to the full data and then will utilise capability native to PowerBI to partition the report with smaller subsets of data. As members of the DPAT team, we are not implementing that portion of the solution: that will sit with the customer.

Definition of Done

julialawrence commented 8 months ago

Need more clarity on who the point of contact and master owner is.

andrewc-moj commented 8 months ago

Hey @julialawrence - sorry about the delay - we have four github usernames from Finance in order to copy permissions. Hope i'm putting this in the right issue for you.

Their names and associated usernames are:

Winnie Sibanda: clr65o Mark Bettis: MBETTIS Daniel Ukponmwan: sov67j Hasaam Khan: gzm57i

I told Winnie that they will (likely, though i'm not sure) have to make requests for Power BI desktop (if they don't have already) and the ODBC drivers. Please advise as and when it's necessary.

andrewc-moj commented 7 months ago

Hi @julialawrence - Anis asked me to additionally add usernames from Data and Analytics engineering teams:

myself andrewc-moj Gwion Aprhobat gwionap Ben Waterfield benwaterfield Phil Hall phil-hall-moj Chris Sheldon Csheldon155

jacobwoffenden commented 6 months ago

me and @Gary-H9 have picked up this ticket

we've so far in analytical-platform-development:

Gary-H9 commented 6 months ago

Note: We need to destroy the click'opsed Windows EC2 instance in analytcial-platform-development called powerbi-desktop. Added to Definition of Done.

jacobwoffenden commented 6 months ago

Moving back to blocked as unclear how to proceed, work has been done but can't find any documentation

Gary-H9 commented 6 months ago

Initial work done on team configuration in terraform was in this branch.

Gary-H9 commented 6 months ago

Awaiting details from Gwion as per this thread. When these are provided they need to be added to this branch - add-powerbi-author.

julialawrence commented 6 months ago

If we don't get ublocked by end of sprint, these go to the backlog and another story raised to test with DMET. Testing is 1 meeting for 2 hours.