Costco Warehouse club retail Power BI Dashboard — 9 KPIs, Star Schema, 38 DAX Measures (6,000 Example Rows)
Disclaimer. All data in this dashboard is fictional and made up for learning purposes only. It is not the real data of this company. All company names, brands and trademarks belong to their respective owners. We use these names only to help students understand real-world business dashboards.
Why: Costco makes money from categorys sold in stores and online across US West, US East, Canada, Mexico. The dashboard treats every line as a one warehouse's weekly sales of one category — Costco students should say Food & sundries and US West when they name the grain, so you can see which format, state or channel actually moves the till. Power BI adds a star schema, fast slicers and DAX time intelligence — the right stack when a warehouse club retail team wants to share one Costco-style model. Skill focus: decomposition tree on ΔPY.
What: Four CSV tables (Sales, Product, Region, Date), 9 company KPIs as DAX, layout pictures and a theme. Unfiltered practice totals: revenue about $650.18M, YoY 2.8%, margin n/a. Overview charts include Warehouse sales by month · membership-funded volume; Food / fresh / hardlines / ancillary mix; Regions ranked by warehouse revenue.
How: Load the CSVs, relate the tables, paste measures.dax, then build each page from the pictures. The DAX walkthrough below names Costco-specific measures and the mistakes students make on this model.
About this data. Simulated example data for practice, not real Costco figures. Only public facts (HQ: Issaquah, Washington, USA; industry: warehouse club retail) are real. Money is in US dollars ($).
What this dataset shows. What this dataset shows for Costco. The grain is one warehouse's weekly sales of one category — Costco students should say Food & sundries and US West when they name the grain. Filters cover US West, US East, Canada, Mexico and channels (Warehouse floor, Costco.com, Business delivery, Gas / pharmacy). Product dimension includes Food & sundries, Fresh foods, Softlines, Hardlines and more. Beside headline revenue/profit, the workbook surfaces Membership fees=$1.64M; Renewal %=88.5%; Sales per warehouse=$315.47K; Avg ticket=$533. Time span is 2025–2026 so ΔPY and the 2027 forecast have enough history. Remember: every figure is simulated practice data for learning, not a Costco filing.
Costco is a Warehouse club retail operator. Money arrives when a shopper checks out a category in a store or online across US West, US East, Canada, Mexico. Same-store health, channel mix and seasonal peaks decide whether the till is healthy. This workbook keeps every one warehouse's weekly sales of one category — Costco students should say Food & sundries and US West when they name the grain filterable so a student can isolate one format or one state without rewriting formulas.
On the unfiltered practice totals this PBI file currently shows: Revenue $650.18M; Profit $81.04M; YoY % 2.8%; Membership fees $1.64M; Renewal % 88.5%; Sales per warehouse $315.47K; Avg ticket $533; Ancillary % 3.1%. Treat every figure as a classroom number for Costco, never as a filing.
Product labels in the dimension include Food & sundries, Fresh foods, Softlines, Hardlines, Ancillary (gas/pharmacy). Region labels include US West, US East, Canada, Mexico, Europe, Asia Pacific. Channel labels include Warehouse floor, Costco.com, Business delivery, Gas / pharmacy. Students should say those names aloud when they build the first chart title so the canvas sounds like Costco, not a generic template.
Headquarters for the public fact line is Issaquah, Washington, USA. Industry line: Warehouse club retail. Currency formatting on tiles uses US dollars ($). If you translate the file, change formats and labels, but keep the grain (one warehouse's weekly sales of one category — Costco students should say Food & sundries and US West when they name the grain) identical or Inc and DAX will disagree.
Decision rhythm for this sector: start from same-store and channel mix (practised on Costco · Fresh foods). Excel skill focus is SUMIFS retail grids for Costco students filtering Ancillary (gas/pharmacy); Power BI skill focus is decomposition tree on ΔPY — Costco demo uses Softlines in Asia Pacific. The pbi guide on this URL trains that angle with Costco-named charts and measures only.
A Monday review for a Costco manager usually asks three questions: did Food & sundries fund growth, did US West drag ΔPY, and whether next year’s forecast is wide or tight. The four analytics sheets answer those Costco questions in order. Skip decorative shapes until the insight strip about Fresh foods can be read without a legend.
Common classroom failure on Costco: pasting new rows with a misspelled category so Lists and Data disagree. Fix the spelling before you chase a ‘broken’ SUMIFS. Second failure: publishing with one region filter left on, then wondering why revenue looks tiny.
When you compare this Costco page with another company in the Top 50 set, look at the H2 wording, the order of sections, and the spoken demo that starts with Food & sundries. Sections change by industry on purpose so the Costco lesson stays useful on its own instead of reading like a cloned article.
In Power BI, the Costco star schema is the contract between slicers and cards. Mark Date, paste measures.dax, then build Overview before Analytics so executives see status before diagnosis.
Costco practice brief. Public HQ fact: Issaquah, Washington, USA. Industry: Warehouse club retail. This guide’s skill angle is same-store and channel mix (practised on Costco · Fresh foods). Subtitle on the workbook: Membership fee income · renewal rate · sales per warehouse · 2025 vs 2026 · simulated practice data. About line: made-up weekly warehouse-club sales for a Costco-like retailer across US, Canada, Mexico, Europe and Asia. Membership fees are the high-margin engine..
Product dimension walkthrough for Costco:
- Food & sundries — carries the practice revenue story for Costco.
- Fresh foods — often surprises learners when margin and revenue disagree for Costco.
- Softlines — should appear in at least one chart title on the canvas for Costco.
- Hardlines — shows up as a quiet line until you filter for Costco.
- Ancillary (gas/pharmacy) — is the first place students should look when ΔPY flips for Costco.
Region walkthrough for Costco:
- US West — funds a large share of the unfiltered total.
- US East — funds a large share of the unfiltered total.
- Canada — tends to move seasonally on the Predictive sheet.
- Mexico — helps explain why a single KPI is not enough.
- Europe — funds a large share of the unfiltered total.
- Asia Pacific — is a clean demo for Inc / slicer sync.
Channel list on this file: Warehouse floor, Costco.com, Business delivery, Gas / pharmacy. When you teach Costco, change one channel filter and ask which tile moved — that is the Inc lesson.
Chart roster on the Costco dashboard:
- Warehouse sales by month · membership-funded volume (line) — built so a warehouse club retail reader can answer a Costco question without opening a pivot.
- Food / fresh / hardlines / ancillary mix (doughnut) — built so a warehouse club retail reader can answer a Costco question without opening a pivot.
- Regions ranked by warehouse revenue (hbar) — built so a warehouse club retail reader can answer a Costco question without opening a pivot.
- Floor, then .com, then business delivery, then gas/pharmacy (funnel) — built so a warehouse club retail reader can answer a Costco question without opening a pivot.
- Region × month heat · seasonal warehouse traffic (heatmap) — built so a warehouse club retail reader can answer a Costco question without opening a pivot.
Scenario D for Costco: Goal Seek wants a large price rise — what does the Prescriptive IF table recommend instead of blind discounting? Scenario B for Costco: one region flat, another surging — what does the insight strip need to say? Scenario C for Costco: forecast R² looks weak — how do you label the Predictive sheet so nobody treats Dec 2027 as a promise?
Number walk (simulated): Renewal % is 88.5%. Sales per warehouse is $315.47K. Avg ticket is $533. Ancillary % is 3.1%. Executive % is 28.0%. Revenue 2026 is $329.54M. Revenue 2025 is $320.63M. ΔPY is $8.91M. Revenue is $650.18M. Profit is $81.04M. YoY % is 2.8%. Membership fees is $1.64M. Say them with the Costco name in the sentence so the lesson stays company-specific.
Closing reminder: every sheet that holds Costco rows starts with the simulated-data label. Trademarks belong to their owners; this page exists to teach same-store and channel mix (practised on Costco · Fresh foods) with easy English and checked formulas.
Costco classroom playbook (Power BI)
This playbook is written only for Costco. It uses the practice totals and the chart names on this page. Keywords you will rehearse: contribution, runway, cohort, standup, tailwind, waterfall, measure-table, goal-seek.
- Day 4 — diagnostic bridge: explain ΔPY with cohort and standup using US West.
- Day 5 — forecast honesty: label the confidence-band and tailwind so Dec 2027 is not a fake promise.
- Day 6 — prescriptive handoff: assign an action-owner for Fresh foods in US East.
- Day 7 — reconciliation: Excel Inc or Power BI relationships must match the expected-value table for Costco.
- Day 1 — grain-check: confirm every row is still one warehouse's weekly sales of one category — Costco students should say Food & sundries and US West when they name the grain and the About note says simulated data for Costco.
- Day 2 — baseline tiles: recreate the 9 KPIs and read contribution versus runway aloud.
- Day 3 — chart titles: rewrite “Warehouse sales by month · membership-funded volume” as a finding sentence about Food & sundries.
For Food & sundries at Costco, start with contribution. Compare US West against the unfiltered total, then ask whether standup improved after you isolate Warehouse floor. Students should write one sentence that a manager in Issaquah, Washington, USA could accept without asking for a rainbow chart.
For Fresh foods at Costco, start with runway. Compare US East against the unfiltered total, then ask whether tailwind improved after you isolate Costco.com. Students should write one sentence that a manager in Issaquah, Washington, USA could accept without asking for a rainbow chart.
For Softlines at Costco, start with cohort. Compare Canada against the unfiltered total, then ask whether waterfall improved after you isolate Business delivery. Students should write one sentence that a manager in Issaquah, Washington, USA could accept without asking for a rainbow chart.
When Costco reviews Hardlines, the useful question is not ‘is revenue big?’ but ‘did standup beat prior-year after measure-table?’ Use Mexico and Gas / pharmacy as the two levers in the classroom script.
When Costco reviews Ancillary (gas/pharmacy), the useful question is not ‘is revenue big?’ but ‘did tailwind beat prior-year after goal-seek?’ Use Europe and Warehouse floor as the two levers in the classroom script.
Region lens US West: rehearse waterfall by toggling only this geography. If Food & sundries dominates the mix-shift, say so in the insight strip. Finish with a plan-gap note on whether the forecast runway still looks credible.
Region lens US East: rehearse measure-table by toggling only this geography. If Fresh foods dominates the mix-shift, say so in the insight strip. Finish with a concentration note on whether the forecast runway still looks credible.
Region lens Canada: rehearse goal-seek by toggling only this geography. If Softlines dominates the mix-shift, say so in the insight strip. Finish with a outlier note on whether the forecast runway still looks credible.
Region lens Mexico: rehearse plan-gap by toggling only this geography. If Hardlines dominates the mix-shift, say so in the insight strip. Finish with a baseline note on whether the forecast runway still looks credible.
Region lens Europe: rehearse concentration by toggling only this geography. If Ancillary (gas/pharmacy) dominates the mix-shift, say so in the insight strip. Finish with a volume-mix note on whether the forecast runway still looks credible.
Region lens Asia Pacific: rehearse outlier by toggling only this geography. If Food & sundries dominates the mix-shift, say so in the insight strip. Finish with a bookmark note on whether the forecast runway still looks credible.
Simulated scoreboard beat 1 for Costco: WhatIf Profit prints as $49.31M; Revenue prints as $650.18M; Profit prints as $81.04M. Repeat the brand name in your notes so Costco never becomes ‘Company X’.
Simulated scoreboard beat 2 for Costco: YoY % prints as 2.8%; Membership fees prints as $1.64M; Renewal % prints as 88.5%. Repeat the brand name in your notes so Costco never becomes ‘Company X’.
Simulated scoreboard beat 3 for Costco: Sales per warehouse prints as $315.47K; Avg ticket prints as $533; Ancillary % prints as 3.1%. Repeat the brand name in your notes so Costco never becomes ‘Company X’.
Simulated scoreboard beat 4 for Costco: Executive % prints as 28.0%; Revenue 2026 prints as $329.54M; Revenue 2025 prints as $320.63M. Repeat the brand name in your notes so Costco never becomes ‘Company X’.
Simulated scoreboard beat 5 for Costco: ΔPY prints as $8.91M; ΔPY % prints as 2.8%; Margin % 2026 prints as 13.7%. Repeat the brand name in your notes so Costco never becomes ‘Company X’.
Simulated scoreboard beat 6 for Costco: WhatIf Revenue prints as $336.57M. Repeat the brand name in your notes so Costco never becomes ‘Company X’.
Card prompt for Costco: “Food & sundries / US West / contribution”. One-sentence finding required; mention cohort if margin disagrees with revenue.
Costco lab sheet row: product=Food & sundries; region=US East; watch=runway; secondary=standup. Students tick pass/fail on tile sync.
Card prompt for Costco: “Food & sundries / Canada / cohort”. One-sentence finding required; mention tailwind if margin disagrees with revenue.
Filter choreography: All, then Food & sundries, then Food & sundries+Mexico. Speak standup at each step. End with whether waterfall supports investing or cutting.
Card prompt for Costco: “Food & sundries / Europe / tailwind”. One-sentence finding required; mention measure-table if margin disagrees with revenue.
Pair Fresh foods × US West: ask whether tailwind improved for Costco after the filter. Write the spoken answer before Diagnostic. Add a note on measure-table.
Pair Fresh foods × US East: ask whether waterfall improved for Costco after the filter. Write the spoken answer before Diagnostic. Add a note on goal-seek.
Card prompt for Costco: “Fresh foods / Canada / measure-table”. One-sentence finding required; mention plan-gap if margin disagrees with revenue.
Filter choreography: All, then Fresh foods, then Fresh foods+Mexico. Speak goal-seek at each step. End with whether concentration supports investing or cutting.
Costco lab sheet row: product=Fresh foods; region=Europe; watch=plan-gap; secondary=outlier. Students tick pass/fail on tile sync.
Filter choreography: All, then Softlines, then Softlines+US West. Speak plan-gap at each step. End with whether outlier supports investing or cutting.
Filter choreography: All, then Softlines, then Softlines+US East. Speak concentration at each step. End with whether baseline supports investing or cutting.
Pair Softlines × Canada: ask whether outlier improved for Costco after the filter. Write the spoken answer before Diagnostic. Add a note on volume-mix.
On Costco, Softlines in Mexico stress-tests baseline. If Qty and Revenue disagree, fix grain before teaching bookmark.
Card prompt for Costco: “Softlines / Europe / volume-mix”. One-sentence finding required; mention filter-context if margin disagrees with revenue.
Costco lab sheet row: product=Hardlines; region=US West; watch=volume-mix; secondary=filter-context. Students tick pass/fail on tile sync.
Costco lab sheet row: product=Hardlines; region=US East; watch=bookmark; secondary=share-of-change. Students tick pass/fail on tile sync.
Costco lab sheet row: product=Hardlines; region=Canada; watch=filter-context; secondary=backlog. Students tick pass/fail on tile sync.
Pair Hardlines × Mexico: ask whether share-of-change improved for Costco after the filter. Write the spoken answer before Diagnostic. Add a note on funnel.
On Costco, Hardlines in Europe stress-tests backlog. If Qty and Revenue disagree, fix grain before teaching contribution.
Filter choreography: All, then Ancillary (gas/pharmacy), then Ancillary (gas/pharmacy)+US West. Speak backlog at each step. End with whether contribution supports investing or cutting.
Costco lab sheet row: product=Ancillary (gas/pharmacy); region=US East; watch=funnel; secondary=runway. Students tick pass/fail on tile sync.
Card prompt for Costco: “Ancillary (gas/pharmacy) / Canada / contribution”. One-sentence finding required; mention cohort if margin disagrees with revenue.
Pair Ancillary (gas/pharmacy) × Mexico: ask whether runway improved for Costco after the filter. Write the spoken answer before Diagnostic. Add a note on standup.
Pair Ancillary (gas/pharmacy) × Europe: ask whether cohort improved for Costco after the filter. Write the spoken answer before Diagnostic. Add a note on tailwind.
Power BI-only close for Costco: publish only after every slicer returns the expected card values, keep the measure-table tidy, and refuse to ship a report whose date-spine is unmarked. Extra drill words: plan-gap, concentration, outlier, baseline, volume-mix, bookmark, filter-context, share-of-change, backlog, funnel.
Remember the legal line: trademarks belong to their owners; numbers are fictional practice data; the lesson is same-store and channel mix (practised on Costco · Fresh foods) with easy English for students who are new to dashboards.
Costco fingerprint notes (Power BI)
Food & sundries extends the Costco story when you isolate US West via Warehouse floor. Quote the practice figure Revenue 2025 = $320.63M in your spoken finding. If the pbi slicer path drops Food & sundries, stop and fix labels before you teach forecast.
Fresh foods extends the Costco story when you isolate US East via Costco.com. Quote the practice figure Ancillary % = 3.1% in your spoken finding. If the pbi slicer path drops Fresh foods, stop and fix labels before you teach forecast.
Softlines challenges the Costco story when you isolate Canada via Business delivery. Quote the practice figure WhatIf Profit = $49.31M in your spoken finding. If the pbi slicer path drops Softlines, stop and fix labels before you teach forecast.
Hardlines extends the Costco story when you isolate Mexico via Gas / pharmacy. Quote the practice figure Avg ticket = $533 in your spoken finding. If the pbi slicer path drops Hardlines, stop and fix labels before you teach forecast.
Ancillary (gas/pharmacy) compresses the Costco story when you isolate Europe via Warehouse floor. Quote the practice figure Executive % = 28.0% in your spoken finding. If the pbi slicer path drops Ancillary (gas/pharmacy), stop and fix labels before you teach forecast.
Geography US West extends Costco mix next to Food & sundries. Write one sentence a reviewer in Issaquah, Washington, USA would accept. Tool on this URL: pbi.
Geography US East compresses Costco mix next to Fresh foods. Write one sentence a reviewer in Issaquah, Washington, USA would accept. Tool on this URL: pbi.
Geography Canada amplifies Costco mix next to Softlines. Write one sentence a reviewer in Issaquah, Washington, USA would accept. Tool on this URL: pbi.
Geography Mexico challenges Costco mix next to Hardlines. Write one sentence a reviewer in Issaquah, Washington, USA would accept. Tool on this URL: pbi.
Geography Europe rebalances Costco mix next to Ancillary (gas/pharmacy). Write one sentence a reviewer in Issaquah, Washington, USA would accept. Tool on this URL: pbi.
Geography Asia Pacific rebalances Costco mix next to Food & sundries. Write one sentence a reviewer in Issaquah, Washington, USA would accept. Tool on this URL: pbi.
Channel Warehouse floor extends whether Softlines in US East still deserves investment on the Costco canvas. Students must name Warehouse floor in the insight strip, not only in a legend.
Channel Costco.com clarifies whether Hardlines in Canada still deserves investment on the Costco canvas. Students must name Costco.com in the insight strip, not only in a legend.
Channel Business delivery softens whether Ancillary (gas/pharmacy) in Mexico still deserves investment on the Costco canvas. Students must name Business delivery in the insight strip, not only in a legend.
Channel Gas / pharmacy stress-tests whether Food & sundries in Europe still deserves investment on the Costco canvas. Students must name Gas / pharmacy in the insight strip, not only in a legend.
Worked example: Costco story spine
Sentence 1: unfiltered practice revenue is about $650.18M. Sentence 2: YoY is 2.8%. Sentence 3: Softlines is the category we inspect first. Sentence 4: Canada is the geography we inspect second. Sentence 5: Business delivery is the path we inspect third.
Build the spine before charts. Then open “the first chart on the canvas” and test whether the title still matches the spine after filters. If not, rewrite the title — IBCS colours cannot save a vague headline for Costco.
Extension set for Costco: repeat the drill with Food & sundries, Fresh foods, Hardlines, Ancillary (gas/pharmacy) and geographies US West, US East, Mexico. Each pass should produce a different spoken finding so the class hears how warehouse club retail mix actually behaves on this file.
Version control: keep a clean Costco download untouched and a sandbox copy for experiments so Goal Seek does not overwrite the key file.
Accessibility check: read the Costco insight strip aloud. If a sentence needs the chart colours to make sense, rewrite the title.
Because this is the Costco Power BI guide (demo Food & sundries), keep the other tool’s page as a sibling reference rather than pasting DAX into cells or SUMIFS into measures. Sector lens again: same-store and channel mix (practised on Costco · Fresh foods).
No .pbix file. You get the data, the DAX and pictures of the layout (not screenshots of Power BI). Build the report in Power BI Desktop in about 30–45 minutes.
Downloads: Sales.csv · Product.csv · Region.csv · Date.csv · costco_powerbi_data.xlsx · measures.dax · theme.json · README.md
After pasting DAX, hit Enter on each measure once — Power BI sometimes leaves a new measure unformatted and the Costco card looks empty.
Keep WhatIf parameters on the Prescriptive page only; putting them on Overview confuses people reading the Costco actuals.
For Costco, the skill target is decomposition tree on ΔPY — Costco demo uses Softlines in Asia Pacific. If a Costco visual does not respond to a slicer on category, check the relationship path back to Sales before you rewrite DAX.
All cards on this Costco guide use simulated totals — quote them as practice numbers for Food & sundries, never as Costco actuals.
Store KPIs as DAX for Costco
Company-specific KPI set for Costco, implemented as DAX measures. Values below are with no slicer (all rows), checked in pandas / dax-core. Practice totals: revenue about $650.18M, YoY 2.8%, margin n/a.
For a warehouse club retail business like Costco, these KPIs are not decoration — each one answers a decision a manager in USA would ask on Monday morning.
- Revenue ($650.18M on all rows): Money from sales after discount, both years in view. It is the top line: if revenue does not grow, nothing else can.
- Profit ($81.04M on all rows): Revenue minus cost. Revenue can rise while profit falls; profit shows if growth is healthy.
- YoY growth (n/a on all rows): Revenue growth of 2026 over 2025 (ΔPY%). It shows direction: are we bigger than last year?
- Membership fees ($1.64M on all rows): Membership fee income attributed to the filtered rows. Fees are nearly pure profit and fund the low retail mark-ups.
- Renewal % ($0.88 on all rows): Share of tickets from members who renewed. Renewal rate is the health check of the membership model.
- Sales / warehouse (n/a on all rows): Average revenue per warehouse-week under the filters. Sales per warehouse shows if new openings dilute productivity.
- Avg ticket ($533 on all rows): Average checkout ticket size. Bigger baskets mean members are finding more to buy inside the club.
- Ancillary % ($0.03 on all rows): Share of revenue from gas and pharmacy. Ancillary draws members in; watching the share keeps the mix honest.
- Executive % ($0.28 on all rows): Share of revenue from Executive members. Executive members pay more and usually spend more — a quality signal.
| KPI | DAX measure | What it means | Why this KPI | Value (all rows) |
|---|---|---|---|---|
| Revenue | Revenue | Money from sales after discount, both years in view. (for Costco) | It is the top line: if revenue does not grow, nothing else can. — Costco | $650.18M |
| Profit | Profit | Revenue minus cost. (for Costco) | Revenue can rise while profit falls; profit shows if growth is healthy. — Costco | $81.04M |
| YoY growth | YoY % | Revenue growth of 2026 over 2025 (ΔPY%). (for Costco) | It shows direction: are we bigger than last year? — Costco | 2.8% |
| Membership fees | Membership fees | Membership fee income attributed to the filtered rows. (for Costco) | Fees are nearly pure profit and fund the low retail mark-ups. — Costco | $1.64M |
| Renewal % | Renewal % | Share of tickets from members who renewed. (for Costco) | Renewal rate is the health check of the membership model. — Costco | 88.5% |
| Sales / warehouse | Sales per warehouse | Average revenue per warehouse-week under the filters. (for Costco) | Sales per warehouse shows if new openings dilute productivity. — Costco | $315.47K |
| Avg ticket | Avg ticket | Average checkout ticket size. (for Costco) | Bigger baskets mean members are finding more to buy inside the club. — Costco | $533 |
| Ancillary % | Ancillary % | Share of revenue from gas and pharmacy. (for Costco) | Ancillary draws members in; watching the share keeps the mix honest. — Costco | 3.1% |
| Executive % | Executive % | Share of revenue from Executive members. (for Costco) | Executive members pay more and usually spend more — a quality signal. — Costco | 28.0% |
Pictures of the Costco retail report

Figure 1. Picture of the layout (not a screenshot): Overview — 3-across KPI strip, Warehouse club · dark red · 3-across + funnel (≠ Excel light 6-flat). Simulated data.

Figure 2. Descriptive analytics page for Costco: what happened (matrix, mix, map). Picture of the layout; simulated data.

Figure 3. Diagnostic analytics page for Costco: why it happened (waterfall, decomposition tree). Picture of the layout; simulated data.

Figure 4. Predictive analytics page for Costco: forecast, ribbon, trend KPI. Picture of the layout; simulated data.

Figure 5. Prescriptive analytics page for Costco: what-if, funnel, recommendations. Picture of the layout; simulated data.
Build the Costco Power BI file yourself
Numbered steps name the Costco charts and measures on this report.
Step 1. Get the Costco CSVs
Work like a store ops lead reading the Costco till. Keep the same-store/channel angle while selecting Food & sundries.
Step 2. Relate the Costco star schema
Keep the same-store/channel angle while selecting Fresh foods. Model view: Sales[Date], then Date[Date], Sales[Product], then Product[Product], Sales[Region], then Region[Region].

Figure 6. Picture of the Costco star schema: Sales fact in the middle, Date, Product and Region around it.
Step 3. Mark Date for Costco time intelligence
Do it on the Costco model; check cards with Softlines. Mark as date table on Date[Date]; sort Month by MonthNo.
Step 4. Paste the 38 Costco measures
Keep the same-store/channel angle while selecting Hardlines. New measure ← measures.dax.
Step 5. Theme the Costco report
Browse for themes, then theme.json. Wire this for Costco; demo slicers Ancillary (gas/pharmacy)/Mexico.
Step 6. Overview page for Costco
Do it on the Costco model; check cards with Food & sundries. Slicers: Year, Region, Product, Channel.
Picture: see the Costco Overview figure above.
Step 7. Descriptive — what happened at Costco
Matrix (category × region), mix visual, map or columns for channels. Do it on the Costco model; check cards with Fresh foods.
Picture: see the Costco Descriptive figure above.
Step 8. Diagnostic — why Costco moved
Do it on the Costco model; check cards with Softlines. Waterfall on [ΔPY] by category; Decomposition tree Explain by Region, Product, Channel.
Picture: see the Costco Diagnostic figure above.
Step 9. Predictive — Costco next year
Publish only after Costco cards match with Hardlines+Asia Pacific. Line [Revenue] by month › Analytics › Forecast 12 months @ 95%.
Picture: see the Costco Predictive figure above.
Step 10. Prescriptive — what Costco should do
Publish only after Costco cards match with Ancillary (gas/pharmacy)+US East. Numeric parameters Price/Discount/Cost/Volume, then WhatIf Revenue/Profit.
Picture: see the Costco Prescriptive figure above.
Step 11. Check slicers and publish Costco
Click every slicer; compare cards to the expected-value table. Do it on the Costco model; check cards with Food & sundries.
Costco theme JSON and hex codes
{
"name": "RB costco Power BI",
"dataColors": [
"#E31837",
"#F6C700",
"#005DAA",
"#22C55E",
"#F87171",
"#A3A3A3"
],
"background": "#1A0A0A",
"foreground": "#F5F5F5",
"tableAccent": "#E31837",
"good": "#22C55E",
"bad": "#F87171",
"neutral": "#A3A3A3",
"visualStyles": {
"*": {
"*": {
"background": [
{
"color": {
"solid": {
"color": "#321818"
}
},
"transparency": 0
}
],
"title": [
{
"fontColor": {
"solid": {
"color": "#F5F5F5"
}
}
}
]
}
},
"page": {
"*": {
"background": [
{
"color": {
"solid": {
"color": "#1A0A0A"
}
},
"transparency": 0
}
]
}
}
}
}
| Colour | Used for |
|---|---|
#1A0A0A | Page background |
#2A1212 | Panels |
#321818 | Cards |
#E31837 | Accent |
#F6C700 | Second accent |
#F5F5F5 | Text |
#A3A3A3 | Muted text |
#22C55E | Good |
#F87171 | Bad |
All DAX measures for Costco
Descriptive, diagnostic, predictive and prescriptive measures — plus the Costco-specific KPIs. Each measure is annotated so this page does not read like a generic paste.
// Costco · Power BI measures (example practice data). Paste each into New measure.
// Tables: Sales (fact), Date, Product, Region.
Costco / Revenue — Costco · Revenue: drop on Overview before filtering to Food & sundries.
Revenue = SUM(Sales[Revenue])
Costco / Profit — Costco · Profit: format the card, then test Region = US East.
Profit = SUM(Sales[Profit])
Costco / Items sold — Costco · Items sold: keep in Measures table for the Softlines lesson.
Items sold = SUM(Sales[Qty])
Costco / Revenue 2026 — Costco · Revenue 2026: match expected-value table (All), then try Hardlines.
Revenue 2026 = CALCULATE([Revenue], 'Date'[Year] = 2026)
Costco / Revenue 2025 — Costco · Revenue 2025: on Diagnostic prefer ΔPY when this is a level; demo Europe.
Revenue 2025 = CALCULATE([Revenue], 'Date'[Year] = 2025)
Costco / YoY % — Costco · YoY %: say the name aloud when the Food & sundries card is placed.
YoY % = DIVIDE([Revenue 2026] - [Revenue 2025], [Revenue 2025])
Costco / Membership fees — Costco · Membership fees: after paste, confirm US West and Fresh foods still filter the card.
Membership fees = SUM(Sales[MembershipFee])
Costco / Renewal % — Costco · Renewal %: classroom check — does Softlines in US East move this tile?
Renewal % = DIVIDE(CALCULATE(SUM(Sales[Bills]), Sales[Renewed] = "Yes"), SUM(Sales[Bills]))
Costco / Sales per warehouse — Costco · Sales per warehouse: drop on Overview before filtering to Hardlines.
Sales per warehouse = DIVIDE([Revenue], SUM(Sales[WarehouseCount]))
Costco / Avg ticket — Costco · Avg ticket: format the card, then test Region = Mexico.
Avg ticket = DIVIDE([Revenue], SUM(Sales[Bills]))
Costco / Ancillary % — Costco · Ancillary %: keep in Measures table for the Food & sundries lesson.
Ancillary % = DIVIDE(CALCULATE([Revenue], Sales[Product] = "Ancillary (gas/pharmacy)"), [Revenue])
Costco / Executive % — Costco · Executive %: match expected-value table (All), then try Fresh foods.
Executive % = DIVIDE(CALCULATE([Revenue], Sales[CustomerType] = "Executive"), [Revenue])
Costco / Gross Sales — Costco · Gross Sales: on Diagnostic prefer ΔPY when this is a level; demo US West.
Gross Sales = SUM(Sales[GrossSales])
Costco / Discount Amt — Costco · Discount Amt: say the name aloud when the Hardlines card is placed.
Discount Amt = SUM(Sales[Discount])
Costco / Cost — Costco · Cost: after paste, confirm Canada and Ancillary (gas/pharmacy) still filter the card.
Cost = SUM(Sales[Cost])
Costco / Revenue PY — Costco · Revenue PY: classroom check — does Food & sundries in Mexico move this tile?
Revenue PY = CALCULATE([Revenue], SAMEPERIODLASTYEAR('Date'[Date]))
Costco / ΔPY — Costco · ΔPY: drop on Overview before filtering to Fresh foods.
ΔPY = [Revenue 2026] - [Revenue 2025]
Costco / ΔPY % — Costco · ΔPY %: format the card, then test Region = Asia Pacific.
ΔPY % = DIVIDE([ΔPY], [Revenue 2025])
Costco / Contribution % — Costco · Contribution %: keep in Measures table for the Hardlines lesson.
Contribution % = DIVIDE([ΔPY], CALCULATE([ΔPY], ALL(Sales[Product])))
Costco / Margin % 2026 — Costco · Margin % 2026: match expected-value table (All), then try Ancillary (gas/pharmacy).
Margin % 2026 = DIVIDE(CALCULATE([Profit], 'Date'[Year] = 2026), [Revenue 2026])
Costco / Revenue MA3 — Costco · Revenue MA3: on Diagnostic prefer ΔPY when this is a level; demo Canada.
Revenue MA3 = DIVIDE(CALCULATE([Revenue], DATESINPERIOD('Date'[Date], MAX('Date'[Date]), -3, MONTH)), 3)
Costco / Price Change — Costco · Price Change: say the name aloud when the Fresh foods card is placed.
Price Change = 0.03
Costco / Discount Change — Costco · Discount Change: after paste, confirm Europe and Softlines still filter the card.
Discount Change = -0.10
Costco / Cost Change — Costco · Cost Change: classroom check — does Hardlines in Asia Pacific move this tile?
Cost Change = 0.02
Costco / Volume Change — Costco · Volume Change: drop on Overview before filtering to Ancillary (gas/pharmacy).
Volume Change = -0.01
Costco / WhatIf Revenue — Costco · WhatIf Revenue: format the card, then test Region = US East.
WhatIf Revenue = (CALCULATE([Gross Sales], 'Date'[Year] = 2026) * (1 + [Price Change]) - CALCULATE([Discount Amt], 'Date'[Year] = 2026) * (1 + [Discount Change])) * (1 + [Volume Change])
Costco / WhatIf Profit — Costco · WhatIf Profit: keep in Measures table for the Fresh foods lesson.
WhatIf Profit = [WhatIf Revenue] - CALCULATE([Cost], 'Date'[Year] = 2026) * (1 + [Cost Change]) * (1 + [Volume Change])
Costco / Target Margin — Costco · Target Margin: match expected-value table (All), then try Softlines.
Target Margin = 0.2
Costco / Price Change Needed — Costco · Price Change Needed: on Diagnostic prefer ΔPY when this is a level; demo Europe.
Price Change Needed = DIVIDE(CALCULATE([Cost], 'Date'[Year] = 2026) * (1 + [Cost Change]) / (1 - [Target Margin]) + CALCULATE([Discount Amt], 'Date'[Year] = 2026) * (1 + [Discount Change]), CALCULATE([Gross Sales], 'Date'[Year] = 2026)) - 1
Costco / Recommendation — Costco · Recommendation: say the name aloud when the Ancillary (gas/pharmacy) card is placed.
Recommendation = IF([Margin % 2026] < 0.11, "Fix price / cut discount", IF([ΔPY %] < 0, "Find the cause, push sales", IF([ΔPY %] >= 0.1, "Invest to grow", "Keep steady")))
Revenue Trend =
Costco / VAR pts — Costco · VAR pts: after paste, confirm US West and Food & sundries still filter the card.
VAR pts = ADDCOLUMNS(SUMMARIZE(ALL('Date'), 'Date'[MonthIndex]), "@rev", [Revenue])
Costco / VAR fit — Costco · VAR fit: classroom check — does Fresh foods in US East move this tile?
VAR fit = LINESTX(pts, [@rev], 'Date'[MonthIndex])
Costco / VAR slope — Costco · VAR slope: drop on Overview before filtering to Softlines.
VAR slope = SELECTCOLUMNS(fit, [Slope1])
Costco / VAR icpt — Costco · VAR icpt: format the card, then test Region = Mexico.
VAR icpt = SELECTCOLUMNS(fit, [Intercept])
RETURN icpt + slope * MAX('Date'[MonthIndex])
Correl Discount vs Qty =
Costco / VAR n — Costco · VAR n: keep in Measures table for the Ancillary (gas/pharmacy) lesson.
VAR n = COUNTROWS(Sales)
Costco / VAR mx — Costco · VAR mx: match expected-value table (All), then try Food & sundries.
VAR mx = AVERAGE(Sales[Discount]) VAR my = AVERAGE(Sales[Qty])
Costco / VAR cov — Costco · VAR cov: on Diagnostic prefer ΔPY when this is a level; demo US West.
VAR cov = SUMX(Sales, (Sales[Discount] - mx) * (Sales[Qty] - my))
Costco / VAR sx — Costco · VAR sx: say the name aloud when the Softlines card is placed.
VAR sx = SQRT(SUMX(Sales, (Sales[Discount] - mx) ^ 2)) VAR sy = SQRT(SUMX(Sales, (Sales[Qty] - my) ^ 2))
RETURN DIVIDE(cov, sx * sy)
Walk through the key Costco measures
Three Costco-specific measures from measures.dax, explained with the practice totals. Read the expression, then match the card on the Overview page with no slicer selected.
Revenue
Expected (all rows): $650.18M. Why Costco cares: It is the top line: if revenue does not grow, nothing else can.
Revenue = SUM(Sales[Revenue])This Costco measure aggregates the fact table directly. In the Costco warehouse club retail model, keep Revenue in the Measures table and format it before you drop it on a card.
Profit
Expected (all rows): $81.04M. Why Costco cares: Revenue can rise while profit falls; profit shows if growth is healthy.
Profit = SUM(Sales[Profit])This Costco measure aggregates the fact table directly. In the Costco warehouse club retail model, keep Profit in the Measures table and format it before you drop it on a card.
Revenue 2026
Expected (all rows): $329.54M. Why Costco cares: It shows direction: are we bigger than last year?
Revenue 2026 = CALCULATE([Revenue], 'Date'[Year] = 2026)
Revenue 2025 = CALCULATE([Revenue], 'Date'[Year] = 2025)
YoY % = DIVIDE([Revenue 2026] - [Revenue 2025], [Revenue 2025])DIVIDE protects Costco against divide-by-zero. In the Costco warehouse club retail model, keep Revenue 2026 in the Measures table and format it before you drop it on a card.
YoY / ΔPY for Costco · Food & sundries
For Costco, build the waterfall on ΔPY with Food & sundries visible. Raw revenue hides mix shifts in US West. Contribution % = DIVIDE([ΔPY], CALCULATE([ΔPY], ALL(Product))).
Model tips for Costco retail facts
Data-model notes for Costco. Fact table Sales holds one warehouse's weekly sales of one category — Costco students should say Food & sundries and US West when they name the grain. If store and online share category names, still keep Channel on Sales. Hiding Channel inside Product will break the Costco funnel and recommendation table. Relationships stay single-direction dimension, then Sales so a slicer on Product cannot accidentally filter Date out of the Costco trend.
Common mistakes on Costco visuals
- Margin errors on Costco when Fresh foods has zero revenue months — wrap with DIVIDE.
- Skipping Mark as date table breaks SAMEPERIODLASTYEAR for the Costco Softlines card.
- Diagnostic page built on Revenue, not ΔPY — Mexico contribution looks misleading.
- Report-level measure with a hard-coded “Softlines” filter fights the Costco slicers.
- Manual colour tweaks before theme.json — Costco strip colours snap back.
- Shipping with Mexico selected — classmates think Costco practice totals are wrong.
Verification of the Costco DAX
Each Costco measure was run in a DAX test engine on the same data and compared with pandas: 19 of 19 checks matched. Use these values with no slicer selected:
| Measure | Expected value (all rows) |
|---|---|
| Revenue | $650.18M |
| Profit | $81.04M |
| YoY % | +2.8% |
| Membership fees | $1.64M |
| Renewal % | 88.5% |
| Sales per warehouse | $315.47K |
| Avg ticket | $533 |
| Ancillary % | 3.1% |
| Executive % | 28.0% |
| Revenue 2026 | $329.54M |
| Revenue 2025 | $320.63M |
| ΔPY | $8.91M |
| ΔPY % | +2.8% |
| Margin % 2026 | 13.7% |
| WhatIf Revenue | $336.57M |
| WhatIf Profit | $49.31M |
| Price Change Needed | +9.8% |
| Revenue MA3 (Dec 2026) | $27.75M |
| Revenue Trend (t=36, Dec 2027) | $30.98M |
| Correl Discount vs Qty | 0.56 |
Next: the same dashboard in Excel · all 50 Power BI company dashboards.
FAQ · Costco in Power BI
Can I download a .pbix?
No. A .pbix needs Power BI Desktop on Windows. You get the Costco CSVs, DAX, theme and layout pictures for the Food & sundries lesson.
Is this real Costco data?
No — simulated practice data. Public facts only: HQ Issaquah, Washington, USA, industry Warehouse club retail. Anything about Food & sundries or US West on the cards is fictional.
Why a separate Date table for Costco?
Time intelligence (SAMEPERIODLASTYEAR, DATESINPERIOD, forecast axis) needs a marked date table before YoY on Food & sundries will work.
Why does the Power BI Costco report look different from Excel?
Same business KPIs, different visuals and a dark theme suited to warehouse club retail gallery layouts. Compare the Food & sundries card across both tools.
What skill does this Costco guide emphasise?
decomposition tree on ΔPY — Costco demo uses Softlines in Asia Pacific on a warehouse club retail star schema, practised with Food & sundries and US West.
Which slicer pair should I demo first on Costco?
Product = Food & sundries, then Region = US West. Reset to All before you publish.
Quick quiz: Costco Power BI
Questions on this Costco Power BI guide. Sign in to save your score.
Which table is the fact table in the Costco model (holding Food & sundries rows)?
- Date
- Product
- Sales
- Region
Show answer
C. Sales. Sales holds one row per one warehouse's weekly sales of one category for Costco; Product describes Food & sundries.
What mood is the Costco Power BI theme for the Food & sundries gallery?
- Always yellow/charcoal
- dark (#1A0A0A)
- Only light grey
- Random
Show answer
B. dark (#1A0A0A). This Costco report uses a dark theme with background #1A0A0A and accent #E31837.
Which visual finds the biggest drag on Costco ΔPY for Fresh foods?
- Card
- Decomposition tree
- Slicer
- Donut
Show answer
B. Decomposition tree. The decomposition tree splits Costco ΔPY by Region (try US West), Product and Channel.
Why does Costco track KPIs beyond Revenue for Food & sundries?
- Decoration
- Renewal rate is the health check of the membership model.
- Power BI requires 10 measures
- For the theme JSON
Show answer
B. Renewal rate is the health check of the membership model.. Industry KPIs answer Costco business questions the Excel redesign also teaches.
Can you download a .pbix for Costco (Food & sundries lesson) from this page?
- Yes
- No, you build it from the CSVs, DAX and theme
- Only on mobile
- Only the theme
Show answer
B. No, you build it from the CSVs, DAX and theme. A .pbix needs Power BI Desktop on Windows; this page ships Costco CSVs and DAX.
Which analytics page answers what Costco should do in US West?
- Descriptive
- Diagnostic
- Predictive
- Prescriptive
Show answer
D. Prescriptive. Prescriptive: what-if parameters, recommendations and target gauges for Costco.
Revision card