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

PowerBI RateOptimization:Summary report shows wrong numbers #1194

Open
RolandKrummenacher opened this issue Dec 6, 2024 · 4 comments
Open
Labels
Tool: FinOps hubs Data pipeline solution Type: Bug 🐛 Something isn't working

Comments

@RolandKrummenacher
Copy link
Collaborator

🐛 Problem

The Summary tab in the Rate Optimization Dashboard appears to use inconsistent formulas for identical metrics.

👣 Reproduction Steps

  1. Set up the FinOps Hub, including the price sheet import.
  2. Run the Rate Optimization Power BI report.
  3. Compare the numbers in the screenshot; they do not match.

🤔 Expected Behavior

  • List Cost - Contracted Cost should equal Savings from Negotiated Discounts.
  • Savings from Negotiated Discounts + Savings from Commitment Discounts should equal Total Savings.

📷 Screenshots

Screenshot 1

ℹ️ Additional Context

  • Savings from Negotiated Discounts seems to be calculated only for records where List Cost > Contracted Cost.
  • Applying a where condition like ChargeCategory == 'Usage' might resolve the issue.

Screenshot 2

🙋‍♀️ Request for Community Help

We'd appreciate your support:

  1. Upvote this issue (👍) to help us prioritize it.
  2. Share your insights in the comments to refine the solution.

Let me know if you need further adjustments!

@RolandKrummenacher RolandKrummenacher added Needs: Triage 🔍 Untriaged issue needs to be reviewed Type: Bug 🐛 Something isn't working labels Dec 6, 2024
@josesarsa
Copy link

How did you do the price sheet import?
@RolandKrummenacher

@RolandKrummenacher
Copy link
Collaborator Author

How did you do the price sheet import? @RolandKrummenacher

I've exported the price sheets of the last 11 months via cost management export as described in https://microsoft.github.io/finops-toolkit/hubs/configure

@RolandKrummenacher
Copy link
Collaborator Author

The problem is most likely related to the reservation / savings plan purchase records:

Image

@flanakin
Copy link
Collaborator

There are a number of scenarios where costs are missing in the data we get from Cost Management. We need to do some more work to handle those scenarios. That said, we can definitely clean up this query to work around them. Thanks for reporting this!

@flanakin flanakin added Tool: FinOps hubs Data pipeline solution and removed Needs: Triage 🔍 Untriaged issue needs to be reviewed labels Dec 10, 2024
@flanakin flanakin added this to the 2024-12 - December milestone Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tool: FinOps hubs Data pipeline solution Type: Bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants