cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

#Error getting last refresh variable for few users

Ramesh19
Discoverer
0 Likes
647

Hi 

in Webi report we are faccing #error greeting last refreshing variable for Few user's (UK). same report working my side and few users (US). i have checked in  universe side no any level of data security. if remove the ToDate is working (UK user's).  so help on this .

Last refresh date  logic below :

* [TRC Plan] is data provider name only

=ToDate((If LastExecutionDate([TRC Plan])=RelativeDate(LastDayOfMonth(CurrentDate());-1;MonthPeriod )
Or LastExecutionDate([TRC Plan])=RelativeDate(LastDayOfMonth(CurrentDate());0;MonthPeriod )
Then RelativeDate(LastExecutionDate([TRC Plan]);1;DayPeriod )
Else LastExecutionDate([TRC Plan]));"M/d/yy")

inside logic i extract individual 

Ramesh19_0-1756880497078.png

 

 

View Entire Topic
ayman_salem
Active Contributor
0 Likes

Why are you using ToDate() ?
The result is already a date, so there's no need to convert it again.

Instead, use FormatDate to display the output in the desired format (M/d/yy).

...

hope it helps