Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2794

Re: Our database has a 1 day delay, we need the report to show data from the previous day

$
0
0

Hi Dawood,

 

What's the backend database?

 

If it's Oracle, create this Previous Day filter in the universe using the below formula in Where Clause:

TableName.DateColumn = trunc(Sysdate -2)

Note: Replace the TableName.DateColumn with Date Dimension Name.Date Column Name or @Select(FolderName\DateObjectName)

Sysdate is a function that gives the current or system date and -2 will go back 2 days, as you've one day delay.

 

Also, if the BO version matches per this blog, you can use this new feature:

How to use new Dynamic Default Value for Universe (UNX) Prompts feature

 

Also, check out the below for Dynamic Dates:

Dave's Adventures in Business Intelligence: Dynamic Dates Part II: Weekly Date Ranges

 

Thanks,

Mahboob Mohammed


Viewing all articles
Browse latest Browse all 2794

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>