cancel
Showing results for 
Search instead for 
Did you mean: 

how to filter with previous day

Former Member
0 Kudos

I have a Query on Dashboard.

If I create a DB with a filter with date. If I run preview, its starting with current day. I want to start previous day.

How to achieve this.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

Please define the object in universe for current date-1/sysdate-1, then the use this object in report.

Thanks,

Sakthi.

Former Member
0 Kudos

Hi Nisar,

Is your issue resolved?

Former Member
0 Kudos

Hi Nisar,

You need to write a function "today()-1" in a single cell of your dashboard excel sheet. Map that particular cell as a filter to the query. It works for sure.

former_member188157
Participant
0 Kudos

With SAP BW as data source you need to write logic in customer exit of the prompt variable to handle the previous day.

If you have .UNV universe you can create variable at the business layer.