Repository navigation
feat(power-bi)!: support incremental refresh on storage Costs table - #2353
Michael Flanakin (flanakin) wants to merge 8 commits into
Conversation
Roland Krummenacher (RolandKrummenacher)
left a comment
There was a problem hiding this comment.
The logic looks right. x_IncrementalRefreshDateTime converts the OLE serial correctly, and the filter mirrors ftk_Storage, so nothing changes when RangeStart/RangeEnd are empty.
- As the description says, this hasn't been tested in Desktop or the service, and no CI job builds the TMDL. Can someone run the three test steps before merge? If not for v15, v16 sounds right.
- Rows with a null
x_IncrementalRefreshDateTimepass the filter in every partition. With an incremental refresh policy, such rows would be loaded once per partition and inflate costs. Consider dropping them when the range is set, or document it. - Nit (
setup.md): "If you need to configure incremental refresh, consider using FinOps hubs…" now sits right after the new incremental refresh link. Maybe "For larger datasets, consider FinOps hubs…".
Roland Krummenacher (RolandKrummenacher)
left a comment
There was a problem hiding this comment.
Points 2 and 3 from my earlier review are addressed in 502853a (null-date rows are documented, and the setup.md wording is clarified). Point 1 is still open: nobody has run the Power BI Desktop and service test yet, and I haven't either. Following the rule in the description ("If testing can't happen in time, move this to v16"), I suggest moving this to v16 unless someone can run the three test steps before the v15 release.
|
🤖 [AI] Roland Krummenacher (@RolandKrummenacher) Thanks. Point 1: moved to v16, since the Desktop/service test didn't happen before v15. While at it, dropped the new |
Roland Krummenacher (RolandKrummenacher)
left a comment
There was a problem hiding this comment.
Re-reviewed 0a2d198. Changing x_IncrementalRefreshDate to Date/Time is cleaner than a second column. The type is consistent across Costs, Prices, ReservationDetails, ReservationRecommendations, and ReservationTransactions. The ftk_Storage filter and the Costs filter use the same comparison, and the changelog entry moved to Unreleased with the breaking change marker, which resolves my changelog thread.
Approving. Please still run the three test steps in Power BI Desktop and the service before v16 ships.
8966ec6 to
7fd370d
Compare
Roland Krummenacher (RolandKrummenacher)
left a comment
There was a problem hiding this comment.
Add a Date/Time x_IncrementalRefreshDateTime column and a final RangeStart/RangeEnd filter step to the storage Costs query so the Power BI incremental refresh dialog can detect it. The filter passes all rows when the parameters are empty and mirrors the ftk_Storage row filter otherwise. Document setup steps and the new column. Fixes #2314 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ws in incremental refresh Co-Authored-By: RolandKrummenacher <RolandKrummenacher@users.noreply.github.com> Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… of adding a new column Move to v16 as a breaking change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2e2f059 to
56033e9
Compare
Roland Krummenacher (RolandKrummenacher)
left a comment
There was a problem hiding this comment.
🛠️ Description
🤖 [AI] Lets users turn on Power BI incremental refresh for the storage reports' Costs table. Today the incremental refresh dialog can't detect a usable column, because
x_IncrementalRefreshDateis stored as text and filtered inside a helper function.ftk_Storagenow typesx_IncrementalRefreshDateas Date/Time (midnight of the charge date) instead of text, and the storageCostsquery ends with aTable.SelectRowsonRangeStart/RangeEnd(>=start,<end) so the incremental refresh dialog can detect the filter (Power BI storage reports: incremental refresh isn't detectable out of the box #2314, discussion Incremental refresh CostSummary.storage #1799).x_IncrementalRefreshDatechanges from text to Date/Time in all storage tables (Costs, Prices, ReservationDetails/Transactions/Recommendations). Custom filters, measures, or visuals that treat it as text or a number need updating. No new column.RangeStart/RangeEndare null the filter passes every row; when set it matches theftk_Storagerow filter (whole days, same null handling).dev.x_IncrementalRefreshDateshows Date/Time.Milestone: v16 (breaking change, and the Desktop/service test didn't happen before v15).
Fixes #2314
📋 Checklist
🔬 How did you test this change?
📦 Deploy to test?
🙋♀️ Do any of the following that apply?
📑 Did you update
docs/changelog.md?📖 Did you update documentation?
🤖 Generated with Claude Code