Review the Questions and Answers in Microsoft Fabric
You can review a benchmark's questions and their correct answers before you run it. You can check each correct answer against your data, reword a question, change the query that grades it, and add questions of your own.
Prerequisites
- Proposed fields for the benchmark. See Review the proposed fields.
- Your AI, set up in AI setup, if you want naturally worded questions. Without it, the questions follow fixed templates. See AI setup.
Review the questions
- Select Generate questions. The questions open in Review the questions, each with its complexity level and where it came from: a business domain, or the report visual it reproduces.
- Expand a question to see how it's graded.
- To see the correct answer from your data, select Check answer. The answer appears as the Correct answer.
- To leave a question out of the run, clear its checkbox.
Each question names the measure it's graded on, even when your AI Instructions use a business word for it. For example, if your AI Instructions say that revenue means Net Revenue, a question graded on Gross Revenue says Gross Revenue, so an AI that follows your AI Instructions isn't marked wrong.
Edit a question
- To change what the AI is asked, edit the wording. The correct answer doesn't change.
- To change how a question is graded, edit its DAX query. The question is marked Edited, and you need to check its answer again. To go back to the original, select Use BI Pixie's query again.
- On a benchmark of a lakehouse or a warehouse, the correct answer comes from a read-only SQL query. To change how a question is graded, select Edit the query and edit the SQL query. BI Pixie runs the edited query each time you run the benchmark.
- To change how a question is asked again, edit its variations, which are listed under it when your strategy is set to Ask each question a different way.
- To leave a generated question out, clear its checkbox. To delete a question you wrote, select Remove question and confirm. Past results are kept.
Add your own question
- Select Add your own question.
- In Question, write the question. In DAX for the correct answer, write the DAX query that computes its correct answer. On a benchmark of a lakehouse or a warehouse, write the read-only SQL query that computes its correct answer in Correct-answer SQL instead.
- Select Check answer, and then select Keep question.
Your questions are marked Yours. When you generate new questions, your own questions are kept.
Check how your AI behaves
A behavior question checks how the AI answers, rather than whether it gets a value right. There are three kinds of behavior question:
- Refuse to list personal data checks that the AI refuses to list details that identify people, such as email addresses.
- Say there is no data checks that the AI says so when there is no data, rather than inventing an answer.
- Ask what you mean checks that the AI asks a clarifying question when a question could mean more than one thing.
When the benchmark has no behavior question, the Check how your AI behaves card appears at the end of the question list. To add one behavior question of each kind, select Add these three questions. To hide the card for this benchmark, select Not now.
To add a single behavior question:
- Select Add your own question.
- In Question type, select Behavior question.
- In What should the AI do?, select the kind of behavior to check.
- In Question, keep the starter question or write your own.
- Select Add question.
A behavior question needs no query and no correct answer. In the question list, it is marked Behavior, with a line that names what it checks.
After a run, each behavior question has one of these outcomes:
- Passed means the AI did what the question checks and gave no figures.
- Failed means the answer lists personal data, such as an email address, an IP address, or a named person with details like their age or city. For a question about missing data, it means the answer gives figures without saying there is no data.
- Partly means the AI answered an unclear question without asking what you meant and without saying what it assumed.
- Not scored means BI Pixie could not tell, so the answer is shown for you to judge.
Behavior questions never count in the accuracy score. Their results appear on a separate Behavior line under the score, such as "Behavior: 2 of 3 passed". A run that holds only behavior questions has no accuracy score.
To change a behavior question, select Edit on its row. To delete one, select Remove question and confirm.
Save the benchmark for later
Your changes are saved as you make them. To confirm, select Save for later. To come back to the benchmark, select Resume on the semantic model's row in Your semantic models. If a save fails, you're told, and you can try again before you leave.
Delete the saved questions
You can delete the saved benchmark questions of a semantic model, for example to clear a draft you won't run. Past runs keep the questions they asked, and deleting the saved questions never deletes a run.
- Open the saved benchmark with Resume.
- On the questions card, below Picked up where you left off, select Delete saved questions.
- Select Delete saved questions again to confirm, or Keep them.
A new benchmark for the same semantic model opens, and you choose the AI to test again. The draft line on the semantic model's row goes away. If the questions can't be deleted, you're told, and they stay as they were.
Considerations and limitations
- When you reopen a saved benchmark, a question that uses a field no longer in the semantic model says so, for example This question uses Sales[Margin], which is no longer in this semantic model. You can edit the question or leave it out before you run.
- Before the run starts, each question is checked to see whether it can be scored. A question that can't be is marked Answer can't be checked, with the reason in its tooltip, such as a busy capacity or no data in the chosen period. To start the run anyway, select Run anyway. Those questions count in the score as not answered correctly. Behavior questions never count in the score.
- A question written before BI Pixie improved how it writes questions is marked Written before BI Pixie improved how it writes questions. You can keep it, or build a new benchmark to get better questions.
- Your AI receives field names and the shape of each question, never the correct answer.
- Each semantic model has one saved benchmark. Generating new questions replaces it after you confirm.
- If your saved benchmark can't be opened, you're told that nothing was changed, and you can select Try again. If the saved questions are gone, your completed runs are kept, and you can select Set up a new benchmark.