Fix missing CapacityReservationId and CapacityReservationStatus columns in Power BI storage templates - #1853
Merged
Michael Flanakin (flanakin) merged 9 commits intoFeb 25, 2026
Conversation
microsoft-github-policy-service
Bot
requested review from
Anthony Romano (aromano2),
Arthur Clares (arthurclares) and
Michael Flanakin (flanakin)
October 10, 2025 20:29
…wer BI storage templates Co-authored-by: MSBrett <24294904+MSBrett@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix error for missing CapacityReservationId column
Fix missing CapacityReservationId and CapacityReservationStatus columns in Power BI storage templates
Oct 10, 2025
|
Hello Team Brett Wilson (@MSBrett) could you please share tentative ETA on the fix |
Michael Flanakin (flanakin)
approved these changes
Jan 9, 2026
Co-authored-by: flanakin <399533+flanakin@users.noreply.github.com>
microsoft-github-policy-service
Bot
requested a review
from Michael Flanakin (flanakin)
January 9, 2026 10:30
Michael Flanakin (flanakin)
marked this pull request as ready for review
January 9, 2026 10:39
Michael Flanakin (flanakin)
enabled auto-merge (squash)
January 9, 2026 10:39
Copilot started reviewing on behalf of
Michael Flanakin (flanakin)
January 9, 2026 10:39
View session
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds support for FOCUS 1.2 CapacityReservationId and CapacityReservationStatus columns to storage-based Power BI reports, addressing a data refresh error in the Power BI Service. The columns are derived from existing data (x_CapacityCommitmentId extracted from VMCapacityReservationId in AdditionalInfo).
Key changes:
- Added Power Query logic to generate CapacityReservationId and CapacityReservationStatus columns
- Updated Power BI table schema to include the new columns
- Documented changes in the changelog
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| src/power-bi/queries/ftk_NormalizeSchema.pq | Added CapacityReservationId column (mapping from x_CapacityCommitmentId) and CapacityReservationStatus column (with logic to detect "Unused" vs "Used" status) |
| src/power-bi/storage/Shared.Dataset/definition/tables/Costs.tmdl | Added column definitions for CapacityReservationId and CapacityReservationStatus with metadata |
| docs-mslearn/toolkit/changelog.md | Added changelog entry documenting the new columns, plus additional fix entry |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Michael Flanakin (flanakin)
deleted the
copilot/fix-capacity-reservation-id-error
branch
February 25, 2026 06:36
Michael Flanakin (flanakin)
added a commit
that referenced
this pull request
Mar 10, 2026
…ns in Power BI storage templates (#1853) Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: MSBrett <24294904+MSBrett@users.noreply.github.com> Co-authored-by: Michael Flanakin <flanakin@users.noreply.github.com> Co-authored-by: flanakin <399533+flanakin@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Original prompt
Fixes #1836
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.