Table of Contents

About

How to filter based on the current time in an answer.

You have two objects that store the current time:

You then just need to create an advanced sql filter and put your formula depending of your need.

How to

Obiee Filter Advanced Convert To Sql

The last two years:

Time.year >= year(@{system.currentTime} ) - 1

or

Time.year >= year(CURRENT_DATE) - 1