SAP Knowledge Base Article - Preview

1364814 - Page() returns incorrect results when used within If() condition


1.When page() is used in the if() statement of a WebI report as in the below formula, it displays incorrect results.

= If(Page()=1 ; " " ;"Page "+FormatNumber (Page()-1 ;"#") + " of " + FormatNumber (NumberOfPages()-1 ; "#"))      

2.The above formula ideally should return:

"Empty value"("") in the first page where page()=1;and

Page 1 of 8 in the second page.Instead returns "Emtpy Value("")" as in the first page.



SAP BusinessObjects Enterprise XI 3.1


KBA , BI-RA-WBI , Web Intelligence , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.