Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Clarify reference questions scope (#83264)

Robert Kosaraf40e8e13da7c
diff --git a/docs/questions/native-editor/referencing-saved-questions-in-queries.md b/docs/questions/native-editor/referencing-saved-questions-in-queries.md
index 49a5d4d473f..b25e0934475 100644
--- a/docs/questions/native-editor/referencing-saved-questions-in-queries.md
+++ b/docs/questions/native-editor/referencing-saved-questions-in-queries.md
@@ -16,10 +16,12 @@ First, create and save a question or model that returns the result set you'd lik
To reference that question or model in a SQL query, use typeahead search in a variable prefixed with `#`.
-Type `{% raw %}{{#your search term }} {% endraw %}` and Metabase will display a list of models and questions relevant to your search term.
+Type `{% raw %}{{#your search term }}{% endraw %}` and Metabase will display a list of models and questions relevant to your search term.
![Typeahead search dropdown for referencing questions and models in SQL queries](../images/search-dropdown.png)
+If you're not seeing the results you expect, make sure you've selected the correct database. Search will only show items relevant to the selected database.
+
You can also find the question or model ID by navigating in Metabase to the model or question you'd like to reference in your query. The ID is in the URL in your browser's address bar. The ID will be the number after `/model/` or `/question/`. E.g., for `https://metabase.example.com/model/12345-example-name`, the model's ID would be `12345`.
Only the `#` and `ID` are required. Metabase just displays the model or question name to make the query more readable.