Level 1: Model the data
Your field names are the prompt.
Names, descriptions and hidden fields are the first thing a business user or an AI tool reads. Here's a naming pass on the example model, before and after.
Open the field list of a model you didn't build. That's what a new analyst sees on day one, and it's close to what an AI tool sees: table names, column names, measure names, descriptions if anyone wrote them, and whatever isn't hidden.
The names are the prompt. If they're vague, every answer starts with a guess, and the guess comes back sounding sure of itself.
The before model
Same made-up data as guide 1, with the kind of names I find in real models: a table called fct_rev with columns dt1, dt2 and amt, a measure called Amt2, and a second table, fct_terms, that also has a column called amt.
Ask "What was revenue in April?" and there are three reasonable readings. Each one returns a number, and none of them errors.
SELECT 'fct_rev.amt by dt1' AS reading, SUM(amt) AS answer FROM fct_rev WHERE dt1 >= '2025-04-01' AND dt1 < '2025-05-01' UNION ALL SELECT 'fct_rev.amt by dt2', SUM(amt) FROM fct_rev WHERE dt2 >= '2025-04-01' AND dt2 < '2025-05-01' UNION ALL SELECT 'fct_terms.amt', SUM(amt) FROM fct_terms;
The results are 100.00, -20.00 and 2,500.00. Only the first one is the answer the business means. A person who has worked here a while knows that. A new hire, or a tool reading the field list, has to guess.
Figure 1 · Same question, three fields
A naming pass
I go through a model with four rules:
- Name tables for what one row is. Revenue, Contract Terms. Not fct_rev.
- Name measures for the business question, with the date in the name when there's more than one: Net Revenue (reporting date), Net Revenue (accounting date).
- Name columns the way the business says them. Reporting Date, not dt1.
- Never let two different things share a name. The terms amt becomes Term Amount (not revenue).
| before | after | shown as |
|---|---|---|
| fct_rev | Revenue | Table |
| dt1 | Reporting Date | Visible |
| dt2 | Accounting Date | Visible |
| amt | Amount | Hidden: use the measures |
| Amt2 | Net Revenue (reporting date) | Visible measure |
| (new) | Net Revenue (accounting date) | Visible measure |
| cust_id, prod_cd | Customer Key, Product Key | Hidden: filter through Customer and Product |
| fct_terms.amt | Term Amount (not revenue) | Visible, with a description |
The full before and after for the example model.
Figure 2 · Before and after
A description pass
Names get you most of the way. Descriptions do the rest. Every visible measure gets one, in the same four parts:
For the main measure: "Sum of recognized revenue entries, including negative adjustments, by reporting date. Use Net Revenue (accounting date) for booked revenue. Not a contract term amount. Check: April 2025 for C-001, P-01 is 100.00."
The reference answer is my favorite part. It gives a person, or a tool, a way to check itself.
To find the measures nobody described, run this in DAX query view. It uses INFO.VIEW.MEASURES to list them with their tables and folders:
EVALUATE
SELECTCOLUMNS (
FILTER (
INFO.VIEW.MEASURES (),
[Description] = ""
),
"Table", [Table],
"Measure", [Name],
"Folder", [DisplayFolder]
)
Watch for collisions
Synonyms help people and tools find the right field, and they can also point two phrases at the wrong one. Before adding any, I write down each business phrase, the field it should land on, and the answer it should give. "Revenue by reporting month" lands on Net Revenue (reporting date). "Annual revenue" doesn't land anywhere yet, because nobody has defined it. That one gets a question back, not a guess.
What to hide
- Keys. People filter through Customer and Product, not Customer Key.
- Raw amounts. Hide Amount so nobody sums it against the wrong date. The measures carry the date rule.
- Technical columns. Load dates, row hashes, source system codes.
- Columns that only exist for a relationship.
Hiding isn't security. It's editing. The field list should show the questions the model is built to answer, grouped in display folders like Revenue \ Reporting date and Revenue \ Accounting date. If you're preparing a model for Copilot, Microsoft's guide to preparing data for AI covers the settings on top of this.
What I check before any tool answers from a model
- Does every table name say what one row is?
- Does every measure name carry its date rule when there's more than one date?
- Do two different things ever share a name?
- Does every visible measure have a description with a reference answer?
- Are keys and raw amounts hidden?
Name it for the question. Then describe it for the person who wasn't in the room.
Related
- The 4-question checklistHub