Ravindra BagaleCourses & study guides मराठी Track your progress

Power BI

Amazon E-commerce and cloud computing Power BI Dashboard — 10 KPIs, Star Schema, 39 DAX Measures (7,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: Amazon makes money from categorys sold in stores and online across North America, Europe, Asia, Middle East. The dashboard treats every line as a one order (retail) or one monthly cloud bill (AWS) for the Amazon practice file, demoed first on Electronics in North America, 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 e-commerce and cloud computing team wants to share one Amazon-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 $1.61M, YoY 4.7%, margin n/a. Overview charts include Retail + AWS monthly revenue · two engines; 1P, then 3P marketplace, then AWS funnel; Category rank · retail categories + AWS Cloud.

How: Load the CSVs, relate the tables, paste measures.dax, then build each page from the pictures. The DAX walkthrough below names Amazon-specific measures and the mistakes students make on this model.

About this data. Simulated example data for practice, not real Amazon figures. Only public facts (HQ: Seattle, Washington, USA; industry: e-commerce and cloud computing) are real. Money is in US dollars ($).

What this dataset shows. What this dataset shows for Amazon. The grain is one order (retail) or one monthly cloud bill (AWS) for the Amazon practice file, demoed first on Electronics in North America. Filters cover North America, Europe, Asia, Middle East and channels (Amazon retail (1P), Marketplace seller (3P), AWS). Product dimension includes Electronics, Books, Home & Kitchen, Fashion and more. Beside headline revenue/profit, the workbook surfaces Orders=$6.62K; AOV=$161; Prime %=62.4%; Return rate=$0.07. 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 Amazon filing.

On the unfiltered practice totals this PBI file currently shows: Revenue $1.61M; Profit $395.83K; YoY % 4.7%; Orders $6.62K; AOV $161; Prime % 62.4%; Return rate $0.07; On-time % 92.4%. Treat every figure as a classroom number for Amazon, never as a filing.

Product labels in the dimension include Electronics, Books, Home & Kitchen, Fashion, Grocery, AWS Cloud. Region labels include North America, Europe, Asia, Middle East. Channel labels include Amazon retail (1P), Marketplace seller (3P), AWS. Students should say those names aloud when they build the first chart title so the canvas sounds like Amazon, not a generic template.

Headquarters for the public fact line is Seattle, Washington, USA. Industry line: E-commerce and cloud computing. Currency formatting on tiles uses US dollars ($). If you translate the file, change formats and labels, but keep the grain (one order (retail) or one monthly cloud bill (AWS) for the Amazon practice file, demoed first on Electronics in North America) identical or Inc and DAX will disagree.

Decision rhythm for this sector: start from Amazon angle on same-store and channel mix, starting with Home & Kitchen. Excel skill focus is SUMIFS retail grids — Amazon demo uses AWS Cloud in Asia; Power BI skill focus is decomposition tree on ΔPY — Amazon demo uses Grocery in Europe. The pbi guide on this URL trains that angle with Amazon-named charts and measures only.

A Monday review for a Amazon manager usually asks three questions: did Electronics fund growth, did North America drag ΔPY, and whether next year’s forecast is wide or tight. The four analytics sheets answer those Amazon questions in order. Skip decorative shapes until the insight strip about Books can be read without a legend.

Common classroom failure on Amazon: 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 Amazon 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 Electronics. Sections change by industry on purpose so the Amazon lesson stays useful on its own instead of reading like a cloned article.

Amazon is a E-commerce and cloud computing operator. Money arrives when a shopper checks out a category in a store or online across North America, Europe, Asia, Middle East. Same-store health, channel mix and seasonal peaks decide whether the till is healthy. This workbook keeps every one order (retail) or one monthly cloud bill (AWS) for the Amazon practice file, demoed first on Electronics in North America filterable so a student can isolate one format or one state without rewriting formulas.

In Power BI, the Amazon 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.

Amazon practice brief. Public HQ fact: Seattle, Washington, USA. Industry: E-commerce and cloud computing. This guide’s skill angle is Amazon angle on same-store and channel mix, starting with Home & Kitchen. Subtitle on the workbook: Retail 1P vs 3P sellers · Prime · delivery · AWS cloud · 2025 vs 2026 · simulated practice data. About line: made-up Amazon-like orders from online shoppers and monthly cloud bills from business customers in 4 regions..

Product dimension walkthrough for Amazon:

  • Electronics — is the first place students should look when ΔPY flips for Amazon.
  • Books — carries the practice revenue story for Amazon.
  • Home & Kitchen — is the first place students should look when ΔPY flips for Amazon.
  • Fashion — should appear in at least one chart title on the canvas for Amazon.
  • Grocery — is a good candidate for the Top-5 table demo for Amazon.
  • AWS Cloud — should appear in at least one chart title on the canvas for Amazon.

Region walkthrough for Amazon:

  • North America — is a clean demo for Inc / slicer sync.
  • Europe — tends to move seasonally on the Predictive sheet.
  • Asia — is useful as a stress-test slicer.
  • Middle East — is a clean demo for Inc / slicer sync.

Channel list on this file: Amazon retail (1P), Marketplace seller (3P), AWS. When you teach Amazon, change one channel filter and ask which tile moved — that is the Inc lesson.

Chart roster on the Amazon dashboard:

  • Retail + AWS monthly revenue · two engines (line) — built so a e-commerce and cloud computing reader can answer a Amazon question without opening a pivot.
  • 1P, then 3P marketplace, then AWS funnel (funnel) — built so a e-commerce and cloud computing reader can answer a Amazon question without opening a pivot.
  • Category rank · retail categories + AWS Cloud (hbar) — built so a e-commerce and cloud computing reader can answer a Amazon question without opening a pivot.
  • Region revenue + margin (col) — built so a e-commerce and cloud computing reader can answer a Amazon question without opening a pivot.
  • Region × month heat · Prime Day & Q4 (heatmap) — built so a e-commerce and cloud computing reader can answer a Amazon question without opening a pivot.

Scenario D for Amazon: Goal Seek wants a large price rise — what does the Prescriptive IF table recommend instead of blind discounting? Scenario C for Amazon: forecast R² looks weak — how do you label the Predictive sheet so nobody treats Dec 2027 as a promise? Scenario A for Amazon: revenue up, margin down — which category do you open first on Diagnostic?

Number walk (simulated): Profit is $395.83K. YoY % is 4.7%. Orders is $6.62K. AOV is $161. Prime % is 62.4%. Return rate is $0.07. On-time % is 92.4%. Seller share % is 56.6%. AWS revenue is $537.81K. Revenue 2026 is $821.68K. Revenue 2025 is $784.42K. Revenue is $1.61M. Say them with the Amazon name in the sentence so the lesson stays company-specific.

Closing reminder: every sheet that holds Amazon rows starts with the simulated-data label. Trademarks belong to their owners; this page exists to teach Amazon angle on same-store and channel mix, starting with Home & Kitchen with easy English and checked formulas.

Amazon classroom playbook (Power BI)

This playbook is written only for Amazon. It uses the practice totals and the chart names on this page. Keywords you will rehearse: date-spine, confidence-band, action-owner, elasticity, threshold, uplift, run-rate, workspace.

  1. Day 1 — grain-check: confirm every row is still one order (retail) or one monthly cloud bill (AWS) for the Amazon practice file, demoed first on Electronics in North America and the About note says simulated data for Amazon.
  2. Day 2 — baseline tiles: recreate the 10 KPIs and read date-spine versus confidence-band aloud.
  3. Day 3 — chart titles: rewrite “Retail + AWS monthly revenue · two engines” as a finding sentence about Electronics.
  4. Day 4 — diagnostic bridge: explain ΔPY with action-owner and elasticity using North America.
  5. Day 5 — forecast honesty: label the confidence-band and threshold so Dec 2027 is not a fake promise.
  6. Day 6 — prescriptive handoff: assign an action-owner for Books in Europe.
  7. Day 7 — reconciliation: Excel Inc or Power BI relationships must match the expected-value table for Amazon.

For Electronics at Amazon, start with date-spine. Compare North America against the unfiltered total, then ask whether elasticity improved after you isolate Amazon retail (1P). Students should write one sentence that a manager in Seattle, Washington, USA could accept without asking for a rainbow chart.

Books is your demo category when teaching confidence-band. Filter to Europe, 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.

Home & Kitchen is your demo category when teaching action-owner. Filter to Asia, watch the tiles, then restore All. If the row-count collapses, you taught the filter-context lesson. Tie the ending to uplift on the Diagnostic sheet.

For Fashion at Amazon, start with elasticity. Compare Middle East against the unfiltered total, then ask whether run-rate improved after you isolate Amazon retail (1P). Students should write one sentence that a manager in Seattle, Washington, USA could accept without asking for a rainbow chart.

For Grocery at Amazon, start with threshold. Compare North America against the unfiltered total, then ask whether workspace improved after you isolate Marketplace seller (3P). Students should write one sentence that a manager in Seattle, Washington, USA could accept without asking for a rainbow chart.

AWS Cloud is your demo category when teaching uplift. Filter to Europe, watch the tiles, then restore All. If the row-count collapses, you taught the filter-context lesson. Tie the ending to inc-flag on the Diagnostic sheet.

Region lens North America: rehearse uplift by toggling only this geography. If Electronics 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 Europe: rehearse run-rate by toggling only this geography. If Books dominates the mix-shift, say so in the insight strip. Finish with a prior-year note on whether the forecast runway still looks credible.

Region lens Asia: rehearse workspace by toggling only this geography. If Home & Kitchen dominates the mix-shift, say so in the insight strip. Finish with a throughput note on whether the forecast runway still looks credible.

Region lens Middle East: rehearse inc-flag by toggling only this geography. If Fashion dominates the mix-shift, say so in the insight strip. Finish with a benchmark note on whether the forecast runway still looks credible.

Simulated scoreboard beat 1 for Amazon: AOV prints as $161; Prime % prints as 62.4%; Return rate prints as $0.07. Repeat the brand name in your notes so Amazon never becomes ‘Company X’.

Simulated scoreboard beat 2 for Amazon: On-time % prints as 92.4%; Seller share % prints as 56.6%; AWS revenue prints as $537.81K. Repeat the brand name in your notes so Amazon never becomes ‘Company X’.

Simulated scoreboard beat 3 for Amazon: Revenue 2026 prints as $821.68K; Revenue 2025 prints as $784.42K; ΔPY prints as $37.25K. Repeat the brand name in your notes so Amazon never becomes ‘Company X’.

Simulated scoreboard beat 4 for Amazon: ΔPY % prints as 4.7%; Margin % 2026 prints as 27.1%; WhatIf Revenue prints as $846.4K. Repeat the brand name in your notes so Amazon never becomes ‘Company X’.

Simulated scoreboard beat 5 for Amazon: Revenue prints as $1.61M; Profit prints as $395.83K; YoY % prints as 4.7%. Repeat the brand name in your notes so Amazon never becomes ‘Company X’.

Simulated scoreboard beat 6 for Amazon: Orders prints as $6.62K. Repeat the brand name in your notes so Amazon never becomes ‘Company X’.

Card prompt for Amazon: “Electronics / North America / date-spine”. One-sentence finding required; mention action-owner if margin disagrees with revenue.

Filter choreography: All, then Electronics, then Electronics+Europe. Speak confidence-band at each step. End with whether elasticity supports investing or cutting.

Amazon lab sheet row: product=Electronics; region=Asia; watch=action-owner; secondary=threshold. Students tick pass/fail on tile sync.

On Amazon, Electronics in Middle East stress-tests elasticity. If Qty and Revenue disagree, fix grain before teaching uplift.

Amazon lab sheet row: product=Books; region=North America; watch=threshold; secondary=run-rate. Students tick pass/fail on tile sync.

Pair Books × Europe: ask whether uplift improved for Amazon after the filter. Write the spoken answer before Diagnostic. Add a note on workspace.

Filter choreography: All, then Books, then Books+Asia. Speak run-rate at each step. End with whether inc-flag supports investing or cutting.

Pair Books × Middle East: ask whether workspace improved for Amazon after the filter. Write the spoken answer before Diagnostic. Add a note on prior-year.

On Amazon, Home & Kitchen in North America stress-tests inc-flag. If Qty and Revenue disagree, fix grain before teaching throughput.

Card prompt for Amazon: “Home & Kitchen / Europe / prior-year”. One-sentence finding required; mention benchmark if margin disagrees with revenue.

Amazon lab sheet row: product=Home & Kitchen; region=Asia; watch=throughput; secondary=reconciliation. Students tick pass/fail on tile sync.

On Amazon, Home & Kitchen in Middle East stress-tests benchmark. If Qty and Revenue disagree, fix grain before teaching mix-shift.

Card prompt for Amazon: “Fashion / North America / reconciliation”. One-sentence finding required; mention sparkline if margin disagrees with revenue.

Filter choreography: All, then Fashion, then Fashion+Europe. Speak mix-shift at each step. End with whether grain-check supports investing or cutting.

Card prompt for Amazon: “Fashion / Asia / sparkline”. One-sentence finding required; mention moving-average if margin disagrees with revenue.

Filter choreography: All, then Fashion, then Fashion+Middle East. Speak grain-check at each step. End with whether cadence supports investing or cutting.

On Amazon, Grocery in North America stress-tests moving-average. If Qty and Revenue disagree, fix grain before teaching date-spine.

Card prompt for Amazon: “Grocery / Europe / cadence”. One-sentence finding required; mention confidence-band if margin disagrees with revenue.

Card prompt for Amazon: “Grocery / Asia / date-spine”. One-sentence finding required; mention action-owner if margin disagrees with revenue.

Card prompt for Amazon: “Grocery / Middle East / confidence-band”. One-sentence finding required; mention elasticity if margin disagrees with revenue.

On Amazon, AWS Cloud in North America stress-tests action-owner. If Qty and Revenue disagree, fix grain before teaching threshold.

Filter choreography: All, then AWS Cloud, then AWS Cloud+Europe. Speak elasticity at each step. End with whether uplift supports investing or cutting.

Pair AWS Cloud × Asia: ask whether threshold improved for Amazon after the filter. Write the spoken answer before Diagnostic. Add a note on run-rate.

Filter choreography: All, then AWS Cloud, then AWS Cloud+Middle East. Speak uplift at each step. End with whether workspace supports investing or cutting.

Power BI-only close for Amazon: 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: inc-flag, prior-year, throughput, benchmark, reconciliation, mix-shift, sparkline, grain-check, moving-average, cadence.

Remember the legal line: trademarks belong to their owners; numbers are fictional practice data; the lesson is Amazon angle on same-store and channel mix, starting with Home & Kitchen with easy English for students who are new to dashboards.

Amazon fingerprint notes (Power BI)

Electronics rebalances the Amazon story when you isolate North America via Amazon retail (1P). Quote the practice figure WhatIf Revenue = $846.4K in your spoken finding. If the pbi slicer path drops Electronics, stop and fix labels before you teach forecast.

Books diversifies the Amazon story when you isolate Europe via Marketplace seller (3P). Quote the practice figure Correl Discount vs Qty = -0.04 in your spoken finding. If the pbi slicer path drops Books, stop and fix labels before you teach forecast.

Home & Kitchen clarifies the Amazon story when you isolate Asia via AWS. Quote the practice figure Correl Discount vs Qty = -0.04 in your spoken finding. If the pbi slicer path drops Home & Kitchen, stop and fix labels before you teach forecast.

Fashion extends the Amazon story when you isolate Middle East via Amazon retail (1P). Quote the practice figure AWS revenue = $537.81K in your spoken finding. If the pbi slicer path drops Fashion, stop and fix labels before you teach forecast.

Grocery clarifies the Amazon story when you isolate North America via Marketplace seller (3P). Quote the practice figure WhatIf Profit = $241.39K in your spoken finding. If the pbi slicer path drops Grocery, stop and fix labels before you teach forecast.

AWS Cloud extends the Amazon story when you isolate Europe via AWS. Quote the practice figure ΔPY = $37.25K in your spoken finding. If the pbi slicer path drops AWS Cloud, stop and fix labels before you teach forecast.

Geography North America anchors Amazon mix next to Electronics. Write one sentence a reviewer in Seattle, Washington, USA would accept. Tool on this URL: pbi.

Geography Europe clarifies Amazon mix next to Books. Write one sentence a reviewer in Seattle, Washington, USA would accept. Tool on this URL: pbi.

Geography Asia extends Amazon mix next to Home & Kitchen. Write one sentence a reviewer in Seattle, Washington, USA would accept. Tool on this URL: pbi.

Geography Middle East challenges Amazon mix next to Fashion. Write one sentence a reviewer in Seattle, Washington, USA would accept. Tool on this URL: pbi.

Channel Amazon retail (1P) clarifies whether Home & Kitchen in Europe still deserves investment on the Amazon canvas. Students must name Amazon retail (1P) in the insight strip, not only in a legend.

Channel Marketplace seller (3P) softens whether Fashion in Asia still deserves investment on the Amazon canvas. Students must name Marketplace seller (3P) in the insight strip, not only in a legend.

Channel AWS extends whether Grocery in Middle East still deserves investment on the Amazon canvas. Students must name AWS in the insight strip, not only in a legend.

Worked example: Amazon Monday standup script

Manager asks: ‘How is Home & Kitchen in Europe?’ You answer from the dashboard, not from a pivot you rebuilt live. Unfiltered baseline $1.61M (YoY 4.7%). Filter to Home & Kitchen. Speak the tile. Add Europe. Speak again. Add Amazon retail (1P) if the channel filter is on the canvas.

Then flip to Diagnostic and point at the ΔPY bar for Home & Kitchen. Finish on Prescriptive with one recommended action that names Europe.

Students copy the script with a different category next. That repetition builds muscle for Amazon angle on same-store and channel mix, starting with Home & Kitchen.

Extension set for Amazon: repeat the drill with Electronics, Books, Fashion, Grocery and geographies North America, Asia, Middle East. Each pass should produce a different spoken finding so the class hears how e-commerce and cloud computing mix actually behaves on this file.

Assessment idea: give a corrupted Lists sheet where one category is misspelled, and grade whether the learner finds it before rebuilding charts.

Assessment idea: give a corrupted Lists sheet where one category is misspelled, and grade whether the learner finds it before rebuilding charts.

Because this is the Amazon Power BI guide (demo Electronics), keep the other tool’s page as a sibling reference rather than pasting DAX into cells or SUMIFS into measures. Sector lens again: Amazon angle on same-store and channel mix, starting with Home & Kitchen.

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 · amazon_powerbi_data.xlsx · measures.dax · README.md

On the Amazon Overview page, put slicers top-left and KPI cards in one band so executives see status before charts.

After pasting DAX, hit Enter on each measure once — Power BI sometimes leaves a new measure unformatted and the Amazon card looks empty.

For Amazon, the skill target is decomposition tree on ΔPY — Amazon demo uses Grocery in Europe. If a Amazon visual does not respond to a slicer on category, check the relationship path back to Sales before you rewrite DAX.

All cards on this Amazon guide use simulated totals — quote them as practice numbers for Electronics, never as Amazon actuals.

Store KPIs as DAX for Amazon

Company-specific KPI set for Amazon, implemented as DAX measures. Values below are with no slicer (all rows), checked in pandas / dax-core. Practice totals: revenue about $1.61M, YoY 4.7%, margin n/a.

For a e-commerce and cloud computing business like Amazon, these KPIs are not decoration — each one answers a decision a manager in USA would ask on Monday morning.

  • Revenue ($1.61M 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 ($395.83K 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?
  • Orders ($6.62K on all rows): Number of retail orders. Orders show how many times customers chose to buy.
  • AOV ($161 on all rows): Average order value of a retail order. A higher AOV grows revenue from the same number of orders.
  • Prime % ($0.62 on all rows): Share of retail orders placed by Prime members. Prime members buy more often, so this shows loyalty.
  • ↩ Return rate ($0.07 on all rows): Share of retail orders that came back. Returns cost shipping and handling and show product problems.
  • On-time % ($0.92 on all rows): Share of retail orders delivered by the promised date. Fast, reliable delivery is the main promise to shoppers.
  • 3P seller share (n/a on all rows): Share of retail revenue sold by outside sellers. It shows how much of the store runs on partner sellers.
  • AWS revenue ($1.61M on all rows): Revenue from AWS cloud bills. Cloud is the high-margin engine that funds the rest.
KPIDAX measureWhat it meansWhy this KPIValue (all rows)
RevenueRevenueMoney from sales after discount, both years in view. (for Amazon)It is the top line: if revenue does not grow, nothing else can. — Amazon$1.61M
ProfitProfitRevenue minus cost. (for Amazon)Revenue can rise while profit falls; profit shows if growth is healthy. — Amazon$395.83K
YoY growthYoY %Revenue growth of 2026 over 2025 (ΔPY%). (for Amazon)It shows direction: are we bigger than last year? — Amazon4.7%
OrdersOrdersNumber of retail orders. (for Amazon)Orders show how many times customers chose to buy. — Amazon$6.62K
AOVAOVAverage order value of a retail order. (for Amazon)A higher AOV grows revenue from the same number of orders. — Amazon$161
Prime %Prime %Share of retail orders placed by Prime members. (for Amazon)Prime members buy more often, so this shows loyalty. — Amazon62.4%
↩ Return rateReturn rateShare of retail orders that came back. (for Amazon)Returns cost shipping and handling and show product problems. — Amazon6.8%
On-time %On-time %Share of retail orders delivered by the promised date. (for Amazon)Fast, reliable delivery is the main promise to shoppers. — Amazon92.4%
3P seller shareSeller share %Share of retail revenue sold by outside sellers. (for Amazon)It shows how much of the store runs on partner sellers. — Amazon56.6%
AWS revenueAWS revenueRevenue from AWS cloud bills. (for Amazon)Cloud is the high-margin engine that funds the rest. — Amazon$537.81K

Pictures of the Amazon retail report

Picture of the Amazon Power BI overview layout

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

Picture of the Amazon Power BI analytics layout

Figure 2. Picture of the layout (not a screenshot): Analytics page for Amazon with ΔPY waterfall, decomposition tree, forecast band and what-if sliders.

Build the Amazon Power BI file yourself

Numbered steps name the Amazon charts and measures on this report.

Step 1. Get the Amazon CSVs

Work like a store ops lead reading the Amazon till. Keep the same-store/channel angle while selecting Electronics.

Step 2. Relate the Amazon star schema

Publish only after Amazon cards match with Books+Middle East. Model view: Sales[Date], then Date[Date], Sales[Product], then Product[Product], Sales[Region], then Region[Region].

Amazon star schema diagram

Figure 3. Picture of the Amazon star schema: Sales fact in the middle, Date, Product and Region around it.

Step 3. Mark Date for Amazon time intelligence

Mark as date table on Date[Date]; sort Month by MonthNo. Wire this for Amazon; demo slicers Home & Kitchen/Europe.

Step 4. Paste the 39 Amazon measures

New measure ← measures.dax. Do it on the Amazon model; check cards with Fashion.

Step 5. Theme the Amazon report

Browse for themes, then theme.json. Keep the same-store/channel angle while selecting Grocery.

Picture: see the Amazon Overview figure above.

Step 6. Overview page for Amazon

Wire this for Amazon; demo slicers AWS Cloud/Middle East. Slicers: Year, Region, Product, Channel.

Picture: see the Amazon Overview figure above.

Step 7. Descriptive — what happened at Amazon

Matrix (category × region), mix visual, map or columns for channels. Finish, then ask how Europe changes Amazon ΔPY.

Picture: see the Amazon Analytics figure above.

Step 8. Diagnostic — why Amazon moved

Finish, then ask how Middle East changes Amazon ΔPY. Waterfall on [ΔPY] by category; Decomposition tree Explain by Region, Product, Channel.

Picture: see the Amazon Analytics figure above.

Step 9. Predictive — Amazon next year

Wire this for Amazon; demo slicers Home & Kitchen/Europe. Line [Revenue] by month › Analytics › Forecast 12 months @ 95%.

Picture: see the Amazon Analytics figure above.

Step 10. Prescriptive — what Amazon should do

Keep the same-store/channel angle while selecting Fashion. Numeric parameters Price/Discount/Cost/Volume, then WhatIf Revenue/Profit.

Step 11. Check slicers and publish Amazon

Click every slicer; compare cards to the expected-value table. Keep the same-store/channel angle while selecting Grocery.

Amazon 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
     }
    ]
   }
  }
 }
}
ColourUsed for
#1F1F1FPage background
#2B2B2BPanels
#333333Cards
#F2C811Accent
#FFE066Light accent
#FFFFFFText
#BDBDBDMuted text
#4CAF50Good
#E57373Bad

All DAX measures for Amazon

Descriptive, diagnostic, predictive and prescriptive measures — plus the Amazon-specific KPIs. Each measure is annotated so this page does not read like a generic paste.

// Amazon · Power BI measures (example practice data). Paste each into New measure.
// Tables: Sales (fact), Date, Product, Region.

Amazon / Revenue — Amazon · Revenue: drop on Overview before filtering to Electronics.

Revenue = SUM(Sales[Revenue])

Amazon / Profit — Amazon · Profit: format the card, then test Region = Europe.

Profit = SUM(Sales[Profit])

Amazon / Units — Amazon · Units: keep in Measures table for the Home & Kitchen lesson.

Units = SUM(Sales[Qty])

Amazon / Revenue 2026 — Amazon · Revenue 2026: match expected-value table (All), then try Fashion.

Revenue 2026 = CALCULATE([Revenue], 'Date'[Year] = 2026)

Amazon / Revenue 2025 — Amazon · Revenue 2025: on Diagnostic prefer ΔPY when this is a level; demo North America.

Revenue 2025 = CALCULATE([Revenue], 'Date'[Year] = 2025)

Amazon / YoY % — Amazon · YoY %: say the name aloud when the AWS Cloud card is placed.

YoY % = DIVIDE([Revenue 2026] - [Revenue 2025], [Revenue 2025])

Amazon / Orders — Amazon · Orders: after paste, confirm Asia and Electronics still filter the card.

Orders = CALCULATE(COUNTROWS(Sales), Sales[Channel] <> "AWS")

Amazon / AOV — Amazon · AOV: classroom check — does Books in Middle East move this tile?

AOV = DIVIDE(CALCULATE([Revenue], Sales[Channel] <> "AWS"), [Orders])

Amazon / Prime % — Amazon · Prime %: drop on Overview before filtering to Home & Kitchen.

Prime % = DIVIDE(CALCULATE([Orders], Sales[CustomerType] = "Prime"), [Orders])

Amazon / Return rate — Amazon · Return rate: format the card, then test Region = Europe.

Return rate = DIVIDE(CALCULATE(COUNTROWS(Sales), Sales[Returned] = "Yes"), [Orders])

Amazon / On-time % — Amazon · On-time %: keep in Measures table for the Grocery lesson.

On-time % = DIVIDE(CALCULATE(COUNTROWS(Sales), Sales[OnTime] = "Yes"), [Orders])

Amazon / Seller share % — Amazon · Seller share %: match expected-value table (All), then try AWS Cloud.

Seller share % = DIVIDE(CALCULATE([Revenue], Sales[Channel] = "Marketplace seller (3P)"), CALCULATE([Revenue], Sales[Channel] <> "AWS"))

Amazon / AWS revenue — Amazon · AWS revenue: on Diagnostic prefer ΔPY when this is a level; demo North America.

AWS revenue = CALCULATE([Revenue], Sales[Channel] = "AWS")

Amazon / Gross Sales — Amazon · Gross Sales: say the name aloud when the Books card is placed.

Gross Sales = SUM(Sales[GrossSales])

Amazon / Discount Amt — Amazon · Discount Amt: after paste, confirm Asia and Home & Kitchen still filter the card.

Discount Amt = SUM(Sales[Discount])

Amazon / Cost — Amazon · Cost: classroom check — does Fashion in Middle East move this tile?

Cost = SUM(Sales[Cost])

Amazon / Revenue PY — Amazon · Revenue PY: drop on Overview before filtering to Grocery.

Revenue PY = CALCULATE([Revenue], SAMEPERIODLASTYEAR('Date'[Date]))

Amazon / ΔPY — Amazon · ΔPY: format the card, then test Region = Europe.

ΔPY = [Revenue 2026] - [Revenue 2025]

Amazon / ΔPY % — Amazon · ΔPY %: keep in Measures table for the Electronics lesson.

ΔPY % = DIVIDE([ΔPY], [Revenue 2025])

Amazon / Contribution % — Amazon · Contribution %: match expected-value table (All), then try Books.

Contribution % = DIVIDE([ΔPY], CALCULATE([ΔPY], ALL(Sales[Product])))

Amazon / Margin % 2026 — Amazon · Margin % 2026: on Diagnostic prefer ΔPY when this is a level; demo North America.

Margin % 2026 = DIVIDE(CALCULATE([Profit], 'Date'[Year] = 2026), [Revenue 2026])

Amazon / Revenue MA3 — Amazon · Revenue MA3: say the name aloud when the Fashion card is placed.

Revenue MA3 = DIVIDE(CALCULATE([Revenue], DATESINPERIOD('Date'[Date], MAX('Date'[Date]), -3, MONTH)), 3)

Amazon / Price Change — Amazon · Price Change: after paste, confirm Asia and Grocery still filter the card.

Price Change = 0.03

Amazon / Discount Change — Amazon · Discount Change: classroom check — does AWS Cloud in Middle East move this tile?

Discount Change = -0.10

Amazon / Cost Change — Amazon · Cost Change: drop on Overview before filtering to Electronics.

Cost Change = 0.02

Amazon / Volume Change — Amazon · Volume Change: format the card, then test Region = Europe.

Volume Change = -0.01

Amazon / WhatIf Revenue — Amazon · WhatIf Revenue: keep in Measures table for the Home & Kitchen lesson.

WhatIf Revenue = (CALCULATE([Gross Sales], 'Date'[Year] = 2026) * (1 + [Price Change]) - CALCULATE([Discount Amt], 'Date'[Year] = 2026) * (1 + [Discount Change])) * (1 + [Volume Change])

Amazon / WhatIf Profit — Amazon · WhatIf Profit: match expected-value table (All), then try Fashion.

WhatIf Profit = [WhatIf Revenue] - CALCULATE([Cost], 'Date'[Year] = 2026) * (1 + [Cost Change]) * (1 + [Volume Change])

Amazon / Target Margin — Amazon · Target Margin: on Diagnostic prefer ΔPY when this is a level; demo North America.

Target Margin = 0.2

Amazon / Price Change Needed — Amazon · Price Change Needed: say the name aloud when the AWS Cloud 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

Amazon / Recommendation — Amazon · Recommendation: after paste, confirm Asia and Electronics still filter the card.

Recommendation = IF([Margin % 2026] < 0.15, "Fix price / cut discount", IF([ΔPY %] < 0, "Find the cause, push sales", IF([ΔPY %] >= 0.1, "Invest to grow", "Keep steady")))
Revenue Trend =

Amazon / VAR pts — Amazon · VAR pts: classroom check — does Books in Middle East move this tile?

VAR pts = ADDCOLUMNS(SUMMARIZE(ALL('Date'), 'Date'[MonthIndex]), "@rev", [Revenue])

Amazon / VAR fit — Amazon · VAR fit: drop on Overview before filtering to Home & Kitchen.

VAR fit = LINESTX(pts, [@rev], 'Date'[MonthIndex])

Amazon / VAR slope — Amazon · VAR slope: format the card, then test Region = Europe.

VAR slope = SELECTCOLUMNS(fit, [Slope1])

Amazon / VAR icpt — Amazon · VAR icpt: keep in Measures table for the Grocery lesson.

VAR icpt = SELECTCOLUMNS(fit, [Intercept])
RETURN icpt + slope * MAX('Date'[MonthIndex])
Correl Discount vs Qty =

Amazon / VAR n — Amazon · VAR n: match expected-value table (All), then try AWS Cloud.

VAR n = COUNTROWS(Sales)

Amazon / VAR mx — Amazon · VAR mx: on Diagnostic prefer ΔPY when this is a level; demo North America.

VAR mx = AVERAGE(Sales[Discount]) VAR my = AVERAGE(Sales[Qty])

Amazon / VAR cov — Amazon · VAR cov: say the name aloud when the Books card is placed.

VAR cov = SUMX(Sales, (Sales[Discount] - mx) * (Sales[Qty] - my))

Amazon / VAR sx — Amazon · VAR sx: after paste, confirm Asia and Home & Kitchen 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 Amazon measures

Three Amazon-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): $1.61M. Why Amazon cares: It is the top line: if revenue does not grow, nothing else can.

Revenue = SUM(Sales[Revenue])

This Amazon measure aggregates the fact table directly. In the Amazon e-commerce and cloud computing model, keep Revenue in the Measures table and format it before you drop it on a card.

Profit

Expected (all rows): $395.83K. Why Amazon cares: Revenue can rise while profit falls; profit shows if growth is healthy.

Profit = SUM(Sales[Profit])

This Amazon measure aggregates the fact table directly. In the Amazon e-commerce and cloud computing model, keep Profit in the Measures table and format it before you drop it on a card.

Revenue 2026

Expected (all rows): $821.68K. Why Amazon 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 Amazon against divide-by-zero. In the Amazon e-commerce and cloud computing model, keep Revenue 2026 in the Measures table and format it before you drop it on a card.

YoY / ΔPY for Amazon · Electronics

Diagnostic visuals on this Amazon report should analyse ΔPY for Electronics, not raw revenue, so a quiet line with a large swing still surfaces in North America. Pair with Contribution % = DIVIDE([ΔPY], CALCULATE([ΔPY], ALL(Product))).

Model tips for Amazon retail facts

Data-model notes for Amazon. Fact table Sales holds one order (retail) or one monthly cloud bill (AWS) for the Amazon practice file, demoed first on Electronics in North America. If store and online share category names, still keep Channel on Sales. Hiding Channel inside Product will break the Amazon funnel and recommendation table. Relationships stay single-direction dimension, then Sales so a slicer on Product cannot accidentally filter Date out of the Amazon trend.

Common mistakes on Amazon visuals

  • Margin errors on Amazon when Home & Kitchen has zero revenue months — wrap with DIVIDE.
  • Skipping Mark as date table breaks SAMEPERIODLASTYEAR for the Amazon Fashion card.
  • Diagnostic page built on Revenue, not ΔPY — Asia contribution looks misleading.
  • Report-level measure with a hard-coded “Fashion” filter fights the Amazon slicers.
  • Manual colour tweaks before theme.json — Amazon strip colours snap back.
  • Shipping with Asia selected — classmates think Amazon practice totals are wrong.

Verification of the Amazon DAX

Each Amazon 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:

MeasureExpected value (all rows)
Revenue$1.61M
Profit$395.83K
YoY %+4.7%
Orders$6.62K
AOV$161
Prime %62.4%
Return rate$0.07
On-time %92.4%
Seller share %56.6%
AWS revenue$537.81K
Revenue 2026$821.68K
Revenue 2025$784.42K
ΔPY$37.25K
ΔPY %+4.7%
Margin % 202627.1%
WhatIf Revenue$846.4K
WhatIf Profit$241.39K
Price Change Needed-7.3%
Revenue MA3 (Dec 2026)$73.19K
Revenue Trend (t=36, Dec 2027)$72.68K
Correl Discount vs Qty-0.04

Next: the same dashboard in Excel · all 50 Power BI company dashboards.

FAQ · Amazon in Power BI

Can I download a .pbix?

No. A .pbix needs Power BI Desktop on Windows. You get the Amazon CSVs, DAX, theme and layout pictures for the Electronics lesson.

Is this real Amazon data?

No — simulated practice data. Public facts only: HQ Seattle, Washington, USA, industry E-commerce and cloud computing. Anything about Electronics or North America on the cards is fictional.

Why a separate Date table for Amazon?

Time intelligence (SAMEPERIODLASTYEAR, DATESINPERIOD, forecast axis) needs a marked date table before YoY on Electronics will work.

Why does the Power BI Amazon report look different from Excel?

Same business KPIs, different visuals and the yellow/charcoal theme suited to e-commerce and cloud computing gallery layouts. Compare the Electronics card across both tools.

What skill does this Amazon guide emphasise?

decomposition tree on ΔPY — Amazon demo uses Grocery in Europe on a e-commerce and cloud computing star schema, practised with Electronics and North America.

Which slicer pair should I demo first on Amazon?

Product = Electronics, then Region = North America. Reset to All before you publish.

Quick quiz: Amazon Power BI

Questions on this Amazon Power BI guide. Sign in to save your score.

  1. Which table is the fact table in the Amazon model for Electronics?

    1. Date
    2. Product
    3. Sales
    4. Region
    Show answer

    C. Sales. Sales holds one Amazon row per sales line; Product describes Electronics.

  2. Which function gives last year's Amazon revenue for North America?

    1. SAMEPERIODLASTYEAR
    2. RELATED
    3. SWITCH
    4. VALUES
    Show answer

    A. SAMEPERIODLASTYEAR. CALCULATE([Revenue], SAMEPERIODLASTYEAR('Date'[Date])) on the Amazon model.

  3. Which visual finds the biggest drag on Amazon ΔPY (Books)?

    1. Card
    2. Decomposition tree
    3. Slicer
    4. Gauge
    Show answer

    B. Decomposition tree. The decomposition tree splits Amazon ΔPY by Region (North America), Product and Channel.

  4. Why DIVIDE() and not '/' on Amazon margin for Electronics?

    1. It is faster
    2. It returns blank instead of an error when dividing by 0
    3. It rounds
    4. It sorts
    Show answer

    B. It returns blank instead of an error when dividing by 0. DIVIDE handles zero safely on the Amazon Electronics card.

  5. Can you download a .pbix for Amazon from this page?

    1. Yes
    2. No, you build it from the CSVs and DAX
    3. Only on mobile
    4. Only the theme
    Show answer

    B. No, you build it from the CSVs and DAX. A .pbix needs Power BI Desktop; use the Amazon CSVs for Electronics.

Ravi Sir's Cards for this lesson

मराठी cards