microsoft / finops-toolkit

Tools and resources to help you adopt and implement FinOps capabilities that automate and extend the Microsoft Cloud.
https://aka.ms/finops/toolkit
MIT License
243 stars 78 forks source link

[Power BI] Create an Azure Hybrid Benefit Cost Savings View for Windows VM's. #695

Open jamelachahbar opened 2 months ago

jamelachahbar commented 2 months ago

๐Ÿ“ Scenario

As a FinOps practitioner, I need to monitor and track the cost savings of each Windows VM and the total savings after applying Azure Hybrid Benefit, in order to to evaluate the effectiveness and aggregate financial benefits of Azure Hybrid Benefit on Windows VMs.

๐Ÿ’Ž Solution

Addition of Key Performance Indicators (KPIs) to Power BI Reports for Azure Hybrid Benefit (AHUB) Analysis:

โ„น๏ธ Additional context

TODO: Add any other context or screenshots about the change request, including alternative solutions you considered and why you ruled them out.

๐Ÿ™‹โ€โ™€๏ธ Ask for the community

We could use your help:

  1. Please vote this issue up (๐Ÿ‘) to prioritize it.
  2. Leave comments to help us solidify the vision.
### Tasks
- [x] Import pricesheet table
- [x] Create custom column to generate common key between Linux and Windows Hardware Meters
- [x] Create a Common Key based on custom column and other available columns to generate a unique key
- [ ] Calculate Price Difference between Linux and Windows Hardware Meters based on this Common Key
- [ ] Create a separate Dimension Table with the added column showing the price difference
- [ ] Link this new table with the cost details table(FOCUS) in power BI
jamelachahbar commented 2 months ago

I will first create these transformations using Fabric notebooks. I will then evaluate if it makes sense to have a version where all transformations are done in Power BI queries. For large customers with a lot of data, this can be taxing on Power BI performance. Any opinion on this? @flanakin

Example(work in progress): image

flanakin commented 1 month ago

We should probably keep it in Power BI for now. We're also looking at a full-Fabric version of the reports, but I'm hesitant to make that a blocker for adoption. Perhaps we could post a poll to get the community's thoughts. I'm open to whatever direction the community wants to take it.

jamelachahbar commented 1 month ago

Let me work on a Power BI version for now. Let us post a poll.