# Show data from a table cell to a numeric field in perspective

**URL:** <https://forum.inductiveautomation.com/t/show-data-from-a-table-cell-to-a-numeric-field-in-perspective/67394>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [December 8, 2022, 6:45pm UTC](https://forum.inductiveautomation.com/t/show-data-from-a-table-cell-to-a-numeric-field-in-perspective/67394 "2022-12-08T18:45:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sukhwant\_Singh](https://avatars.discourse-cdn.com/v4/letter/s/e79b87/32.png) [@Sukhwant\_Singh](https://forum.inductiveautomation.com/u/Sukhwant_Singh)\
**Post date:** [December 8, 2022, 6:45pm UTC](https://forum.inductiveautomation.com/t/show-data-from-a-table-cell-to-a-numeric-field-in-perspective/67394/1 "2022-12-08T18:45:59Z")

</div>

Show data from a table cell to a numeric field in perspective. The Numeric field is on another container.  
How do I set the value of the numeric column row data to this numeric field as the user clicks on the table row. Please advise..

---

<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:** [December 9, 2022, 12:15am UTC](https://forum.inductiveautomation.com/t/show-data-from-a-table-cell-to-a-numeric-field-in-perspective/67394/2 "2022-12-09T00:15:38Z")

</div>

The information is available in `props.selection.data.0.selectedColumn` and `props.selection.data.0.<fieldname>`.

In the demo below the label above the table has an expression binding as shown below.

```auto
case({../Table.props.selection.selectedColumn},
	"city", null,
	"country", null,
	"population",{../Table.props.selection.data[0].population},
	null
)

```

![Table selection data](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/1/311cc1b68129e17332c9666d115bc35b35565836.gif)

---

<div class="post-metadata">

**Author:** ![Sukhwant\_Singh](https://avatars.discourse-cdn.com/v4/letter/s/e79b87/32.png) [@Sukhwant\_Singh](https://forum.inductiveautomation.com/u/Sukhwant_Singh)\
**Post date:** [December 9, 2022, 1:34am UTC](https://forum.inductiveautomation.com/t/show-data-from-a-table-cell-to-a-numeric-field-in-perspective/67394/3 "2022-12-09T01:34:57Z")

</div>

Thank You, I was able to make it work using the selectedRow and selectedColumn.
