Skip to content

fix: decimal to real#1893

Merged
RolandKrummenacher merged 1 commit into
devfrom
krummrol/issue1881
Dec 12, 2025
Merged

fix: decimal to real#1893
RolandKrummenacher merged 1 commit into
devfrom
krummrol/issue1881

Conversation

@RolandKrummenacher

Copy link
Copy Markdown
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)

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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

Comment thread src/templates/finops-hub/dashboard.json

Copilot AI commented Dec 12, 2025

Copy link
Copy Markdown
Contributor

@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

Copy link
Copy Markdown

@all-contributors please add @RolandKrummenacher for code

@allcontributors

Copy link
Copy Markdown
Contributor

@microsoft-github-policy-service[bot]

@RolandKrummenacher already contributed before to code

flanakin pushed a commit that referenced this pull request Jan 31, 2026
Co-authored-by: Roland Krummenacher <roland.krummenacher@alescent.com>
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

8 participants