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

Update all Power BI reports #1258

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/_reporting/power-bi/rate-optimization.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ Commitment discount chargeback, savings, and coverage.

- [Working with this report](#working-with-this-report)
- [Get started](#get-started)
- [Commitments](#commitments)
- [Savings](#savings)
- [Commitment discounts](#commitment-discounts)
- [Commitment discount savings](#commitment-discount-savings)
- [Chargeback](#chargeback)
- [Reservation recommendations](#reservation-recommendations)
- [Purchases](#purchases)
Expand Down Expand Up @@ -80,7 +80,7 @@ The **Get started** page includes a basic introduction to the report with additi

<br>

## Commitments
## Commitment discounts

The **Commitments** page provides a list of your commitment discounts and offers a summary of the quantity used, utilization, savings, and effective cost for the period.

Expand All @@ -90,7 +90,7 @@ The chart breaks down the cost of used (utilized) vs. unused charges. Unused cha

<br>

## Savings
## Commitment discount savings

The **Savings** page summarizes cost savings obtained from commitment discounts. Commitments are grouped by program and service.

Expand Down Expand Up @@ -121,7 +121,7 @@ The chart shows the amortized cost for each subscription that used a commitment.
### πŸ› οΈ Chargeback customization tips

- Consider changing the columns in the table based on your chargeback needs.
- If you use tags for cost allocation, create custom columns in the CostDetails table that extract their values, then add those as columns into the visual for reporting.
- If you use tags for cost allocation, create custom columns in the Costs table that extract their values, then add those as columns into the visual for reporting.
- Consider bringing in external data for additional allocation options.

<br>
Expand Down
22 changes: 11 additions & 11 deletions docs/_reporting/power-bi/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ FinOps toolkit reports manipulate the raw data to facilitate specific types of r
1. Download one of the FinOps toolkit reports.
2. Open the report in Power BI Desktop.
3. Select **Transform data** in the toolbar.
4. In the Queries list on the left, right-click **CostDetails** (or other query) and select **Copy**.
4. In the Queries list on the left, right-click **Costs** (or other query) and select **Copy**.
5. Open your report in Power BI Desktop.
6. Select **Transform data** in the toolbar.
7. Right-click the empty space in the bottom of the **Queries** pane and select **New group...**.
Expand All @@ -136,12 +136,12 @@ FinOps toolkit reports manipulate the raw data to facilitate specific types of r

At this point, you have the core data from the FinOps toolkit reports, extended to support Azure Hybrid Benefit and FOCUS reports. In addition to these, you may also be interested in the custom columns and measures that summarize savings, utilization, cost over time, and more. Unfortunately, Power BI doesn't provide a simple way to copy columns and measures. Perform the following for each column and measure you'd like to copy:

1. In the FinOps toolkit report, expand the **CostDetails** (or other table) table in the **Data** pane on the right.
1. In the FinOps toolkit report, expand the **Costs** (or other table) table in the **Data** pane on the right.
2. Select a custom column or measure, then copy the formula from the editor at the top of the window, under the toolbar.
<blockquote class="note" markdown="1">
_Be sure to make note if this is a column or a measure. Columns have a table icon with a "Ξ£" or "fx" symbol and measures have a calculator icon._<br>![Screenshot of the calculated column and measure icons in Power BI](https://user-images.githubusercontent.com/399533/216805396-96abae2d-473a-4136-8943-cac4ddd74dce.png)
</blockquote>
3. In your report, right click the **CostDetails** table and select **New measure** or **New column** based on what you just copied.
3. In your report, right click the **Costs** table and select **New measure** or **New column** based on what you just copied.
4. When the formula editor is shown, paste the formula using <kbd>Ctrl+V</kbd> or <kbd>Cmd+V</kbd>.
5. Repeat steps 2-4 for each desired column and measure.

Expand Down Expand Up @@ -194,23 +194,23 @@ The Cost Management template app does not support customization in Power BI Desk

## πŸ—οΈ Migrate from the Cost Management connector

The Cost Management connector provides separate queries for actual (billed) and amortized costs. In an effort to minimize data size and improve performance, the FinOps toolkit reports combine these into a single query. The best way to migrate from the Cost Management connector is to copy the queries from a FinOps toolkit report and then update your visuals to use the **CostDetails** table.
The Cost Management connector provides separate queries for actual (billed) and amortized costs. In an effort to minimize data size and improve performance, the FinOps toolkit reports combine these into a single query. The best way to migrate from the Cost Management connector is to copy the queries from a FinOps toolkit report and then update your visuals to use the **Costs** table.

1. Download one of the FinOps toolkit reports.
2. Open the report in Power BI Desktop.
3. Select **Transform data** in the toolbar.
4. In the **Queries** list on the left, right-click **CostDetails** and select **Copy**.
4. In the **Queries** list on the left, right-click **Costs** and select **Copy**.
5. Before you change your report, make a copy first to ensure you can rollback if needed.
6. Open your report in Power BI Desktop.
7. Select **Transform data** in the toolbar.
8. Right-click the empty space in the bottom of the **Queries** pane and select **New group...**.
9. Set the name to `FinOps toolkit` and select **OK**.
10. Right-click the **FinOps toolkit** folder and select **Paste**.
11. Right-click the **CostDetails** query and select **Advanced Editor**.
11. Right-click the **Costs** query and select **Advanced Editor**.
12. Copy all text and close the editor dialog.
13. Right-click the **Usage details** query and select **Advanced Editor**.
14. Replace all text with the copied text from CostDetails and select the **Done** button.
15. Rename the **Usage details** query to `CostDetails` and drag it into the `FinOps toolkit` folder.
14. Replace all text with the copied text from Costs and select the **Done** button.
15. Rename the **Usage details** query to `Costs` and drag it into the `FinOps toolkit` folder.
16. Delete the **Usage details amortized** query.
17. Select **Close & Apply** in the toolbar for both reports.
18. Review each page to ensure the visuals are still working as expected. Update any references to old columns or measures to the new names.
Expand All @@ -237,15 +237,15 @@ See [Queries and datasets](#️-queries-and-datasets) below for additional detai
<!--
## πŸ—ƒοΈ Queries and datasets

FinOps toolkit reports offer multiple versions of cost details to align to different schemas for backwards compatibility. These schemas are only provided to assist in migrating from older versions. We recommend updating visuals to use CostDetails or the newest underlying dataset. If you do not need legacy datasets, you can remove them from the Power Query Editor (Transform data) window.
FinOps toolkit reports offer multiple versions of cost details to align to different schemas for backwards compatibility. These schemas are only provided to assist in migrating from older versions. We recommend updating visuals to use Costs or the newest underlying dataset. If you do not need legacy datasets, you can remove them from the Power Query Editor (Transform data) window.

<blockquote class="warning" markdown="1">
_FinOps hubs will eventually adopt the [FOCUS standard](https://aka.ms/finops/focus) when available._
</blockquote>

### CostDetails
### Costs

The **CostDetails** dataset is a reference to the latest version of the schema. All visuals in FinOps hub reports are connected to this latest version. If you do not want to point to the latest version, you can edit the CostDetails query in the Power Query editor and change it to reference a different schema version.
The **Costs** dataset is a reference to the latest version of the schema. All visuals in FinOps hub reports are connected to this latest version. If you do not want to point to the latest version, you can edit the Costs query in the Power Query editor and change it to reference a different schema version.

### CMExports

Expand Down
12 changes: 10 additions & 2 deletions docs/_resources/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,14 @@ Legend:
> - If you notice prices or costs that are not correct, please [submit an issue in GitHub](https://aka.ms/ftk/ideas). Do not file a support request.
> 1. Added the Pricing units open dataset to support price sheet data cleanup.
> 1. Added `PricingUnit` and `x_PricingBlockSize` columns to the **Prices** table.
> 1. Added Effective Savings Rate (ESR).
>
> ✏️ Changed:
>
> 1. Updated the visual design of all storage and KQL reports.
> 1. Updated the KQL reports to use Direct Query to support larger datasets.
> 1. Updated storage reports to match the updated visuals from the KQL reports.
> 1. Expanded the columns in the commitment discount purchases page and updated to show recurring purchases separately.
>
> πŸ› οΈ Fixed:
>
Expand Down Expand Up @@ -392,7 +400,7 @@ This release is a minor patch to update documentation and fix Rate optimization
>
> - General
> 1. Improved import performance by using parquet metadata to filter files by date (if configured).
> 2. Improved performance of column updates in CostDetails and Prices queries.
> 2. Improved performance of column updates in Costs and Prices queries.
> 3. In the Prices query, fixed bug where `SkuID` was not merged into `x_SkuId`.

🏦 FinOps hubs
Expand Down Expand Up @@ -708,7 +716,7 @@ This release is a minor patch to Power BI files. These files were updated in the
> - General:
> 1. Changed the **Tags** column to default to `{}` when empty to facilitate tag expansion ([#691](https://github.com/microsoft/finops-toolkit/issues/691#issuecomment-2134072033)).
> 2. Simplified formatting for the `BillingPeriod` and `ChargePeriod` measures in Power BI.
> 3. Improved error handling for derived savings columns in the CostDetails query.
> 3. Improved error handling for derived savings columns in the Costs query.
> 4. Simplified queries and improved error handling in the START HERE query for report setup steps.
> 5. Changed internal storage for reports to use [Tabular Model Definition Language (TMDL)](https://learn.microsoft.com/power-bi/developer/projects/projects-dataset#tmdl-format).
> - This change makes it easier to review changes to the data model in Power BI.
Expand Down
Loading