Skip to content

Conversation

@RolandKrummenacher
Copy link
Collaborator

πŸ› οΈ Description

Fix: Type conversion issues in realtime dashboard

Fixes #1881

πŸ“· Screenshots

πŸ“‹ Checklist

πŸ”¬ How did you test this change?

  • 🀏 Lint tests
  • 🀞 PS -WhatIf / az validate
  • πŸ‘ Manually deployed + verified
  • πŸ’ͺ Unit tests
  • πŸ™Œ Integration tests

πŸ™‹β€β™€οΈ Do any of the following that apply?

  • 🚨 This is a breaking change.
  • 🀏 The change is less than 20 lines of code.

πŸ“‘ Did you update docs/changelog.md?

  • βœ… Updated changelog (required for dev PRs)
  • ➑️ Will add log in a future PR (feature branch PRs only)
  • ❎ Log not needed (small/internal change)

πŸ“– Did you update documentation?

  • βœ… Public docs in docs (required for dev)
  • βœ… Internal dev docs in src (required for dev)
  • ➑️ Will add docs in a future PR (feature branch PRs only)
  • ❎ Docs not needed (small/internal change)

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes type conversion issues in KQL queries within the FinOps hub realtime dashboard by replacing deprecated decimal type references with real type references, addressing issue #1881.

Key changes:

  • Updated type conversion functions from todecimal() to toreal() for initialization of zero values
  • Changed decimal(0) literals to real(0) in conditional expressions throughout multiple queries

Copy link
Contributor

Copilot AI commented Dec 12, 2025

@RolandKrummenacher I've opened a new pull request, #1901, to work on those changes. Once the pull request is ready, I'll request review from you.

@RolandKrummenacher RolandKrummenacher merged commit 456fd1c into dev Dec 12, 2025
10 checks passed
@RolandKrummenacher RolandKrummenacher deleted the krummrol/issue1881 branch December 12, 2025 10:55
@microsoft-github-policy-service

@all-contributors please add @RolandKrummenacher for code

@allcontributors
Copy link
Contributor

@microsoft-github-policy-service[bot]

@RolandKrummenacher already contributed before to code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Micro PR πŸ”¬ Very small PR that should be especially easy for newcomers Needs: Review πŸ‘€ PR that is ready to be reviewed Tool: FinOps hubs Data pipeline solution

Projects

None yet

7 participants