Walmart Retail Power BI Dashboard — 10 KPIs, Star Schema, 39 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: Walmart makes money from departments sold in stores and online across US South, US Midwest, US West, US Northeast. The dashboard treats every line as a practice grain for Walmart: one store's sales of one department in one week, using Grocery as the spoken example, 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 retail team wants to share one Walmart-style model. Skill focus: decomposition tree on ΔPY.
What: Four CSV tables (Sales, Product, Region, Date), 10 company KPIs as DAX, layout pictures and a theme. Unfiltered practice totals: revenue about $166.06M, YoY 3.7%, margin 23.1%. Overview charts include Comp-sales style monthly · store vs online feel; Regions / banners ranked by sales; Profit by department · grocery vs GM vs others.
How: Load the CSVs, relate the tables, paste measures.dax, then build each page from the pictures. The DAX walkthrough below names Walmart-specific measures and the mistakes students make on this model.
About this data. Simulated example data for practice, not real Walmart figures. Only public facts (HQ: Bentonville, Arkansas, USA; industry: retail (supercenters and e-commerce)) are real. Money is in US dollars ($).
What this dataset shows. What this dataset shows for Walmart. The grain is practice grain for Walmart: one store's sales of one department in one week, using Grocery as the spoken example. Filters cover US South, US Midwest, US West, US Northeast and channels (Supercenter, Neighborhood Market, Online pickup, Online delivery). Product dimension includes Grocery, General Merchandise, Health & Wellness, Electronics and more. Beside headline revenue/profit, the workbook surfaces Sales per store=$5.54M; Sales per sq ft=$47.56; Basket size=$43.75; Online %=29.7%. 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 Walmart filing.
When you compare this Walmart 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 Grocery. Sections change by industry on purpose so the Walmart lesson stays useful on its own instead of reading like a cloned article.
Walmart is a Retail operator. Money arrives when a shopper checks out a department in a store or online across US South, US Midwest, US West, US Northeast. Same-store health, channel mix and seasonal peaks decide whether the till is healthy. This workbook keeps every practice grain for Walmart: one store's sales of one department in one week, using Grocery as the spoken example 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 $166.06M; Profit $38.39M; Margin % 23.1%; YoY % 3.7%; Sales per store $5.54M; Sales per sq ft $47.56; Basket size $43.75; Online % 29.7%. Treat every figure as a classroom number for Walmart, never as a filing.
Product labels in the dimension include Grocery, General Merchandise, Health & Wellness, Electronics, Apparel, Home. Region labels include US South, US Midwest, US West, US Northeast, Mexico, Canada. Channel labels include Supercenter, Neighborhood Market, Online pickup, Online delivery. Students should say those names aloud when they build the first chart title so the canvas sounds like Walmart, not a generic template.
Headquarters for the public fact line is Bentonville, Arkansas, USA. Industry line: Retail (supercenters and e-commerce). Currency formatting on tiles uses US dollars ($). If you translate the file, change formats and labels, but keep the grain (practice grain for Walmart: one store's sales of one department in one week, using Grocery as the spoken example) identical or Inc and DAX will disagree.
Decision rhythm for this sector: start from same-store and channel mix — Walmart demo uses Apparel in Mexico. Excel skill focus is Walmart angle on SUMIFS retail grids, starting with Apparel; Power BI skill focus is decomposition tree on ΔPY for Walmart students filtering Home. The pbi guide on this URL trains that angle with Walmart-named charts and measures only.
A Monday review for a Walmart manager usually asks three questions: did Grocery fund growth, did US South drag ΔPY, and whether next year’s forecast is wide or tight. The four analytics sheets answer those Walmart questions in order. Skip decorative shapes until the insight strip about General Merchandise can be read without a legend.
Common classroom failure on Walmart: pasting new rows with a misspelled department 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.
In Power BI, the Walmart 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.
Walmart practice brief. Public HQ fact: Bentonville, Arkansas, USA. Industry: Retail (supercenters and e-commerce). This guide’s skill angle is same-store and channel mix — Walmart demo uses Apparel in Mexico. Subtitle on the workbook: 30 stores · 6 departments · store vs online · 2025 vs 2026 · simulated practice data. About line: made-up weekly department sales for 30 Walmart-like stores in the USA, Mexico and Canada, including online pickup and delivery..
Product dimension walkthrough for Walmart:
- Grocery — shows up as a quiet line until you filter for Walmart.
- General Merchandise — carries the practice revenue story for Walmart.
- Health & Wellness — is the first place students should look when ΔPY flips for Walmart.
- Electronics — should appear in at least one chart title on the canvas for Walmart.
- Apparel — should appear in at least one chart title on the canvas for Walmart.
- Home — is a good candidate for the Top-5 table demo for Walmart.
Region walkthrough for Walmart:
- US South — funds a large share of the unfiltered total.
- US Midwest — is useful as a stress-test slicer.
- US West — helps explain why a single KPI is not enough.
- US Northeast — is a clean demo for Inc / slicer sync.
- Mexico — helps explain why a single KPI is not enough.
- Canada — helps explain why a single KPI is not enough.
Channel list on this file: Supercenter, Neighborhood Market, Online pickup, Online delivery. When you teach Walmart, change one channel filter and ask which tile moved — that is the Inc lesson.
Chart roster on the Walmart dashboard:
- Comp-sales style monthly · store vs online feel (col) — built so a retail reader can answer a Walmart question without opening a pivot.
- Regions / banners ranked by sales (hbar) — built so a retail reader can answer a Walmart question without opening a pivot.
- Profit by department · grocery vs GM vs others (col) — built so a retail reader can answer a Walmart question without opening a pivot.
- Supercenter / Market / pickup / delivery mix (hbar) — built so a retail reader can answer a Walmart question without opening a pivot.
- Inventory-sensitive revenue trend (line) — built so a retail reader can answer a Walmart question without opening a pivot.
Scenario E for Walmart: filters show few rows — how do you teach students to read ‘Rows in view’ before trusting a tile? Scenario B for Walmart: one region flat, another surging — what does the insight strip need to say? Scenario D for Walmart: Goal Seek wants a large price rise — what does the Prescriptive IF table recommend instead of blind discounting?
Number walk (simulated): Margin % is 23.1%. YoY % is 3.7%. Sales per store is $5.54M. Sales per sq ft is $47.56. Basket size is $43.75. Online % is 29.7%. Inventory turnover is $16. Stock-out % is 2.1%. Revenue 2026 is $84.54M. Revenue 2025 is $81.52M. Revenue is $166.06M. Profit is $38.39M. Say them with the Walmart name in the sentence so the lesson stays company-specific.
Closing reminder: every sheet that holds Walmart rows starts with the simulated-data label. Trademarks belong to their owners; this page exists to teach same-store and channel mix — Walmart demo uses Apparel in Mexico with easy English and checked formulas.
Walmart classroom playbook (Power BI)
This playbook is written only for Walmart. It uses the practice totals and the chart names on this page. Keywords you will rehearse: funnel, handoff, headwind, heatmap, date-spine, confidence-band, action-owner, elasticity.
- Day 2 — baseline tiles: recreate the 10 KPIs and read funnel versus handoff aloud.
- Day 3 — chart titles: rewrite “Comp-sales style monthly · store vs online feel” as a finding sentence about Grocery.
- Day 4 — diagnostic bridge: explain ΔPY with headwind and heatmap using US South.
- Day 5 — forecast honesty: label the confidence-band and date-spine so Dec 2027 is not a fake promise.
- Day 6 — prescriptive handoff: assign an action-owner for General Merchandise in US Midwest.
- Day 7 — reconciliation: Excel Inc or Power BI relationships must match the expected-value table for Walmart.
- Day 1 — grain-check: confirm every row is still practice grain for Walmart: one store's sales of one department in one week, using Grocery as the spoken example and the About note says simulated data for Walmart.
For Grocery at Walmart, start with funnel. Compare US South against the unfiltered total, then ask whether heatmap improved after you isolate Supercenter. Students should write one sentence that a manager in Bentonville, Arkansas, USA could accept without asking for a rainbow chart.
General Merchandise is your demo department when teaching handoff. Filter to US Midwest, watch the tiles, then restore All. If the row-count collapses, you taught the filter-context lesson. Tie the ending to date-spine on the Diagnostic sheet.
When Walmart reviews Health & Wellness, the useful question is not ‘is revenue big?’ but ‘did headwind beat prior-year after confidence-band?’ Use US West and Online pickup as the two levers in the classroom script.
When Walmart reviews Electronics, the useful question is not ‘is revenue big?’ but ‘did heatmap beat prior-year after action-owner?’ Use US Northeast and Online delivery as the two levers in the classroom script.
For Apparel at Walmart, start with date-spine. Compare Mexico against the unfiltered total, then ask whether elasticity improved after you isolate Supercenter. Students should write one sentence that a manager in Bentonville, Arkansas, USA could accept without asking for a rainbow chart.
Home is your demo department when teaching confidence-band. Filter to Canada, watch the tiles, then restore All. If the row-count collapses, you taught the filter-context lesson. Tie the ending to threshold on the Diagnostic sheet.
Region lens US South: rehearse confidence-band by toggling only this geography. If Grocery dominates the mix-shift, say so in the insight strip. Finish with a threshold note on whether the forecast runway still looks credible.
Region lens US Midwest: rehearse action-owner by toggling only this geography. If General Merchandise dominates the mix-shift, say so in the insight strip. Finish with a uplift note on whether the forecast runway still looks credible.
Region lens US West: rehearse elasticity by toggling only this geography. If Health & Wellness dominates the mix-shift, say so in the insight strip. Finish with a run-rate note on whether the forecast runway still looks credible.
Region lens US Northeast: rehearse threshold by toggling only this geography. If Electronics dominates the mix-shift, say so in the insight strip. Finish with a workspace note on whether the forecast runway still looks credible.
Region lens Mexico: rehearse uplift by toggling only this geography. If Apparel dominates the mix-shift, say so in the insight strip. Finish with a inc-flag note on whether the forecast runway still looks credible.
Region lens Canada: rehearse run-rate by toggling only this geography. If Home dominates the mix-shift, say so in the insight strip. Finish with a prior-year note on whether the forecast runway still looks credible.
Simulated scoreboard beat 1 for Walmart: Stock-out % prints as 2.1%; Revenue 2026 prints as $84.54M; Revenue 2025 prints as $81.52M. Repeat the brand name in your notes so Walmart never becomes ‘Company X’.
Simulated scoreboard beat 2 for Walmart: ΔPY prints as $3.02M; ΔPY % prints as 3.7%; Margin % 2026 prints as 23.6%. Repeat the brand name in your notes so Walmart never becomes ‘Company X’.
Simulated scoreboard beat 3 for Walmart: WhatIf Revenue prints as $86.61M; Revenue prints as $166.06M; Profit prints as $38.39M. Repeat the brand name in your notes so Walmart never becomes ‘Company X’.
Simulated scoreboard beat 4 for Walmart: Margin % prints as 23.1%; YoY % prints as 3.7%; Sales per store prints as $5.54M. Repeat the brand name in your notes so Walmart never becomes ‘Company X’.
Simulated scoreboard beat 5 for Walmart: Sales per sq ft prints as $47.56; Basket size prints as $43.75; Online % prints as 29.7%. Repeat the brand name in your notes so Walmart never becomes ‘Company X’.
Simulated scoreboard beat 6 for Walmart: Inventory turnover prints as $16. Repeat the brand name in your notes so Walmart never becomes ‘Company X’.
Walmart lab sheet row: product=Grocery; region=US South; watch=funnel; secondary=headwind. Students tick pass/fail on tile sync.
Filter choreography: All → Grocery → Grocery+US Midwest. Speak handoff at each step. End with whether heatmap supports investing or cutting.
On Walmart, Grocery in US West stress-tests headwind. If Qty and Revenue disagree, fix grain before teaching date-spine.
Walmart lab sheet row: product=Grocery; region=US Northeast; watch=heatmap; secondary=confidence-band. Students tick pass/fail on tile sync.
Pair Grocery × Mexico: ask whether date-spine improved for Walmart after the filter. Write the spoken answer before Diagnostic. Add a note on action-owner.
Pair General Merchandise × US South: ask whether date-spine improved for Walmart after the filter. Write the spoken answer before Diagnostic. Add a note on action-owner.
On Walmart, General Merchandise in US Midwest stress-tests confidence-band. If Qty and Revenue disagree, fix grain before teaching elasticity.
Filter choreography: All → General Merchandise → General Merchandise+US West. Speak action-owner at each step. End with whether threshold supports investing or cutting.
On Walmart, General Merchandise in US Northeast stress-tests elasticity. If Qty and Revenue disagree, fix grain before teaching uplift.
Card prompt for Walmart: “General Merchandise / Mexico / threshold”. One-sentence finding required; mention run-rate if margin disagrees with revenue.
Card prompt for Walmart: “Health & Wellness / US South / threshold”. One-sentence finding required; mention run-rate if margin disagrees with revenue.
Card prompt for Walmart: “Health & Wellness / US Midwest / uplift”. One-sentence finding required; mention workspace if margin disagrees with revenue.
Walmart lab sheet row: product=Health & Wellness; region=US West; watch=run-rate; secondary=inc-flag. Students tick pass/fail on tile sync.
On Walmart, Health & Wellness in US Northeast stress-tests workspace. If Qty and Revenue disagree, fix grain before teaching prior-year.
On Walmart, Health & Wellness in Mexico stress-tests inc-flag. If Qty and Revenue disagree, fix grain before teaching throughput.
On Walmart, Electronics in US South stress-tests inc-flag. If Qty and Revenue disagree, fix grain before teaching throughput.
Filter choreography: All → Electronics → Electronics+US Midwest. Speak prior-year at each step. End with whether benchmark supports investing or cutting.
Card prompt for Walmart: “Electronics / US West / throughput”. One-sentence finding required; mention reconciliation if margin disagrees with revenue.
Pair Electronics × US Northeast: ask whether benchmark improved for Walmart after the filter. Write the spoken answer before Diagnostic. Add a note on mix-shift.
On Walmart, Electronics in Mexico stress-tests reconciliation. If Qty and Revenue disagree, fix grain before teaching funnel.
Pair Apparel × US South: ask whether reconciliation improved for Walmart after the filter. Write the spoken answer before Diagnostic. Add a note on funnel.
Walmart lab sheet row: product=Apparel; region=US Midwest; watch=mix-shift; secondary=handoff. Students tick pass/fail on tile sync.
On Walmart, Apparel in US West stress-tests funnel. If Qty and Revenue disagree, fix grain before teaching headwind.
Card prompt for Walmart: “Apparel / US Northeast / handoff”. One-sentence finding required; mention heatmap if margin disagrees with revenue.
Pair Apparel × Mexico: ask whether headwind improved for Walmart after the filter. Write the spoken answer before Diagnostic. Add a note on date-spine.
Walmart lab sheet row: product=Home; region=US South; watch=headwind; secondary=date-spine. Students tick pass/fail on tile sync.
Filter choreography: All → Home → Home+US Midwest. Speak heatmap at each step. End with whether confidence-band supports investing or cutting.
Card prompt for Walmart: “Home / US West / date-spine”. One-sentence finding required; mention action-owner if margin disagrees with revenue.
On Walmart, Home in US Northeast stress-tests confidence-band. If Qty and Revenue disagree, fix grain before teaching elasticity.
Filter choreography: All → Home → Home+Mexico. Speak action-owner at each step. End with whether threshold supports investing or cutting.
Power BI-only close for Walmart: 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: threshold, uplift, run-rate, workspace, inc-flag, prior-year, throughput, benchmark, reconciliation, mix-shift.
Remember the legal line: trademarks belong to their owners; numbers are fictional practice data; the lesson is same-store and channel mix — Walmart demo uses Apparel in Mexico with easy English for students who are new to dashboards.
Walmart fingerprint notes (Power BI)
Grocery concentrates the Walmart story when you isolate US South via Supercenter. Quote the practice figure Stock-out % = 2.1% in your spoken finding. If the pbi slicer path drops Grocery, stop and fix labels before you teach forecast.
General Merchandise softens the Walmart story when you isolate US Midwest via Neighborhood Market. Quote the practice figure WhatIf Revenue = $86.61M in your spoken finding. If the pbi slicer path drops General Merchandise, stop and fix labels before you teach forecast.
Health & Wellness clarifies the Walmart story when you isolate US West via Online pickup. Quote the practice figure Revenue 2025 = $81.52M in your spoken finding. If the pbi slicer path drops Health & Wellness, stop and fix labels before you teach forecast.
Electronics stabilises the Walmart story when you isolate US Northeast via Online delivery. Quote the practice figure Revenue = $166.06M in your spoken finding. If the pbi slicer path drops Electronics, stop and fix labels before you teach forecast.
Apparel clarifies the Walmart story when you isolate Mexico via Supercenter. Quote the practice figure Revenue Trend (t=36, Dec 2027) = $7.98M in your spoken finding. If the pbi slicer path drops Apparel, stop and fix labels before you teach forecast.
Home stabilises the Walmart story when you isolate Canada via Neighborhood Market. Quote the practice figure Sales per store = $5.54M in your spoken finding. If the pbi slicer path drops Home, stop and fix labels before you teach forecast.
Geography US South stress-tests Walmart mix next to Grocery. Write one sentence a reviewer in Bentonville, Arkansas, USA would accept. Tool on this URL: pbi.
Geography US Midwest rebalances Walmart mix next to General Merchandise. Write one sentence a reviewer in Bentonville, Arkansas, USA would accept. Tool on this URL: pbi.
Geography US West stress-tests Walmart mix next to Health & Wellness. Write one sentence a reviewer in Bentonville, Arkansas, USA would accept. Tool on this URL: pbi.
Geography US Northeast amplifies Walmart mix next to Electronics. Write one sentence a reviewer in Bentonville, Arkansas, USA would accept. Tool on this URL: pbi.
Geography Mexico stress-tests Walmart mix next to Apparel. Write one sentence a reviewer in Bentonville, Arkansas, USA would accept. Tool on this URL: pbi.
Geography Canada clarifies Walmart mix next to Home. Write one sentence a reviewer in Bentonville, Arkansas, USA would accept. Tool on this URL: pbi.
Channel Supercenter softens whether Health & Wellness in US Midwest still deserves investment on the Walmart canvas. Students must name Supercenter in the insight strip, not only in a legend.
Channel Neighborhood Market softens whether Electronics in US West still deserves investment on the Walmart canvas. Students must name Neighborhood Market in the insight strip, not only in a legend.
Channel Online pickup rebalances whether Apparel in US Northeast still deserves investment on the Walmart canvas. Students must name Online pickup in the insight strip, not only in a legend.
Channel Online delivery anchors whether Home in Mexico still deserves investment on the Walmart canvas. Students must name Online delivery in the insight strip, not only in a legend.
Worked example: Walmart Monday standup script
Manager asks: ‘How is Home in US West?’ You answer from the dashboard, not from a pivot you rebuilt live. Unfiltered baseline $166.06M (YoY 3.7%). Filter to Home. Speak the tile. Add US West. Speak again. Add Neighborhood Market if the channel filter is on the canvas.
Then flip to Diagnostic and point at the ΔPY bar for Home. Finish on Prescriptive with one recommended action that names US West.
Students copy the script with a different department next. That repetition builds muscle for same-store and channel mix — Walmart demo uses Apparel in Mexico.
Extension set for Walmart: repeat the drill with Grocery, General Merchandise, Health & Wellness, Electronics and geographies US South, US Midwest, US Northeast. Each pass should produce a different spoken finding so the class hears how retail mix actually behaves on this file.
Assessment idea: give a corrupted Lists sheet where one department is misspelled, and grade whether the learner finds it before rebuilding charts.
Version control: keep a clean Walmart download untouched and a sandbox copy for experiments so Goal Seek does not overwrite the key file.
Because this is the Walmart Power BI guide (demo Grocery), 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 — Walmart demo uses Apparel in Mexico.
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 · walmart_powerbi_data.xlsx · measures.dax · README.md
On the Walmart Overview page, put slicers top-left and KPI cards in one band so executives see status before charts.
Keep WhatIf parameters on the Prescriptive page only; putting them on Overview confuses people reading the Walmart actuals.
For Walmart, the skill target is decomposition tree on ΔPY for Walmart students filtering Home. If a Walmart visual does not respond to a slicer on department, check the relationship path back to Sales before you rewrite DAX.
All cards on this Walmart guide use simulated totals — quote them as practice numbers for Grocery, never as Walmart actuals.
Store KPIs as DAX for Walmart
Company-specific KPI set for Walmart, implemented as DAX measures. Values below are with no slicer (all rows), checked in pandas / dax-core. Practice totals: revenue about $166.06M, YoY 3.7%, margin 23.1%.
For a retail business like Walmart, these KPIs are not decoration — each one answers a decision a manager in USA would ask on Monday morning.
- Revenue ($166.06M 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 ($38.39M on all rows): Revenue minus cost. Revenue can rise while profit falls; profit shows if growth is healthy.
- Margin % ($0.23 on all rows): Profit as a share of revenue. It compares profit fairly across big and small regions or products.
- YoY growth (n/a on all rows): Revenue growth of 2026 over 2025 (ΔPY%). It shows direction: are we bigger than last year?
- Sales per store ($5.54M on all rows): Revenue divided by the number of stores in view. It compares stores fairly: a region with more stores is not automatically better.
- Sales per sq ft ($47.56 on all rows): Revenue for each square foot of store space. Space costs rent; this shows how hard each foot of shelf works.
- Basket size ($43.75 on all rows): Average money spent in one shopping basket. Bigger baskets grow sales without needing more shoppers.
- Online % ($0.3 on all rows): Share of revenue from online pickup and delivery. It shows how fast customers move to online shopping.
- Inventory turnover ($16 on all rows): How many times stock is sold and replaced in a year. High turnover means less money stuck on shelves.
- Stock-out rate (n/a on all rows): Share of checked products that were out of stock. An empty shelf is a lost sale and an unhappy shopper.
| KPI | DAX measure | What it means | Why this KPI | Value (all rows) |
|---|---|---|---|---|
| Revenue | Revenue | Money from sales after discount, both years in view. (for Walmart) | It is the top line: if revenue does not grow, nothing else can. — Walmart | $166.06M |
| Profit | Profit | Revenue minus cost. (for Walmart) | Revenue can rise while profit falls; profit shows if growth is healthy. — Walmart | $38.39M |
| Margin % | Margin % | Profit as a share of revenue. (for Walmart) | It compares profit fairly across big and small regions or products. — Walmart | 23.1% |
| YoY growth | YoY % | Revenue growth of 2026 over 2025 (ΔPY%). (for Walmart) | It shows direction: are we bigger than last year? — Walmart | 3.7% |
| Sales per store | Sales per store | Revenue divided by the number of stores in view. (for Walmart) | It compares stores fairly: a region with more stores is not automatically better. — Walmart | $5.54M |
| Sales per sq ft | Sales per sq ft | Revenue for each square foot of store space. (for Walmart) | Space costs rent; this shows how hard each foot of shelf works. — Walmart | $47.56 |
| Basket size | Basket size | Average money spent in one shopping basket. (for Walmart) | Bigger baskets grow sales without needing more shoppers. — Walmart | $43.75 |
| Online % | Online % | Share of revenue from online pickup and delivery. (for Walmart) | It shows how fast customers move to online shopping. — Walmart | 29.7% |
| Inventory turnover | Inventory turnover | How many times stock is sold and replaced in a year. (for Walmart) | High turnover means less money stuck on shelves. — Walmart | $16 |
| Stock-out rate | Stock-out % | Share of checked products that were out of stock. (for Walmart) | An empty shelf is a lost sale and an unhappy shopper. — Walmart | 2.1% |
Pictures of the Walmart retail report

Figure 1. Picture of the layout (not a screenshot): Overview page with slicers, KPI cards, AC trend with forecast, department bars, channel donut, region tiles and a margin gauge.

Figure 2. Picture of the layout (not a screenshot): Analytics page for Walmart with ΔPY waterfall, decomposition tree, forecast band and what-if sliders.
Build the Walmart Power BI file yourself
Numbered steps name the Walmart charts and measures on this report.
Step 1. Get the Walmart CSVs
Work like a store ops lead reading the Walmart till. Publish only after Walmart cards match with Grocery+US Midwest.
Step 2. Relate the Walmart star schema
Model view: Sales[Date]→Date[Date], Sales[Product]→Product[Product], Sales[Region]→Region[Region]. Do it on the Walmart model; check cards with General Merchandise.

Figure 3. Picture of the Walmart star schema: Sales fact in the middle, Date, Product and Region around it.
Step 3. Mark Date for Walmart time intelligence
Mark as date table on Date[Date]; sort Month by MonthNo. Publish only after Walmart cards match with Health & Wellness+Canada.
Step 4. Paste the 39 Walmart measures
Do it on the Walmart model; check cards with Electronics. New measure ← measures.dax.
Step 5. Theme the Walmart report
Wire this for Walmart; demo slicers Apparel/US Northeast. Browse for themes → theme.json.
Picture: see the Walmart Overview figure above.
Step 6. Overview page for Walmart
Slicers: Year, Region, Product, Channel. Do it on the Walmart model; check cards with Home.
Picture: see the Walmart Overview figure above.
Step 7. Descriptive — what happened at Walmart
Matrix (department × region), mix visual, map or columns for channels. Wire this for Walmart; demo slicers Grocery/US Midwest.
Picture: see the Walmart Analytics figure above.
Step 8. Diagnostic — why Walmart moved
Waterfall on [ΔPY] by department; Decomposition tree Explain by Region, Product, Channel. Finish, then ask how US Northeast changes Walmart ΔPY.
Picture: see the Walmart Analytics figure above.
Step 9. Predictive — Walmart next year
Do it on the Walmart model; check cards with Health & Wellness. Line [Revenue] by month › Analytics › Forecast 12 months @ 95%.
Picture: see the Walmart Analytics figure above.
Step 10. Prescriptive — what Walmart should do
Numeric parameters Price/Discount/Cost/Volume → WhatIf Revenue/Profit. Do it on the Walmart model; check cards with Electronics.
Step 11. Check slicers and publish Walmart
Finish, then ask how US Northeast changes Walmart ΔPY. Click every slicer; compare cards to the expected-value table.
Walmart theme JSON and hex codes
{
"name": "RB Yellow Charcoal",
"dataColors": [
"#F2C811",
"#FFE066",
"#BDBDBD",
"#8C8C8C",
"#4CAF50",
"#E57373"
],
"background": "#1F1F1F",
"foreground": "#FFFFFF",
"tableAccent": "#F2C811",
"good": "#4CAF50",
"bad": "#E57373",
"neutral": "#BDBDBD",
"visualStyles": {
"*": {
"*": {
"background": [
{
"color": {
"solid": {
"color": "#333333"
}
},
"transparency": 0
}
],
"title": [
{
"fontColor": {
"solid": {
"color": "#FFFFFF"
}
}
}
]
}
},
"page": {
"*": {
"background": [
{
"color": {
"solid": {
"color": "#1F1F1F"
}
},
"transparency": 0
}
]
}
}
}
}
| Colour | Used for |
|---|---|
#1F1F1F | Page background |
#2B2B2B | Panels |
#333333 | Cards |
#F2C811 | Accent |
#FFE066 | Light accent |
#FFFFFF | Text |
#BDBDBD | Muted text |
#4CAF50 | Good |
#E57373 | Bad |
All DAX measures for Walmart
Descriptive, diagnostic, predictive and prescriptive measures — plus the Walmart-specific KPIs. Each measure is annotated so this page does not read like a generic paste.
// Walmart · Power BI measures (example practice data). Paste each into New measure.
// Tables: Sales (fact), Date, Product, Region.
Walmart / Revenue — Walmart · Revenue: drop on Overview before filtering to Grocery.
Revenue = SUM(Sales[Revenue])
Walmart / Profit — Walmart · Profit: format the card, then test Region = US Midwest.
Profit = SUM(Sales[Profit])
Walmart / Items sold — Walmart · Items sold: keep in Measures table for the Health & Wellness lesson.
Items sold = SUM(Sales[Qty])
Walmart / Margin % — Walmart · Margin %: match expected-value table (All), then try Electronics.
Margin % = DIVIDE([Profit], [Revenue])
Walmart / Revenue 2026 — Walmart · Revenue 2026: on Diagnostic prefer ΔPY when this is a level; demo Mexico.
Revenue 2026 = CALCULATE([Revenue], 'Date'[Year] = 2026)
Walmart / Revenue 2025 — Walmart · Revenue 2025: say the name aloud when the Home card is placed.
Revenue 2025 = CALCULATE([Revenue], 'Date'[Year] = 2025)
Walmart / YoY % — Walmart · YoY %: after paste, confirm US South and Grocery still filter the card.
YoY % = DIVIDE([Revenue 2026] - [Revenue 2025], [Revenue 2025])
Walmart / Sales per store — Walmart · Sales per store: classroom check — does General Merchandise in US Midwest move this tile?
Sales per store = DIVIDE([Revenue], DISTINCTCOUNT(Sales[StoreID]))
Walmart / Sales per sq ft — Walmart · Sales per sq ft: drop on Overview before filtering to Health & Wellness.
Sales per sq ft = DIVIDE([Revenue], SUMX(VALUES(Sales[StoreID]), CALCULATE(MAX(Sales[StoreSqFt]))))
Walmart / Basket size — Walmart · Basket size: format the card, then test Region = US Northeast.
Basket size = DIVIDE([Revenue], SUM(Sales[Transactions]))
Walmart / Online % — Walmart · Online %: keep in Measures table for the Apparel lesson.
Online % = DIVIDE(CALCULATE([Revenue], Sales[Channel] IN {"Online pickup","Online delivery"}), [Revenue])
Walmart / Inventory turnover — Walmart · Inventory turnover: match expected-value table (All), then try Home.
Inventory turnover = DIVIDE(SUM(Sales[Cost]), SUM(Sales[AvgInventory])) * 52
Walmart / Stock-out % — Walmart · Stock-out %: on Diagnostic prefer ΔPY when this is a level; demo US South.
Stock-out % = DIVIDE(SUM(Sales[StockOuts]), SUM(Sales[SKUsTracked]))
Walmart / Gross Sales — Walmart · Gross Sales: say the name aloud when the General Merchandise card is placed.
Gross Sales = SUM(Sales[GrossSales])
Walmart / Discount Amt — Walmart · Discount Amt: after paste, confirm US West and Health & Wellness still filter the card.
Discount Amt = SUM(Sales[Discount])
Walmart / Cost — Walmart · Cost: classroom check — does Electronics in US Northeast move this tile?
Cost = SUM(Sales[Cost])
Walmart / Revenue PY — Walmart · Revenue PY: drop on Overview before filtering to Apparel.
Revenue PY = CALCULATE([Revenue], SAMEPERIODLASTYEAR('Date'[Date]))
Walmart / ΔPY — Walmart · ΔPY: format the card, then test Region = Canada.
ΔPY = [Revenue 2026] - [Revenue 2025]
Walmart / ΔPY % — Walmart · ΔPY %: keep in Measures table for the Grocery lesson.
ΔPY % = DIVIDE([ΔPY], [Revenue 2025])
Walmart / Contribution % — Walmart · Contribution %: match expected-value table (All), then try General Merchandise.
Contribution % = DIVIDE([ΔPY], CALCULATE([ΔPY], ALL(Sales[Product])))
Walmart / Margin % 2026 — Walmart · Margin % 2026: on Diagnostic prefer ΔPY when this is a level; demo US West.
Margin % 2026 = DIVIDE(CALCULATE([Profit], 'Date'[Year] = 2026), [Revenue 2026])
Walmart / Revenue MA3 — Walmart · Revenue MA3: say the name aloud when the Electronics card is placed.
Revenue MA3 = DIVIDE(CALCULATE([Revenue], DATESINPERIOD('Date'[Date], MAX('Date'[Date]), -3, MONTH)), 3)
Walmart / Price Change — Walmart · Price Change: after paste, confirm Mexico and Apparel still filter the card.
Price Change = 0.03
Walmart / Discount Change — Walmart · Discount Change: classroom check — does Home in Canada move this tile?
Discount Change = -0.10
Walmart / Cost Change — Walmart · Cost Change: drop on Overview before filtering to Grocery.
Cost Change = 0.02
Walmart / Volume Change — Walmart · Volume Change: format the card, then test Region = US Midwest.
Volume Change = -0.01
Walmart / WhatIf Revenue — Walmart · WhatIf Revenue: keep in Measures table for the Health & Wellness lesson.
WhatIf Revenue = (CALCULATE([Gross Sales], 'Date'[Year] = 2026) * (1 + [Price Change]) - CALCULATE([Discount Amt], 'Date'[Year] = 2026) * (1 + [Discount Change])) * (1 + [Volume Change])
Walmart / WhatIf Profit — Walmart · WhatIf Profit: match expected-value table (All), then try Electronics.
WhatIf Profit = [WhatIf Revenue] - CALCULATE([Cost], 'Date'[Year] = 2026) * (1 + [Cost Change]) * (1 + [Volume Change])
Walmart / Target Margin — Walmart · Target Margin: on Diagnostic prefer ΔPY when this is a level; demo Mexico.
Target Margin = 0.29
Walmart / Price Change Needed — Walmart · Price Change Needed: say the name aloud when the Home card is placed.
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
Walmart / Recommendation — Walmart · Recommendation: after paste, confirm US South and Grocery still filter the card.
Recommendation = IF([Margin % 2026] < 0.24, "Fix price / cut discount", IF([ΔPY %] < 0, "Find the cause, push sales", IF([ΔPY %] >= 0.1, "Invest to grow", "Keep steady")))
Revenue Trend =
Walmart / VAR pts — Walmart · VAR pts: classroom check — does General Merchandise in US Midwest move this tile?
VAR pts = ADDCOLUMNS(SUMMARIZE(ALL('Date'), 'Date'[MonthIndex]), "@rev", [Revenue])
Walmart / VAR fit — Walmart · VAR fit: drop on Overview before filtering to Health & Wellness.
VAR fit = LINESTX(pts, [@rev], 'Date'[MonthIndex])
Walmart / VAR slope — Walmart · VAR slope: format the card, then test Region = US Northeast.
VAR slope = SELECTCOLUMNS(fit, [Slope1])
Walmart / VAR icpt — Walmart · VAR icpt: keep in Measures table for the Apparel lesson.
VAR icpt = SELECTCOLUMNS(fit, [Intercept])
RETURN icpt + slope * MAX('Date'[MonthIndex])
Correl Discount vs Qty =
Walmart / VAR n — Walmart · VAR n: match expected-value table (All), then try Home.
VAR n = COUNTROWS(Sales)
Walmart / VAR mx — Walmart · VAR mx: on Diagnostic prefer ΔPY when this is a level; demo US South.
VAR mx = AVERAGE(Sales[Discount]) VAR my = AVERAGE(Sales[Qty])
Walmart / VAR cov — Walmart · VAR cov: say the name aloud when the General Merchandise card is placed.
VAR cov = SUMX(Sales, (Sales[Discount] - mx) * (Sales[Qty] - my))
Walmart / VAR sx — Walmart · VAR sx: after paste, confirm US West and Health & Wellness still filter the card.
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 Walmart measures
Three Walmart-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): $166.06M. Why Walmart cares: It is the top line: if revenue does not grow, nothing else can.
Revenue = SUM(Sales[Revenue])This Walmart measure aggregates the fact table directly. In the Walmart retail model, keep Revenue in the Measures table and format it before you drop it on a card.
Profit
Expected (all rows): $38.39M. Why Walmart cares: Revenue can rise while profit falls; profit shows if growth is healthy.
Profit = SUM(Sales[Profit])This Walmart measure aggregates the fact table directly. In the Walmart retail model, keep Profit in the Measures table and format it before you drop it on a card.
Margin %
Expected (all rows): $0.23. Why Walmart cares: It compares profit fairly across big and small regions or products.
Margin % = DIVIDE([Profit], [Revenue])DIVIDE protects Walmart against divide-by-zero. In the Walmart retail model, keep Margin % in the Measures table and format it before you drop it on a card.
YoY / ΔPY for Walmart · Grocery
Diagnostic visuals on this Walmart report should analyse ΔPY for Grocery, not raw revenue, so a quiet line with a large swing still surfaces in US South. Pair with Contribution % = DIVIDE([ΔPY], CALCULATE([ΔPY], ALL(Product))).
Model tips for Walmart retail facts
Data-model notes for Walmart. Fact table Sales holds practice grain for Walmart: one store's sales of one department in one week, using Grocery as the spoken example. If store and online share department names, still keep Channel on Sales. Hiding Channel inside Product will break the Walmart funnel and recommendation table. Relationships stay single-direction dimension → Sales so a slicer on Product cannot accidentally filter Date out of the Walmart trend.
Common mistakes on Walmart visuals
- Margin errors on Walmart when General Merchandise has zero revenue months — wrap with DIVIDE.
- Skipping Mark as date table breaks SAMEPERIODLASTYEAR for the Walmart Health & Wellness card.
- Diagnostic page built on Revenue, not ΔPY — US South contribution looks misleading.
- Report-level measure with a hard-coded “Health & Wellness” filter fights the Walmart slicers.
- Manual colour tweaks before theme.json — Walmart strip colours snap back.
- Shipping with US South selected — classmates think Walmart practice totals are wrong.
Verification of the Walmart DAX
Each Walmart measure was run in a DAX test engine on the same data and compared with pandas: 20 of 20 checks matched. Use these values with no slicer selected:
| Measure | Expected value (all rows) |
|---|---|
| Revenue | $166.06M |
| Profit | $38.39M |
| Margin % | 23.1% |
| YoY % | +3.7% |
| Sales per store | $5.54M |
| Sales per sq ft | $47.56 |
| Basket size | $43.75 |
| Online % | 29.7% |
| Inventory turnover | $16 |
| Stock-out % | 2.1% |
| Revenue 2026 | $84.54M |
| Revenue 2025 | $81.52M |
| ΔPY | $3.02M |
| ΔPY % | +3.7% |
| Margin % 2026 | 23.6% |
| WhatIf Revenue | $86.61M |
| WhatIf Profit | $21.41M |
| Price Change Needed | +9.0% |
| Revenue MA3 (Dec 2026) | $7.55M |
| Revenue Trend (t=36, Dec 2027) | $7.98M |
| Correl Discount vs Qty | 0.10 |
Next: the same dashboard in Excel · all 50 Power BI company dashboards.
FAQ · Walmart in Power BI
Can I download a .pbix?
No. A .pbix needs Power BI Desktop on Windows. You get the Walmart CSVs, DAX, theme and layout pictures for the Grocery lesson.
Is this real Walmart data?
No — simulated practice data. Public facts only: HQ Bentonville, Arkansas, USA, industry Retail (supercenters and e-commerce). Anything about Grocery or US South on the cards is fictional.
Why a separate Date table for Walmart?
Time intelligence (SAMEPERIODLASTYEAR, DATESINPERIOD, forecast axis) needs a marked date table before YoY on Grocery will work.
Why does the Power BI Walmart report look different from Excel?
Same business KPIs, different visuals and the yellow/charcoal theme suited to retail gallery layouts. Compare the Grocery card across both tools.
What skill does this Walmart guide emphasise?
decomposition tree on ΔPY for Walmart students filtering Home on a retail star schema, practised with Grocery and US South.
Which slicer pair should I demo first on Walmart?
Product = Grocery, then Region = US South. Reset to All before you publish.
Quick quiz: Walmart Power BI
Questions on this Walmart Power BI guide. Sign in to save your score.
Which table is the fact table in the Walmart model for Grocery?
- Date
- Product
- Sales
- Region
Show answer
C. Sales. Sales holds one Walmart row per sales line; Product describes Grocery.
Which function gives last year's Walmart revenue for US South?
- SAMEPERIODLASTYEAR
- RELATED
- SWITCH
- VALUES
Show answer
A. SAMEPERIODLASTYEAR. CALCULATE([Revenue], SAMEPERIODLASTYEAR('Date'[Date])) on the Walmart model.
Which visual finds the biggest drag on Walmart ΔPY (General Merchandise)?
- Card
- Decomposition tree
- Slicer
- Gauge
Show answer
B. Decomposition tree. The decomposition tree splits Walmart ΔPY by Region (US South), Product and Channel.
Why DIVIDE() and not '/' on Walmart margin for Grocery?
- It is faster
- It returns blank instead of an error when dividing by 0
- It rounds
- It sorts
Show answer
B. It returns blank instead of an error when dividing by 0. DIVIDE handles zero safely on the Walmart Grocery card.
Can you download a .pbix for Walmart from this page?
- Yes
- No, you build it from the CSVs and DAX
- Only on mobile
- Only the theme
Show answer
B. No, you build it from the CSVs and DAX. A .pbix needs Power BI Desktop; use the Walmart CSVs for Grocery.
Revision card