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

Re: Data Restriction on an object

$
0
0

On the Webi side, if then else replaces case expressions and CurrentDate() replaces sysdate:

 

=Count([Product No]) Where ([Sales Date]<CurrentDate())

 

If you're creating a Universe level object, use:

COUNT(CASE WHEN SALES.SALES_DATE < SYSDATE THEN SALES.PRODUCT_NO END)

 

If you have ELSE 0 at the end, you'd count the 0 and end up with a wrong answer.

 

Regards,

Mark


Viewing all articles
Browse latest Browse all 9091

Trending Articles



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