Skip to Content

Text variable Syntax in Webi

Hello experts,

can anyone please help me creating a syntax for webi.

I have a webi report built on BEx query, I need to create a header of that webi report showing Report Name, Day of the Month and Current Period, something similar to that..... "Sales Progress Report Day 20 of 28 (65%) Period 09 2015"

I want to show report name the current day of the period and the period in the header.

How can I create the webi syntax

Please advise, will appreciate your help.

Regards

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Sep 22, 2015 at 04:41 PM

    Hi,

    try something like

    =DocumentName()+" Day "+FormatDate(CurrentDate();"dd")+" Period "+ FormatDate(CurrentDate();"MM yyyy")

    If you are looking for different font colour then you can create different rules.or can place three blank cells and adjust the position..

    even you can hardcode the report title also.

    Amit


    Untitled.png (4.5 kB)
    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member SAP BRG

      To concatenate strings, use the + symbol

      So, the red part will be =DocumentName()

      If you have Day 22 of 28 (65%) as a full text string from your Bex Query then you'd build up your string to be:

      =DocumentName()+" "+[Day x of y String]

      Then if your Period 09 2015 is a string from Bex then it's going to be

      =DocumentName()+" "+[Day x of y String]+" "+[Period String]

      However, if you don't have the period string set up in Bex, you could create it as a variable, called Period String, defined as:

      ="Period "+FormatDate(CurrentDate();"MM yyyy")

      Regards,

      Mark

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.