# Report of Daily Active Alarms

**URL:** <https://forum.inductiveautomation.com/t/report-of-daily-active-alarms/72639>\
**Category:** Ignition\
**Tags:** perspective, ignition81\
**Created:** [April 19, 2023, 12:25pm UTC](https://forum.inductiveautomation.com/t/report-of-daily-active-alarms/72639 "2023-04-19T12:25:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jean.arnosti](https://avatars.discourse-cdn.com/v4/letter/j/90db22/32.png) [@jean.arnosti](https://forum.inductiveautomation.com/u/jean.arnosti)\
**Post date:** [April 19, 2023, 12:25pm UTC](https://forum.inductiveautomation.com/t/report-of-daily-active-alarms/72639/1 "2023-04-19T12:25:33Z")

</div>

Hi

I need to create a daily PDF report of tha active alarms.  
I am using this settings. In the Reporting secton.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/8/78d75401859e77542d4f3231481de0ede65fcf9c.png)

When the Alarm is Acknowledge and still Active, I do not see it in the  
Report.

Anybody can tell me why?

Also What would be the settings to have only Active Alarms which are Acknowledged and  
UnAcknowledge?

Thank you

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [April 19, 2023, 3:46pm UTC](https://forum.inductiveautomation.com/t/report-of-daily-active-alarms/72639/2 "2023-04-19T15:46:38Z")

</div>

I usually have better luck scriping the data source:

```python
def updateData(data, sample):
	# Get all active alarms
	data['Daily_alarms'] = system.alarm.queryStatus(state = [2,3]).dataset

```

---

<div class="post-metadata">

**Author:** ![jean.arnosti](https://avatars.discourse-cdn.com/v4/letter/j/90db22/32.png) [@jean.arnosti](https://forum.inductiveautomation.com/u/jean.arnosti)\
**Post date:** [April 19, 2023, 3:53pm UTC](https://forum.inductiveautomation.com/t/report-of-daily-active-alarms/72639/3 "2023-04-19T15:53:57Z")

</div>

@JordanCClark Thank you for the solution
