---
schema_version: "1"
id: 02cf13edf00b2a5240fed0cbfd33a4401ca1ca4d34e4c5c6cd9be948a10426dc
title: Test a Verified Query for Regression in Q&A Calibration
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/analytics/264-0-0/tua_data_sdm_test_single_verified_query_regression.md
canonical_url: https://help.salesforce.com/s/articleView?id=analytics.tua_data_sdm_test_single_verified_query_regression.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 570c3de40d92b43ff6f1f4c372aae1944957e6d0dccba2064c31f00d062ecc3e
description: Open a verified query in Q&A Calibration. Tableau Agent runs a regression test that compares the new answer with the query you saved. Retest after a semantic model change.
products:
  - Tableau Next
release: "264"
---
# Test a Verified Query for Regression in Q&A Calibration

Open a verified query in Q&A Calibration. Tableau Agent runs a regression test that compares the new answer with the query you saved. Retest after a semantic model change.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Tableau Next</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, and <strong>Unlimited</strong> Editions</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:left;vertical-align:top;" id="d52116e67">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d52116e67 ">To test a verified query for regression:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d52116e67 ">
              <p>Tableau Next Platform Analyst permission set</p>
              <p>Tableau Next Analyst permission set</p>
              <p style="margin-bottom:0;">Edit permission for the semantic model</p>
            </td>

          </tr>
        </tbody>
      </table>

Opening a question classified as **Verified** or **Regression** shows the Tableau Agent response. The regression test compares that response with the verified expected query you saved. From **All Questions**, review the saved query without opening the question. For how a pass and a fail change the classification, see [Regression Testing for Verified Queries in Q&A Calibration](https://help.salesforce.com/s/articleView?id=analytics.tua_data_sdm_regression_testing_verified_queries.htm&release=264.0.0&type=5 "Regression testing compares a new Tableau Agent answer with the verified query you saved. A match stays Verified. A mismatch becomes Regression.").

1. In Tableau Next, click **Q&A Calibration**.
2. On All Questions, select a question classified as **Verified** or **Regression**.
    
    After Tableau Agent responds, the regression test runs. Running Regression Test appears while the comparison is in progress.
3. Read the result at the top of the page.
4. Click **Review Analysis**.
    
    **Review Differences** opens. The saved query is on the left. The new answer is on the right.
5. If the page shows The semantic model was updated after this question was last modified. The change may affect data accuracy, click **Retest**.
    
    The test runs again.

If the test fails, the classification is **Regression**, and Tableau Agent stops using the verified query as guidance. Revise the verified query so that it matches the semantic model. After you revise the verified query, continue in **Q&A Calibration**. If the verified query is still incorrect, calibrate the semantic model.