Quantcast
Channel: SCN : Unanswered Discussions - SAP BusinessObjects Web Intelligence
Viewing all articles
Browse latest Browse all 5676

Webi max function returning wrong value.

$
0
0

Hi,

 

I am trying to fetch max value based on some filter in formula bar in Webi report, but its returning wrong value, here is what I am trying to do.

 


=Max([Date Key]) 
Output is as expected:20140914

 

But when I add filter to it, it starts giving value in multiples, I tried all possible permutation/combination in below, but it didn't work or it returns #MULTIPLEVALUE.

 

=Max([Date Key])  Where ([Date Key]<=[vWeekStart]) 
Output: 11515471891, similar different values at each row also appears.

Variable

[vWeekStart] = ToNumber(FormatDate(RelativeDate(Max([Full Date]) in Report;-7);"yyyyMMdd"))
Output:20140907


Please guide me if I missed anything.

 

Thanks


Viewing all articles
Browse latest Browse all 5676

Trending Articles



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