# Filter Label columns in Alarm Status Table

**URL:** <https://forum.inductiveautomation.com/t/filter-label-columns-in-alarm-status-table/58917>\
**Category:** Ignition\
**Created:** [April 27, 2022, 9:58am UTC](https://forum.inductiveautomation.com/t/filter-label-columns-in-alarm-status-table/58917 "2022-04-27T09:58:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aiasa21](https://avatars.discourse-cdn.com/v4/letter/a/aeb1de/32.png) [@Aiasa21](https://forum.inductiveautomation.com/u/Aiasa21)\
**Post date:** [April 27, 2022, 9:58am UTC](https://forum.inductiveautomation.com/t/filter-label-columns-in-alarm-status-table/58917/1 "2022-04-27T09:58:25Z")

</div>

Good morning,

I would like to insert in the alarm status table page a textbox where the operators could insert a name to search and filter it in the “Label column”; for example insert “Probe XXX” and filter the table based on the results.

I’ve seen that already exist other search option in the property of the Alarms Status Table, but I can’t look for the Label column.

Thanks a lot for the help

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [April 27, 2022, 10:07am UTC](https://forum.inductiveautomation.com/t/filter-label-columns-in-alarm-status-table/58917/2 "2022-04-27T10:07:15Z")

</div>

> [@Aiasa21](#):
>
> I’ve seen that already exist other search option in the property of the Alarms Status Table, but I can’t look for the Label column.

What do you mean ? The built-in search field does filter on the label column.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/c/cc8ed6b1a42800221d6e74a298dec9b167802229.png)

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/6/160b28668c09003625394b99b63a29c1e54c67a1.png)

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/9/69cd150c3a532d7927c3a529d6fbd7c1a915bc29.png)

---

<div class="post-metadata">

**Author:** ![Aiasa21](https://avatars.discourse-cdn.com/v4/letter/a/aeb1de/32.png) [@Aiasa21](https://forum.inductiveautomation.com/u/Aiasa21)\
**Post date:** [April 27, 2022, 10:59am UTC](https://forum.inductiveautomation.com/t/filter-label-columns-in-alarm-status-table/58917/3 "2022-04-27T10:59:48Z")

</div>

Actually I’m talking about the Vision Alarm Status Table, are a little bit different the filter option. As you can see in the picture there are 3 kind of filter but none is bind to the Label column… Maybe with a script or something else could be possible do it.

 ![Annotation 2022-04-27 125615](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/1/218210a723557cc2d509d84ccb5d4d0cd9590c60.png)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [April 27, 2022, 5:37pm UTC](https://forum.inductiveautomation.com/t/filter-label-columns-in-alarm-status-table/58917/4 "2022-04-27T17:37:12Z")

</div>

Make your textbox, and implement the `filterAlarm` extension function on the table, referencing the value in the textbox.

---

<div class="post-metadata">

**Author:** ![Aiasa21](https://avatars.discourse-cdn.com/v4/letter/a/aeb1de/32.png) [@Aiasa21](https://forum.inductiveautomation.com/u/Aiasa21)\
**Post date:** [April 29, 2022, 9:48am UTC](https://forum.inductiveautomation.com/t/filter-label-columns-in-alarm-status-table/58917/5 "2022-04-29T09:48:55Z")

</div>

Thanks for the reply.

I solved it with this script in the filterAlarm Extension Function of the Alarm Status Table if can help.

```auto
	AlarmList = alarmEvent.get("Label").lower()
	ExFilter = self.Filter.lower()
	
	if ExFilter in AlarmList:
	    return True    
	return False

```
