You are here:
Test a Semantic Model
You can run a test at any point from your semantic model. Make sure you don’t have any errors in your model before running tests.
Required Editions
| Available in: All Editions supported by Data 360. See Data 360 edition availability. |
| User Permissions Needed | |
|---|---|
| To test a semantic model: | Permission set:
AND Semantic Models object |
- In Data Cloud, on the Semantic Layer tab, select a data model.
-
At the top-right corner of the Semantic Model Builder, click Test
Model.
The bottom panel opens. Here, you can configure the test by preparing the test outline, adding filters, and configuring other options.In the Test Semantic Model panel, under Outline search for and add your dimensions and measures under the proper header.
You can only add dimensions and measures that have been added to your model. - To hide totals from your test results, select Hide Total.
- Input the number of rows you want to see in your test results under Sample Size. The default is 100.
-
To add a filter to increase the accuracy of the test results, select the
Filters tab.

- Click Add Filter.
- From the dropdown select the dimension or measure you want to filter by.
- Select the Operator and Value.
-
Click Apply.
The filters added here only affect the test results and don’t affect or change the model’s objects in any way.
- Click Save.
-
If you add more than one filter, to add a filter logic, click the edit button.

- Add an expression. Valid values are AND, OR, NOT, and parentheses ().
-
Click Apply.
Examples: (1 OR 2) AND 3 ((1 AND 2) OR (3 AND 4)) (1 OR (NOT 2)) AND (3 OR 4).
-
To start the test, click Run.
Tableau Semantics runs your model through the Tableau Semantics Query Generator and returns results on the right hand side of the bottom panel. - You can sort the test results columns in ascending or descending order by selecting the column header.
- To clear the test results, click Reset. This also clears all the selected outline settings and filters.
Note If you change the outline or the filters, you must run the test again by clicking
Run to see the changes reflected in the results.
Did this article solve your issue?
Let us know so we can improve!

