View Usage

Hello!

I wonder if there is any way to check if a view is being used and where it is being used. I'm rebuilding a model from scratch and need to check this before deleting the view completely.

Thanks.

0 2 1,276
2 REPLIES 2

You can find this data from the system activity explores (/explore/system__activity/history) and in particular, the "Query > Fields & Filters" fields. However, much of the data formatted as a comma-separated list of fields, so you might have to do a bit of extra manipulation to get exactly the answer you're looking for, but I think it should get you what you need.

One way to do it is, in your personal Git branch or New Git branch, comment on the entire view definition (Whole file, if it is defined in a separate file), Now use the "Validate LookML" button. If your view is used in any explore you will get an error.

Since views can't be directly used inside Dashboards, If you did not encounter any LookML error, you can safely delete it.

Top Labels in this Space
Top Solution Authors