---
title: "Getting the Last # Line Downtime Reasons 3.0"
id: "getting-the-last-line-downtime-reasons-3-0"
project: "Knowledge Base"
url: "https://docs.sepasoft.com/articles/knowledge-base/getting-the-last-line-downtime-reasons-3-0"
updated: 2026-07-23T18:08:21Z
---

# Getting the Last \# Line Downtime Reasons 3\.0

## Overview

To get the last # of line downtime reasons, the Line Downtime Event Sequence item is used.

## Line Downtime Event Sequence

1. Create a new analysis and add two Settings:
    1. Row Limit = # of reasons desired
    2. Descending Order = True

![](/resources/Storage/knowledge-base/getting-the-last-line-downtime-reasons-3-0/image2022-12-16_13-52-8.png)

2. In the Data Points, select:

* Line Downtime Reason
* Line Downtime Equipment Name
* Line Downtime Event Sequence
* Line Downtime State Time Stamp

![](/resources/Storage/knowledge-base/getting-the-last-line-downtime-reasons-3-0/image2022-12-16_13-52-39.png)

Not all are required but can be helpful during testing.

3. In the filters, add Equipment Path = 'Enterprise\Site\Area\Line' or use a variable like @eqPath

AND Line Downtime Reason != ''

![](/resources/Storage/knowledge-base/getting-the-last-line-downtime-reasons-3-0/image2022-12-16_13-51-1.png)

Binding the Dataset results from the Analysis Selector to the Analysis Table will allow you to view the results and perform a drill-down.

![](/resources/Storage/knowledge-base/getting-the-last-line-downtime-reasons-3-0/image2022-12-16_13-54-47.png)

The results should be the most recent # of events on a given line.

##