Retail sales model: readiness report
Against your bar
- Not met: At least 90% of questions right every time (6 of 12 (50%))
- Not met: No question never right (1 never right)
- Met: Every expected answer current (all current)
Where it stands, by area
What the states mean
- Right every time. Every ask, in every wording, gave the right number.
- Sometimes right. Right on some asks and wrong on others. Closest to fixed.
- Never right. No ask was right, and at least one gave a number. It looks like an answer, which makes it the dangerous one.
- Declines. No ask was right, and none gave a number. A safe failure.
- Can't tell. The expected answer was out of date when it was asked, so it can't be graded.
What to fix next
| Question | Area | State | What happened | Look first |
|---|---|---|---|---|
| RQ10 | time | Never right | Right on 0 of 15 asks. 15 answers matched another reading. | Pin down the reading |
| RQ12 | lookup | Sometimes right | Right on 12 of 15 asks. Runs split at how it read the question in 1 of 3 wordings. | Pin down the reading |
| RQ5 | definitional | Sometimes right | Right on 11 of 15 asks. 4 answers matched another reading. Runs split at how it read the question in 1 of 3 wordings. | Pin down the reading, Give it the measure |
| RQ8 | definitional | Sometimes right | Right on 11 of 15 asks. Runs split at how it read the question in 1 of 3 wordings. | Pin down the reading, Give it the measure |
| RQ1 | lookup | Sometimes right | Right on 10 of 15 asks. | Pin down the reading |
| RQ11 | definitional | Sometimes right | Right on 4 of 15 asks. 4 answers matched another reading. Runs split at the query it wrote in 2 of 3 wordings. | Pin down the reading, Give it the measure |
Guides
Pin down the reading
What points here. Its wordings split at how it read the question, it gave an answer that matches another reading your suite lists, or one wording is right every time while another isn't.
Why it happens. Business terms often have more than one sensible meaning: a simple or a weighted average, a calendar or a fiscal quarter, every record or only the valid ones. Unless it's told, the agent picks one, and can pick differently when the question is worded differently or asked again. It gives no sign there was a choice.
What to try- Write the definition your business uses for the term, in a sentence or two, where your kind of source reads it.
- Semantic model: put it in the measure's or column's description (first 200 characters), add synonyms, and add it to Prep data for AI: AI instructions can be written through the model's definition, and a person adds a verified answer for the exact question in Power BI. The agent's own instructions are ignored when it writes DAX.
- Lakehouse or warehouse: put it in the agent's or the data source's instructions, or give an example query that applies it. Genie: put it in the space's text instruction or a SQL snippet.
- If the agent keeps taking a reading you don't use, rule it out by name, in the same place: “Average price means the simple mean of interval prices, not the demand-weighted price.”
- Say which calendar a period means: “Last quarter means the calendar quarter before the current one.”
- Run again under a new config label.
How you will know. The question should be right every time, in every wording. Look at the rest of the suite too: a definition can reach into questions it wasn't written for.
Give it the measure
What points here. Its wordings split at the query the agent wrote.
Why it happens. The agent worked the calculation out itself, and differently between runs. A figure your business already calculates should be a measure with a clear name and description (semantic model), or an example query (lakehouse, warehouse or Genie), so the agent uses it instead of reinventing it.
What to try- Semantic model: add a measure for the figure, with a description that says what it includes. Example queries aren't supported for a semantic-model source. A person can also add a verified answer in Power BI (Prep data for AI) for the exact question.
- Lakehouse or warehouse: add an example question and its SQL to the data source (up to 100), or a view that holds the calculation.
- Genie: add an example SQL or a SQL snippet to the space.
- Keep names honest: a measure named Average Price should compute the average your business means.
How you will know. Runs of the question should now use the same calculation and agree with the expected answer.
Prep pack: fixes drafted for your model
| Fix | Where | Draft | Why | Status |
|---|---|---|---|---|
| F001 |
customer |
Customers used to filter orders and sales by country. Filter only stored values in customer[Country] or customer[CountryFull]. If no rows, look up that column's distinct values and retry once before answering. | 4 question(s) here (ORD3, ORD30, ORD6, ORD7) were not right every time: 16 of 36 asks correct. |
applied |
| F002 |
customer[Country] |
Customer country codes: AU, CA, DE, FR, GB, IT, NL, US. Country names are in customer[CountryFull]. Filter codes only using these stored values. | 4 question(s) here (ORD3, ORD30, ORD6, ORD7) were not right every time: 16 of 36 asks correct. |
applied |
| F003 |
customer[Country] |
country code, customer country code, two-letter country code | 4 question(s) here (ORD3, ORD30, ORD6, ORD7) were not right every time: 16 of 36 asks correct. |
applied |
| F004 |
customer[CountryFull] |
Customer country names: Australia, Canada, France, Germany, Italy, Netherlands, United Kingdom, United States. Codes are in customer[Country]. Filter names only using these stored values. | 4 question(s) here (ORD3, ORD30, ORD6, ORD7) were not right every time: 16 of 36 asks correct. |
applied |
| F005 |
customer[CountryFull] |
country name, full country name, customer country name | 4 question(s) here (ORD3, ORD30, ORD6, ORD7) were not right every time: 16 of 36 asks correct. |
applied |
| F006 |
date |
Calendar for periods. Default: orders[DeliveryDate] and sales[DeliveryDate]; 'placed', 'ordered', 'order date' or 'placement date' select orders[OrderDate] and sales[OrderDate] instead. | 2 question(s) here (ORD16, ORD17) were not right every time: 9 of 18 asks correct. |
applied |
| F007 |
date[Date] |
Calendar date for periods. Default: orders[DeliveryDate] and sales[DeliveryDate]; 'placed', 'ordered', 'order date' or 'placement date' select orders[OrderDate] and sales[OrderDate] instead. | 2 question(s) here (ORD16, ORD17) were not right every time: 9 of 18 asks correct. |
applied |
| F008 |
date[Date] |
calendar date, calendar day | 2 question(s) here (ORD16, ORD17) were not right every time: 9 of 18 asks correct. |
applied |
| F009 |
orderrows |
Order-row data containing [Average Order Value]. Country filters use store[CountryCode], reaching orderrows through orders. | 2 question(s) here (ORD16, ORD17) were not right every time: 9 of 18 asks correct. |
applied |
| F010 |
orderrows[Average Order Value] |
Net sales per order: [Net Sales] divided by [Orders]. Use store[CountryCode] for country filters. For all periods with no date limit, apply no date filter. | 2 question(s) here (ORD16, ORD17) were not right every time: 9 of 18 asks correct. |
applied |
| F011 |
orderrows[Average Order Value] |
AOV, average amount per order, average order worth, average value per order, how much an order averaged | 2 question(s) here (ORD16, ORD17) were not right every time: 9 of 18 asks correct. |
applied |
| F012 |
orderrows[Cost] |
Total spending on order rows: sum of quantity multiplied by unit cost. Use for spend, spending and cost questions. For all periods with no date limit, apply no date filter. | 4 question(s) here (ORD3, ORD30, ORD6, ORD7) were not right every time: 16 of 36 asks correct. |
applied |
| F013 |
orderrows[Cost] |
spend, spending, amount spent, expenditure, total cost | 4 question(s) here (ORD3, ORD30, ORD6, ORD7) were not right every time: 16 of 36 asks correct. |
applied |
| F014 |
orderrows[Discount Rate %] |
Discount as a percentage of gross sales: 100 × ([Gross Sales] − [Net Sales]) / [Gross Sales]. For all periods, return one overall ratio without date filters or monthly grouping; do not average rates. | 1 question(s) here (ORD27) were not right every time: 4 of 9 asks correct. |
applied |
| F015 |
orderrows[Discount Rate %] |
discount percentage, discount percent, percentage discount, discount rate | 1 question(s) here (ORD27) were not right every time: 4 of 9 asks correct. |
applied |
| F016 |
orderrows[Items per Order] |
Average items per order, in units per order; calculated as [Units] divided by [Orders]. For brand-specific averages, filter product[Brand]. | 2 question(s) here (ORD18, ORD24) were not right every time: 8 of 18 asks correct. |
applied |
| F017 |
orderrows[Items per Order] |
average items per order, average units per order, units per order, average number of items in each order | 2 question(s) here (ORD18, ORD24) were not right every time: 8 of 18 asks correct. |
applied |
| F018 |
orderrows[Orders] |
Distinct orders represented in orderrows; unit: orders, not order lines. Counts orderrows[OrderKey] once per filter context. Period totals use delivery date by default. | 2 question(s) here (ORD12, ORD8) were not right every time: 8 of 18 asks correct. |
applied |
| F019 |
orderrows[Orders] |
order count, total order count, number of orders, distinct order count, unique orders | 2 question(s) here (ORD12, ORD8) were not right every time: 8 of 18 asks correct. |
applied |
| F020 |
orderrows[Sales per Square Metre] |
Net sales per square metre of stores open for any part of the period; excludes Online store from sales and area. Without date filters, the period is the full orders[DeliveryDate] span. | 2 question(s) here (ORD26, ORD29) were not right every time: 1 of 18 asks correct. |
applied |
| F021 |
orderrows[Sales per Square Metre] |
sell per square metre, net sales per square metre, sales per square meter, sales per sqm, sales per m² | 2 question(s) here (ORD26, ORD29) were not right every time: 1 of 18 asks correct. |
applied |
| F022 |
orderrows[Units] |
Total order-line quantity, in units, not a count of orders or rows. Sums orderrows[Quantity] under current filters; no built-in country or date limit. | 2 question(s) here (ORD21, ORD22) were not right every time: 6 of 18 asks correct. |
applied |
| F023 |
orderrows[Units] |
quantity ordered, total quantity ordered, units ordered, items ordered | 2 question(s) here (ORD21, ORD22) were not right every time: 6 of 18 asks correct. |
applied |
| F024 |
product |
Products and their brands, linked to orderrows and sales through ProductKey. Brand names are held in product[Brand]; Proseware identifies a product brand, not a customer company. | 2 question(s) here (ORD18, ORD24) were not right every time: 8 of 18 asks correct. |
applied |
| F025 |
product[Brand] |
Product brand names, not customer companies; Proseware is a stored name. Filter product[Brand] only on stored values; if no rows, look up its distinct values and retry once. | 2 question(s) here (ORD18, ORD24) were not right every time: 8 of 18 asks correct. |
applied |
| F026 |
product[Brand] |
product brand, brand name, product brand name | 2 question(s) here (ORD18, ORD24) were not right every time: 8 of 18 asks correct. |
applied |
| F027 |
product[CategoryName] |
Product category name, not a code; 'TV and Video' is a stored label. Filter only on stored values; if no rows, look up distinct values and retry once before answering. Stored values: Audio; Cameras and camcorders; Cell phones; Computers; Games and Toys; Home Appliances; Music, Movies and Audio Books; TV and Video. | 1 question(s) here (ORD27) were not right every time: 4 of 9 asks correct. |
applied |
| F028 |
product[CategoryName] |
category, product category, category name | 1 question(s) here (ORD27) were not right every time: 4 of 9 asks correct. |
applied |
| F029 |
store |
Store attributes for filtering orders and sales. store[CountryCode] holds country codes, not country names or currency codes. Country filters reach orderrows through orders. | 2 question(s) here (ORD16, ORD17) were not right every time: 9 of 18 asks correct. |
applied |
| F030 |
store[CountryCode] |
Store country code, not currency or country name. Stored values: --, AU, CA, DE, FR, GB, IT, NL, US. Filter only these; if no rows, look up distinct values and retry once before answering. | 2 question(s) here (ORD16, ORD17) were not right every time: 9 of 18 asks correct. |
applied |
| F031 |
store[CountryCode] |
country code, store country code, country abbreviation | 2 question(s) here (ORD16, ORD17) were not right every time: 9 of 18 asks correct. |
applied |
| F032 |
store[CountryName] |
Store country names or Online: Australia, Canada, France, Germany, Italy, Netherlands, Online, United Kingdom, United States. Use stored values only; if empty, look up distinct values and retry once. | 2 question(s) here (ORD21, ORD22) were not right every time: 6 of 18 asks correct. |
applied |
| F033 |
store[CountryName] |
country, store country, country name Check failed: synonym 'country' is the name of another object in the model, which would confuse Copilot |
2 question(s) here (ORD21, ORD22) were not right every time: 6 of 18 asks correct. |
rejected |
| F034 |
model |
## Metrics All measures use the current filter context. Unless noted, they add no filters or exclusions. Their default period date is orders[DeliveryDate], through 'date'; the order-date exception is below. Monetary measures use the amounts in the formula, without currency conversion. - [Net Sales]: Sum of orderrows[Quantity] × orderrows[NetPrice]; monetary amount. No added exclusions; default date: orders[DeliveryDate]. - [Gross Sales]: Sum of orderrows[Quantity] × orderrows[UnitPrice]; monetary amount before the difference captured by [Discount Rate %]. No added exclusions; default date: orders[DeliveryDate]. - [Cost]: Sum of orderrows[Quantity] × orderrows[UnitCost]; monetary cost of the quantities in orderrows, not a general expense total. No added exclusions; default date: orders[DeliveryDate]. - [Orders]: Distinct count of orderrows[OrderKey]; unit: orders represented in the filtered order rows, not row count or quantity. No added exclusions; default date: orders[DeliveryDate]. - [Average Order Value]: [Net Sales] divided by [Orders]; monetary amount per distinct order in the current context. No added exclusions; default date: orders[DeliveryDate]. - [Units]: Sum of orderrows[Quantity]; unit: item quantity, not distinct products. No added exclusions; default date: orders[DeliveryDate]. - [Items per Order]: [Units] divided by [Orders]; item quantity per distinct order in the current context. No added exclusions; default date: orders[DeliveryDate]. - [Discount Rate %]: 100 × ([Gross Sales] − [Net Sales]) / [Gross Sales]; percentage on a 0–100 scale. Ratio of totals, not an average of row percentages. No added exclusions; default date: orders[DeliveryDate]. - [Profit Margin %]: 100 × ([Net Sales] − [Cost]) / [Net Sales]; percentage on a 0–100 scale. Ratio of totals, not an average of row margins. No added exclusions; default date: orders[DeliveryDate]. - [Sales per Square Metre]: [Net Sales] divided by eligible store[SquareMeters]; monetary amount per square metre. Excludes store[Description] = "Online store" from sales and area; keeps existing store filters. Default sales date: orders[DeliveryDate]. Area includes stores with store[OpenDate] on or before the last day and blank store[CloseDate] or a close date on or after the first day. Boundaries are MIN/MAX of 'date'[Date] when 'date' is filtered; otherwise MIN/MAX of orders[DeliveryDate]. ## Dates - Use 'date' for period filters. The active orders[DeliveryDate] → 'date'[Date] relationship is the default for all listed measures through orders and orderrows. The active sales[DeliveryDate] → 'date'[Date] relationship is the default for sales. - Exception: “placed”, “ordered”, “order date”, “date placed” and “date ordered” select orders[OrderDate] instead of orders[DeliveryDate] for the listed measures, or sales[OrderDate] instead of sales[DeliveryDate] when querying sales. Apply the relevant inactive relationship with USERELATIONSHIP; do not also impose the default delivery-date period. - currencyexchange[Date] → 'date'[Date] is active and is the default date path for currencyexchange. - Explicit all-period requests have no date restriction; remove date restrictions while retaining other requested filters. For [Sales per Square Metre], leave 'date' unfiltered so its built-in orders[DeliveryDate] boundary fallback applies. Changing the relationship does not rewrite that fallback. ## Terminology Filter codes and labels only on stored values in the appropriate column. If a query returns no rows, look up the filtered column's distinct values and retry once with matching stored values before answering. Preserve spelling, punctuation and case as stored. Do not use a name as a code or a code as a name. - product[ProductCode] holds the product code; product[ProductName] holds the product name. - store[CountryCode] holds country codes: --, AU, CA, DE, FR, GB, IT, NL, US. store[CountryName] holds country names: Australia, Canada, France, Germany, Italy, Netherlands, Online, United Kingdom, United States. - customer[Country] holds country codes: AU, CA, DE, FR, GB, IT, NL, US. customer[CountryFull] holds country names: Australia, Canada, France, Germany, Italy, Netherlands, United Kingdom, United States. - customer[Continent]: Australia, Europe, North America. - orders[CurrencyCode], sales[CurrencyCode], currencyexchange[FromCurrency] and currencyexchange[ToCurrency] hold currency codes: AUD, CAD, EUR, GBP, USD. - customer[MiddleInitial]: 0, single letters A–Z, Å, Ç, É, Ð, Ñ, Ö, Ü, Š, Ž. - 'date'[Year]: 2022, 2023, 2024, 2025, 2026. 'date'[Quarter]: Q1, Q2, Q3, Q4. 'date'[YearQuarter] uses Qn-YYYY, with Q1–Q4 for each stored year. 'date'[YearQuarterNumber] stores integers 8089–8108; use 'date'[YearQuarter] for quarter labels rather than treating these numbers as years. - 'date'[Month]: January, February, March, April, May, June, July, August, September, October, November, December. 'date'[MonthShort]: Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec. 'date'[MonthNumber]: integers 1–12. - 'date'[DayofWeek]: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday. 'date'[DayofWeekShort]: Mon, Tue, Wed, Thu, Fri, Sat, Sun. 'date'[DayofWeekNumber]: integers 1–7. - product[Manufacturer]: A. Datum Corporation; Adventure Works; Contoso, Ltd; Fabrikam, Inc.; Litware, Inc.; Northwind Traders; Proseware, Inc.; Southridge Video; Tailspin Toys; The Phone Company; Wide World Importers. - product[Brand]: A. Datum; Adventure Works; Contoso; Fabrikam; Litware; Northwind Traders; Proseware; Southridge Video; Tailspin Toys; The Phone Company; Wide World Importers. Proseware is a stored brand label; Proseware, Inc. is a stored manufacturer label. - product[Color]: Azure, Black, Blue, Brown, Gold, Green, Grey, Orange, Pink, Purple, Red, Silver, Silver Grey, Transparent, White, Yellow. - product[WeightUnit]: grams, ounces, pounds. - product[CategoryName]: Audio; Cameras and camcorders; Cell phones; Computers; Games and Toys; Home Appliances; Music, Movies and Audio Books; TV and Video. - product[SubCategoryName]: Air Conditioners; Bluetooth Headphones; Boxed Games; Camcorders; Cameras & Camcorders Accessories; Car Video; Cell phones Accessories; Coffee Machines; Computers Accessories; Desktops; Digital Cameras; Digital SLR Cameras; Download Games; Fans; Home & Office Phones; Home Theater System; Lamps; Laptops; Microwaves; Monitors; Movie DVD; MP4&MP3; Printers, Scanners & Fax; Projectors & Screens; Recording Pen; Refrigerators; Smart phones & PDAs; Televisions; Touch Screen Phones; VCD & DVD; Washers & Dryers; Water Heaters. - store[Status]: Closed, Restructured. [Sales per Square Metre] uses opening and closing dates for area eligibility, not store[Status]. ## Ambiguity - Order count means [Orders], not COUNTROWS(orders), a count of orderrows, or [Units]. Average monetary value per order means [Average Order Value]; average item quantity per order means [Items per Order]. Product filters affect both numerator and denominator, so these averages describe the filtered rows and the orders represented by them, not whole baskets reconstructed without the product filter. - Use [Discount Rate %] for discounts relative to gross sales and [Profit Margin %] for net-sales margin after [Cost]. These measures already multiply by 100; do not multiply again or apply percentage formatting that scales them again. - Use [Sales per Square Metre] for sales relative to store area, not for general sales. Its sales numerator is [Net Sales]; its denominator counts the full area of each eligible store rather than prorating by days open. - Use the listed measures from orderrows rather than substituting an aggregation over sales. The presence of both fact paths does not change the measures' definitions. - Customer geography and store geography are distinct filter roles. Explicit customer geography uses customer[Country] or customer[CountryFull]; explicit store geography uses store[CountryCode] or store[CountryName]. | 16 question(s) were not right every time (ORD12, ORD16, ORD17, ORD18, ORD21, ORD22, ORD24, ORD26, ORD27, ORD29, ORD3, ORD30, ORD6, ORD7, ORD8, ORD9): 59 of 144 asks correct. |
approved |
| F035 |
agent |
## Routing - Use this semantic model for questions about sales, order counts, quantities, order averages, product costs, discount rates, profit margins, and sales per square metre, including comparisons, rankings, and trends. - Supported measures are [Net Sales], [Gross Sales], [Cost], [Orders], [Average Order Value], [Units], [Items per Order], [Discount Rate %], [Profit Margin %], and [Sales per Square Metre]. - Use this source for breakdowns by its customer, store, product, and date fields. - Decline requests outside this model’s subject area or requiring information it cannot supply. Briefly explain the scope limitation. For mixed requests, answer the supported portion and identify the unsupported portion. ## Answer format - Lead with the result and the metric name. Use a table for comparisons, rankings, or multiple periods. - Display [Orders] as whole orders and [Units] as whole units, with thousands separators. - Display [Net Sales], [Gross Sales], [Cost], and [Average Order Value] to two decimal places. Include a currency code or symbol only when the result establishes that currency. - Display [Items per Order] to two decimal places, labelled “items per order.” - Display [Sales per Square Metre] to two decimal places, labelled “sales per m².” - Display [Discount Rate %] and [Profit Margin %] to two decimal places with a percent sign. Their returned values are already percentage points; do not multiply them again for display. - State the period explicitly: year, quarter and year, month and year, or start and end dates. Identify the date basis represented in the result, such as delivery date or order date. - For a result with no date limit, state “All periods — no date limit.” Do not describe a date-filtered result as all-time. - Include the relevant scope labels alongside the result. Distinguish a result with no data from a numeric zero. | 16 question(s) were not right every time (ORD12, ORD16, ORD17, ORD18, ORD21, ORD22, ORD24, ORD26, ORD27, ORD29, ORD3, ORD30, ORD6, ORD7, ORD8, ORD9): 59 of 144 asks correct. |
approved |
| F036 |
orderrows[Average Order Value] |
What is the average order value for FR across all periods? | 2 question(s) here (ORD16, ORD17) were not right every time: 9 of 18 asks correct. |
approved |
| F037 |
orderrows[Cost] |
How much did we spend for DE across all periods, with no date limit? | 4 question(s) here (ORD3, ORD30, ORD6, ORD7) were not right every time: 16 of 36 asks correct. |
approved |
| F038 |
orderrows[Discount Rate %] |
What was the discount percentage for TV and Video across all periods, with no date limit? | 1 question(s) here (ORD27) were not right every time: 4 of 9 asks correct. |
approved |
| F039 |
orderrows[Items per Order] |
For Proseware, how many items did an order contain on average across all periods, with no date limit? | 2 question(s) here (ORD18, ORD24) were not right every time: 8 of 18 asks correct. |
approved |
| F040 |
orderrows[Orders] |
What was our total order count for 2023? | 2 question(s) here (ORD12, ORD8) were not right every time: 8 of 18 asks correct. |
approved |
| F041 |
orderrows[Sales per Square Metre] |
How much did we sell per square metre for CA across all periods, with no date limit? | 2 question(s) here (ORD26, ORD29) were not right every time: 1 of 18 asks correct. |
approved |
| F042 |
orderrows[Units] |
What is the total quantity ordered for Netherlands across all periods, with no date limit? | 2 question(s) here (ORD21, ORD22) were not right every time: 6 of 18 asks correct. |
approved |
Before and after
Before: 3 of 12 right every time (25%). Now: 6 of 12 (50%).
Questions now right every time (3)
- RQ6
- RQ7
- RQ9