Skip to content

Commit 89aae14

Browse files
Jordan KingCopilot
andcommitted
Fix Cowork Chargeback card data + refresh enablement hero frames
Card / flyout: - Correct data source: reads Viva Insights (Direct Query), not Purview audit logs — facet d: ['credits','viva'] - Add Viva Insights automated badge to the guided (pk-row) card, matching the matrix card - Mark report Updated (v4, 2026-10-06) so the Updated badge and flyout 'Latest update' row show Enablement guide hero: - Replace stale 5-frame clickthrough with 6 current v4 pages (Consumption, PayGo, Prepaid + PayGo, Prepaid, Optimization, Forecast) - Bump player to 6 frames, add sixth dot, fix counter Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 737db57 commit 89aae14

7 files changed

Lines changed: 10 additions & 4 deletions

File tree

-16.3 KB
Loading
-16.7 KB
Loading
614 Bytes
Loading
-36.8 KB
Loading
16.2 KB
Loading
103 KB
Loading

‎docs/choose-report/index.html‎

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3012,6 +3012,8 @@ <h2 id="mkDlgTitle"></h2>
30123012
"source": "Copilot credit consumption + Entra export, or live Viva Insights (Direct Query)",
30133013
"sourceKey": "M365 Admin",
30143014
"vivaAutomation": true,
3015+
"version": "4",
3016+
"updated": "2026-10-06",
30153017
"repo": "https://github.com/microsoft/CreditUsage",
30163018
"download": "https://github.com/microsoft/CreditUsage/archive/refs/heads/main.zip",
30173019
"demoVideo": "https://github.com/microsoft/CreditUsage/raw/main/media/CreditUsage-Demo.mp4",
@@ -6278,20 +6280,21 @@ <h2>Cowork Chargeback and Billing Report</h2>
62786280
<div class="cc-tag">RLS-ready Power BI report for Cowork credit consumption, chargeback, optimization and billing</div>
62796281
<div class="cc-oneliner">Who is consuming credits &middot; what each department owes &middot; who is over limit &middot; what next quarter looks like</div>
62806282
<div class="cc-badges"><span>BUILT BY MICROSOFT</span><span>POWER BI TEMPLATE</span><span>CSV OR VIVA DIRECT QUERY</span></div>
6281-
<div class="cbr-player" data-frames="5" data-base="cbr-frames">
6282-
<div class="cbr-stage"><img class="cbr-img" src="cbr-frames/frame_00.jpg" alt="Cowork Chargeback and Billing Report page 1 of 5"></div>
6283+
<div class="cbr-player" data-frames="6" data-base="cbr-frames">
6284+
<div class="cbr-stage"><img class="cbr-img" src="cbr-frames/frame_00.jpg" alt="Cowork Chargeback and Billing Report page 1 of 6"></div>
62836285
<div class="cbr-controls">
62846286
<button class="cbr-btn" type="button" data-act="prev" aria-label="Previous page">&#8249;</button>
62856287
<button class="cbr-btn" type="button" data-act="play" aria-label="Play or pause"><span class="cbr-playico">&#10074;&#10074;</span></button>
62866288
<button class="cbr-btn" type="button" data-act="next" aria-label="Next page">&#8250;</button>
6287-
<span class="cbr-counter">1 / 5</span>
6289+
<span class="cbr-counter">1 / 6</span>
62886290
</div>
62896291
<div class="cbr-dots">
62906292
<button class="cbr-dot" type="button" data-idx="0" aria-selected="true" aria-label="Page 1"></button>
62916293
<button class="cbr-dot" type="button" data-idx="1" aria-label="Page 2"></button>
62926294
<button class="cbr-dot" type="button" data-idx="2" aria-label="Page 3"></button>
62936295
<button class="cbr-dot" type="button" data-idx="3" aria-label="Page 4"></button>
62946296
<button class="cbr-dot" type="button" data-idx="4" aria-label="Page 5"></button>
6297+
<button class="cbr-dot" type="button" data-idx="5" aria-label="Page 6"></button>
62956298
</div>
62966299
<div class="cbr-hint">Auto-playing &middot; use &#8249; &#8250; to step through each page, or click a dot to jump</div>
62976300
</div>
@@ -7492,7 +7495,7 @@ <h5><span class="cc-num">3</span> Switch to real data when ready</h5>
74927495
'super-usage': { p: ['m365'], d: ['viva'], a: 'CCMs, enablement leads' },
74937496
'adoption-sentiment': { p: ['m365'], d: ['purview'], a: 'Adoption & comms leads' },
74947497
'consumption-central': { p: ['cowork','github'], d: ['credits'], a: 'FinOps, IT finance' },
7495-
'cowork-billing-report': { p: ['cowork'], d: ['credits','purview'], a: 'Finance, cost centres' },
7498+
'cowork-billing-report': { p: ['cowork'], d: ['credits','viva'], a: 'Finance, cost centres' },
74967499
'cowork-chargeback-app': { p: ['cowork'], d: ['credits'], a: 'Finance, cost centres' },
74977500
'agent-evaluator': { p: ['studio'], d: ['copilotstudio'], a: 'Agent owners, makers' },
74987501
'chat-agent': { p: ['chat','studio'], d: ['purview'], a: 'Analysts, CCMs' },
@@ -8692,6 +8695,9 @@ <h5><span class="cc-num">3</span> Switch to real data when ready</h5>
86928695
((t.updated && isRecent(t.updated, 30))
86938696
? '<span class="rf-upd" title="Updated ' + esc(fmtShort(t.updated)) + '">Updated ' + esc(fmtShort(t.updated)) + '</span>'
86948697
: '') +
8698+
(t.vivaAutomation === true
8699+
? '<span class="rf-viva" title="Automated via Viva Insights \u2014 the Direct Query variant pipes live from a Viva Insights query">Viva Insights automated</span>'
8700+
: '') +
86958701
(chosen
86968702
? '<span class="pk-badge' + (best ? ' pk-badge--best' : '') + '">' +
86978703
(best ? 'Best fit' : 'Also works') + '</span>'

0 commit comments

Comments
 (0)