Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Web Intelligence
Viewing all articles
Browse latest Browse all 5402

YTD-1 giving error

$
0
0

I've created a variable for which YTD (CurrentYearToDate) values comes correctly with below formula :

 

=FormatDate(ToDate(UserResponse([YTD] ; "Date DD/MM/YYYY ?"); "dd/MM/yyyy");"dd-MM-yyyy")

 

But if I happen to create YTD-1 (PreviousYearSamePeriod) ,Bi4 is giving error. Below is formula used :

 

=FormatDate(ToDate(UserResponse([YTD -1] ; "Date DD/MM/YYYY ?"); "yyyy-1");"dd-MM-yyyy-1")

 

 

Thanks in advance for your help

~S


Viewing all articles
Browse latest Browse all 5402

Trending Articles



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