Skip to main content

Identify Active Rows in History Reports

  • April 10, 2026
  • 2 replies
  • 49 views

Bruna Miranda
Bobber

History reports show all records over time but don’t indicate which row is currently active.

These reports include tables like Employment, Work, Salary, Variable pay, and any report that uses Effective date and End date fields. They’re typically used to review changes over time, for example, tracking job title or salary updates across different periods.

 

To identify the active row, you can add a formula column:

- Open your report

- Go to the Column picker

- Select Manage formulas

- Click Add formula

 

Use the row’s date fields (Effective date and End Effective date) to determine status:

- No end date (or a future end date) → Active

- Past end date → Inactive

This adds a clear indicator to each row so you can quickly distinguish current vs historical data.

 

The formula answers this question:

Is this record currently active or inactive, based on its effective dates compared to today and considering that if the employee is terminated, the row is no longer active?

 

Check Active Row - Termination Sensitive 

 

This approach also works for custom table reports, as long as the table includes date-based fields.

2 replies

I’ve tried using this and I get an error for the active rows: 

 

=IF({{Lifecycle##%%/internal/status}} = "Terminated", "Inactive Row", IF(AND( (DATEDIF( TODAY(), {{Work##%%/work/effectiveDate}} , "D")) <=0, ISBLANK({{Work##%%/work/effectiveDate}} )), "Active Row ",IF(AND(DATEDIF(TODAY(), {{Work##%%/work/effectiveDate}}, "D")) <=0, (DATEDIF( TODAY(), {{Work##%%/work/endEffectiveDate}}, "D")) >=0), "Active Row", "Inactive Row")))

 

Or:

IF( {{Lifecycle##%%/internal/status}} = "Terminated", "Inactive Row", IF( AND( ISBLANK({{Work##%%/work/effectiveDate}}), DATEDIF(TODAY(), {{Work##%%/work/effectiveDate}}, "D") <= 0 ), "Active Row", IF( AND( DATEDIF(TODAY(), {{Work##%%/work/effectiveDate}}, "D") <= 0, DATEDIF(TODAY(), {{Work##%%/work/endEffectiveDate}}, "D") >= 0 ), "Active Row", "Inactive Row" ) ) )

 

 


Bruna Miranda
Bobber

Hi Stephanie, 

The issue is that you're checking whether Effective date is blank and then immediately using it in DATEDIF(), which produces the invalid arguments error.

The corrected version should be:

IF({{Lifecycle##%%/internal/status}} = {{##%%list_value:lifecycleStatus:terminated}}, "Inactive Row", IF(AND(DATEDIF(TODAY(), {{Work##%%/work/effectiveDate}}, "D") <= 0, ISBLANK({{Work##%%/work/endEffectiveDate}})), "Active Row", IF(AND(DATEDIF(TODAY(), {{Work##%%/work/effectiveDate}}, "D") <= 0, DATEDIF(TODAY(), {{Work##%%/work/endEffectiveDate}}, "D") >= 0), "Active Row", "Inactive Row")))