# Table subview can not reference itself

**URL:** <https://forum.inductiveautomation.com/t/table-subview-can-not-reference-itself/58754>\
**Category:** Ignition\
**Created:** [April 22, 2022, 3:33pm UTC](https://forum.inductiveautomation.com/t/table-subview-can-not-reference-itself/58754 "2022-04-22T15:33:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ShaneH](https://avatars.discourse-cdn.com/v4/letter/s/3e96dc/32.png) [@ShaneH](https://forum.inductiveautomation.com/u/ShaneH)\
**Post date:** [April 22, 2022, 3:33pm UTC](https://forum.inductiveautomation.com/t/table-subview-can-not-reference-itself/58754/1 "2022-04-22T15:33:54Z")

</div>

Perspective 8.1.15

I have an embedded view name “evSummaryTable”, containing a single table object.  
As params to the embedded view, I pass set of data, a filter, groub-bys, etc.  
The view filters, groups, totals, etc. the data based on the params, and displays it in the table.

The table has the subview option enabled,. and the params to the subview are bindings which update the filters, group-bys, etc. such that you can “drill down” into the data.

Unfortunately, I get an error if the subview viewPath is set to itself (ie. evSummaryTable). If I make a copy of evSummaryTable (eg. evSummaryTable2) with no other changes, and set the viewPath to that, it works.

To recreate without any special bindings, etc.  
Create an embedded view, “evTest”. Add a table component to it. Let it display the sample data.  
On the table component, set the subview.viewPath = “evTest”. Try to expand the subview. You get an error.

Any thoughts?  
Thanks.  
-Shane

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [April 22, 2022, 3:41pm UTC](https://forum.inductiveautomation.com/t/table-subview-can-not-reference-itself/58754/2 "2022-04-22T15:41:18Z")

</div>

Related:

> [@Nesting a view inside itself](https://forum.inductiveautomation.com/t/nesting-a-view-inside-itself/56429):
>
> I have a pretty customized version of a the Perspective table, that includes a lot of convenience features for my client that aren’t built into the native table. I have a use-case that would require me to be able to put that same table inside of its own subview if enabled, essentially I need it because one table could dynamically generate the need for nested sub-tables with the same functionality. However, perspective doesn’t seem to like my idea as much as I do I was curious if any…
