# Binding Dataset component property using expression

**URL:** <https://forum.inductiveautomation.com/t/binding-dataset-component-property-using-expression/105887>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [May 5, 2025, 6:57pm UTC](https://forum.inductiveautomation.com/t/binding-dataset-component-property-using-expression/105887 "2025-05-05T18:57:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![prashants](https://avatars.discourse-cdn.com/v4/letter/p/a87d85/32.png) [@prashants](https://forum.inductiveautomation.com/u/prashants)\
**Post date:** [May 5, 2025, 6:57pm UTC](https://forum.inductiveautomation.com/t/binding-dataset-component-property-using-expression/105887/1 "2025-05-05T18:57:54Z")

</div>

I am trying to bind custom dataset to display some values/rows of dataset table: 2 columns and x rows based on the roster/role. I need info on the syntax for binding dataset expression property to get this done using something like this?

for table 1:  
"#NAMES"  
"String Column", "Int Column"  
"#TYPES"  
"str","I"  
"#ROWS","2"  
"String 1","Int 1"  
"String 2","Int 2"

tables looks like something like this but

table 1/dataset

| String Column | Int Column |
| --- | --- |
| String 1 | Int 1 |
| String 2 | Int 2 |

Another table 2 /dataset

| String Column | Int Column |
| --- | --- |
| String 3 | Int 3 |
| String 4 | Int 4 |

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [May 5, 2025, 7:00pm UTC](https://forum.inductiveautomation.com/t/binding-dataset-component-property-using-expression/105887/2 "2025-05-05T19:00:19Z")

</div>

Ignition doesn't natively have much in the expression language for manipulating datasets. You probably want to look at my Integration Toolkit module.

---

<div class="post-metadata">

**Author:** ![prashants](https://avatars.discourse-cdn.com/v4/letter/p/a87d85/32.png) [@prashants](https://forum.inductiveautomation.com/u/prashants)\
**Post date:** [May 5, 2025, 7:35pm UTC](https://forum.inductiveautomation.com/t/binding-dataset-component-property-using-expression/105887/3 "2025-05-05T19:35:36Z")

</div>

Thanks for replying. That sucks. There is a dataset editor where we can manually create a table that but not using script.  
For testing purpose what I did was created two memory tags with separate datasets and bind that to the table component data property using expression and it worked.  
if (hasRole('administrator'), {Tag1Path},{Tag2Path})
