Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PowerShell] Publish-FinOpsHubReport #253

Open
Tracked by #123
flanakin opened this issue Aug 19, 2023 · 0 comments
Open
Tracked by #123

[PowerShell] Publish-FinOpsHubReport #253

flanakin opened this issue Aug 19, 2023 · 0 comments
Labels
Status: ⛔ Blocked Progress blocked on another change Tool: FinOps hubs Data pipeline solution Tool: PowerShell PowerShell scripts and automation Type: Feature 💎 Idea to improve the product

Comments

@flanakin
Copy link
Collaborator

flanakin commented Aug 19, 2023

📝 Scenario

As a hub admin, I need to publish a Power BI report in order to make it available to all stakeholders

💎 Solution

Create a Publish-FinOpsHubReport command that downloads FinOps hub reports, publishes them to the Power BI service, and optionally connects them to a hub instance.

Blocked

Synopsis

Publishes a report to the Power BI service and optionally connects it to a FinOps hub instance.

Syntax

Publish-FinOpsHubReport `
    [-Name] <string> `
    [-HubName <string>] `
    [-ResourceGroupName <string>] `
    [-Version <string>] `
    [-Preview] 

Description

The Publish-FinOpsHubReport command publishes a report to the Power BI service. If the -Name is a file path to a PBIX file, that custom report will be published. If the -Name references a FinOps hub report name, the report will be downloaded and published. If a hub instance is specified either via -HubName or -ResourceGroupName, the report will be connected to that hub instance. If a hub instance is not specified, the report will contain sample data.

Parameters

Parameter Description
-Name Required. Name of the Power BI report or a path to a custom PBIX file to publish.
-HubName Optional. Name of the hub instance to connect to. Default = none.
-ResourceGroupName Optional. Name of the resource group the FinOps hub is deployed to.
-Version Optional. Version to download. Default = Hub instance version or "latest", if not specified.
-Preview Optional. Indicates whether to include preview releases when -Version is "latest". Ignored when a specific version is specified. Default = false.

ℹ️ Additional info

Use the Download-FinOpsHubReport to get the download the report. Use the version of the hub instance when downloading a specific version. If not specified, use the latest version.

We should be able to use New-PowerBIReport to publish the report.

We might be able to update the query parameters via the Set-PowerBIDataset command. We need to confirm.

🙋‍♀️ Ask for the community

We could use your help:

  1. Please vote this issue up (👍) to prioritize it.
  2. Are there any parameters that are missing?
  3. Leave comments to help us solidify the vision.
@flanakin flanakin added Type: Feature 💎 Idea to improve the product Tool: PowerShell PowerShell scripts and automation Tool: FinOps hubs Data pipeline solution labels Aug 19, 2023
@flanakin flanakin changed the title [PowerShell] Publish-FinOpsHubReport function to download, connect, and publish Power BI reports [PowerShell] Publish-FinOpsHubReport Aug 19, 2023
@flanakin flanakin moved this from 🆕 New to 🔖 Ready in FinOps toolkit – PowerShell module Aug 28, 2023
@flanakin flanakin added the Status: ⛔ Blocked Progress blocked on another change label Aug 28, 2023
@flanakin flanakin moved this from 🔖 Ready to 📋 Backlog in FinOps toolkit – PowerShell module Aug 28, 2023
@flanakin flanakin added this to the Toolkit 0.0.1.3 milestone Aug 29, 2023
@flanakin flanakin removed this from the 0.4.1 milestone Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: ⛔ Blocked Progress blocked on another change Tool: FinOps hubs Data pipeline solution Tool: PowerShell PowerShell scripts and automation Type: Feature 💎 Idea to improve the product
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant