Variable in Report Title?

Hi I'm fairly new to ORACLE BI and want to output the Date in the Filename of the reports when the users run them. So when they download the report as XLS PDF etc is shows "filename DD-MM-YY".
Is this possible?
Many Thanks
Ed

ahh, now I see what you're talking. Here's the issue you're running into. The download report doesn't use the title as the download file name. Instead, it uses the physical name of the report in OBIEE. So even if you add the system date to the title of the report, it won't affect the download name. It just happens that both the download name and the title default to the name of the Answer Request.
So if you really wanted someone to download it with a date already in the file name, you have two options:
1) Physically rename the Answer Request periodically to indicate the last time it was refreshed. The issue here is that links to this Request will get outdated fast. And it's not the prettiest solution
2) You'd have to go into the Javascript behind OBIEE and edit how it generates the download file. I checked out the web page source code for the download link and here's where you'd want to start digging: onclick="return NQWPopupMenu(event,'idDownloadLinksMenud:dashboard~p:ngm14ept52q4tcnt~r:dr2ss84kj32lkjoi')"
That NQWPopupMenu function is what generates the pop up window with the different file outputs. Once you dig through there, it will eventually lead you through the script that does the excel outputting. Once you find the piece of code that creates the output file, it should be as simple as appending a sysdate to the file name.
Good luck!
-Joe

Similar Messages

  • Text Variable for Report Title

    Hi All,
    My requirement is to keep a dynamic text as current fiscal period in the Title of the report.
    I have created a Customer exit variable and the value is getting populated. But the user does'nt wanna see the Key (Ex 2007004 ), he want to see the text as
    Apr 2007.
    If i am using a replacement path variable, then i can say replace with text. But as the text variable need to be in the report title, i have choosen the cust exit which will give only the key not the text.
    Can anyone suggest me how to solve it.
    Thanks In Advance
    Ram

    Hi,
    check the below thread.
    0CALMONTH values need to display in Texts
    Regards,
    Siva.

  • Formatting date of Presentation Variable in Report title

    Hi
    I have the following presentation variable, @{PR_WE_DATE}{Week End Date}, in a report title. However the date format shown in the title is different from the format in the prompt.
    In the report title the date format is YYYY-MM-DD however I want to display it as DD_MM_YYYY
    Can anyone let me know if it possible to format the date format for a presentation variable?
    Regards
    A

    I've tried this and all this output to the title is 2009-12-03[DD_MM_YYYY]
    Any other suggestions? Maybe I can change it when I set the variable in the prompt, did try {variable}[DD_MM_YYYY], in the prompt but it didn't work

  • How to get current quater as  variable in Report title

    Hi Experts,
    I am trying to get current quater to be displayed as variable in the reports title.
    @{Quater[Q]}
    Can someone provide me exact syntax to get this one in Report title page...
    Thanks
    V

    Hi,
    Please refer to the link below:
    http://debaatobiee.wordpress.com/2009/09/29/using-repository-session-and-presentation-variable-in-titlesubtitlenarratives/
    Close the thread and award points if the question is answered.
    Cheers,
    -Amith.

  • Insert dynamic variable in report title?

    Hi
    I am new to Discoverer. I have created a report that displayed a set of data based on the value of last month. So I have created a calculation that gets the value of last month:
    LAST_MONTH = TO_CHAR(ADD_MONTHS(TRUNC(SYSDATE,'MM'),-1),'MON/YYYY')
    I then use the value of LAST_MONTH to select dates from my data where DATE LIKE LAST_MONTH.
    But I want the report title to actually have the value of LAST_MONTH in it, so it actually says something like
    Report for NOV/2009
    dynamically etc.
    Is this possible?
    Thanks
    Lee

    Hi Lee
    To add to what Rod has said, which is 100% correct, let me explain why.
    In order to get something into the title of any report or document, whether this be Word, Excel, SQL or even Discoverer, that something must be applicable to all of the values currently displayed on the page of the report. Whereas Word or Excel will allow you to manually place something into the title, Discoverer does not. In order for Discoverer to allow you to place something into the title it must either be a Page Item or a Parameter. This is because Page Items and Parameters are guaranteed to be unique to the page of the report being displayed. Thus, if you had more than one Page Item, as you move from one to the next the title would dynamically change. When you have a fixed value or calculation, such as your LAST_MONTH, you still need to display it in the Page Items in order to place it on your title.
    To make a Page Item or Parameter display in the title you simply type the & character followed by the name of the item as it appears in the Page Items or by the name you gave the Parameter. Case is import too so last_month is not the same as LAST_MONTH.
    Whenever Discoverer encounters the character & in the title it starts looking for a Parameter or Page Item named by whatever is following the &. If it finds a match it displays the value. It no match is found then it literally displays whatever you typed. Any additional characters that you type after a successful match are also display literally.
    For example: suppose you Page Item is called LAST_MONTH and the value was NOV-09 but in the title you typed &LAST_MONTHS then what will display would be NOV-09S. However, if you typed $last_months then you will literally see &last_month in the title.
    I hope this helps.
    Best wishes
    Michael

  • Use of Presentation Variables in Navigated Report Title

    Hi All,
    It's regarding the presentation variable in report title. I have value interaction to another report based on Prompted values. But when we click on the value it will go to another report page and giving the results, but the title view is not changing as per the requested value. The title should change dynamically, but it is showing the P.Variables in place of prompted value.
    Below are the ways i have used the P.Variables:
    @{brand1} at @{customer}, @{sensitivity}% Sensitivity
    @{brand1}{'Prod'} at @{customer}{'CVS'}, @{sensitivity}{'15'}% Sensitivity -----(default values here)
    Version : OBIEE 11.1.1.5.0
    Could you provide me the solution for this issue.
    Thanks in Advance,

    Hi,
    You can use the presentation variable when you are passing the value from the prompt and filtering after
    clicking on the 'GO' or 'APPLY' button. So that assigns one value and is passed in the report in the
    page used.
    What you need to do is you need to have the 'is prompted' for the column used in the title
    or you can make the column is equal to @{pres_var}.
    But still if you dont use the columns in the report and you dont want to filter the report with the title columns
    then you can use narrative view with all the columns used in the title and have 'is prompted' and make its formatting similar to title view and save as a separate report
    And place the narrative view above the report
    Regards,
    MuRam

  • Using Standard Text Variables for FYPERIOD in Report Title ?

    Hi,
    We have a requirement where the user input the variable 0fiscper to the query (001.2010). How to get the text value of that variable in the query description in the bex query ?
    For example user input, 008.2010. We need to get "Aug 2010 Sales values " where Sales values will be the report text. I want to get Aug (month) and year (2010) before the report title. I have searched in google and sdn and could not find any link, but found a doc for the column header text using the same variable. I have tried the same procedure and its just display the zvariable name and Sales value's instead of the label. Please advise.
    Thanks
    DR

    You can create a Text variable with replacement path of Fiscper as reference char. Select Key in details tab of replacing variable.
    If you are just getting technical name, then it is understood that it is not getting replaced.

  • Presentation Variable - Display 'All Values' in Report Title

    If I create a Dashboard Prompt and then set it equal to a Presentation Variable, I then display this Presentation variable in the report title. For the Dashboard Prompt I allow them the 'All Values' choice, in fact, this is the default.
    The issue is displaying this in the Report Title, when it is 'All Value' nothing is display in the title, when they select a value such as 'Region D' then it works and this value will dispaly.
    I looked at the documentation and it says you can use a default value, however, setting up that still does not work. It still is blank.
    Has anyone seen this issue or know of a workaround? I'd like to have something like 'All Vales' display or is there a condition I could write to set this.
    Thanks

    Hi Guys,
    I have did the following in order to achieve your requirement:
    As usual, create a request with a column prompted and a dashboard prompt containing that column and set the Presentation Variable (ex: varDept)... bla bla..
    Placed them on the Dashboard to generate your issue, discussed...
    Now, what I have did is:
    1. Created one more Request with the column used on Prompt and specified the Formula to it as:
    CASE WHEN '@{Dept}'||'A'='A' THEN 'All Departments' ELSE '@{Dept}' END
    Note: Take 2 same columns (and hide one) because we are using above formula which does not contains the Column from any table.
    2. Created Narrative View and referenced the above Column.. @2 (in my case).. and specify 1 in 'Rows to Display' field. Do the formatting as required viz., specifying Font size, family....
    3. Place this request in between the Prompt and First Request..
    Now, you can able to see 'All Departments' if 'All Choices' is selected.
    Hope this idea will helps you guys..
    Regards,
    -Vency

  • Show Report Variable in the title

    Hi all,
    I need to know if it's possible to show in a title of Answer a report variable and, if it's possible, how can I do.
    Thanks a lot
    Steve

    Hallo Venkat,
    Thanks for your reply!
    I'd like to have the most recent loaddate in the title, that works fine now.
    However, i'm struggling with the format of the variable, maybe you have a tip how to change that.
    This is what i've done:
    1. Created repository initialization block "get most recent loaddate". This refreshes every day. The query is basicly a select on my loadtable to get the max date from the loadtable.
    2. Then i created a dynamic repository variable "get most recent loaddate" which retrieves from my initialization block.
    When i set default to '31-12-2007' (just for checking), i creates TIMESTAMP '2007-12-31 00:00:00'.
    3. So, when i use the variable in the title, i get all this text. I'd like to just see the date instead.
    Do you have a suggestion how i can set the datatype to date from the variable?
    Thanks
    Sandra

  • Presentation Variable Formatting in Report Title

    I have populated 3 presentation variables via a dashboard prompt. I also display their values in the report subtitle, but I did not expect the following format in the display:
    from TIMESTAMP '2009-10-19 00:00:00' to TIMESTAMP '2009-10-25 00:00:00' for Abilene
    The dates appear formatted as 10/19/2009 and 10/25/2009 in the dashboard prompt which is how I want them formatted in the title. Where is this subtitle formatting originating? So, I can reformat it.
    Edited by: Bob from Austin on Oct 26, 2009 11:28 AM

    Hi.
    I suggest you to read this first:
    How to change date format mask in date dashboard prompts - drop-down list and calendar
    http://108obiee.blogspot.com/2009/03/how-to-change-date-format-mask-in-date.html
    On the end of this post is a explanation of date format and presentation variable in the title:
    And you can find a complete example here:
    Date between in filter and title when using presentation variable from calendar dashboard prompt or drop-down list in OBIEE
    http://108obiee.blogspot.com/2009/03/date-between-in-filter-and-title-when.html
    Before everything customize instanceconfig.xml, change datatype of TABLE.COLUMN in the physical layer to DATE and keep on eye if you are using repository variables as default values to dashboard prompt, which datatype they have, character, date or timestamp, this can cause problems. That's explained in the posts above.
    Regards
    Goran
    http://108obiee.blogspot.com

  • Session variable reference in report title.

    Can someone suggest me a answer for my problem?
    I want to display the report title by with the logged in username. So, I've created a report and in the 'Edit View' of 'Title'view of that report, i just placed '@{NQ_SESSION.user}' in the Sub title section. But instead of displaying user name in the report subtitle, i have it displayed '@{NQ_SESSION.user}'. Can someone tell me where am doing wrong?

    I Apologize stijn. I should have done that!! Will do it from next time.
    The thread you referenced have 2 ways:
    1.@{biServer.variables}
    2.@{session.serverVariables}
    I have tried with both like @{biserver.user} and @{session.user} placing them inthe report title view. These 2 doesnt work and giving me the same old result- displaying the same code!! :(
    Am i doing any wrong here in referencing the variables??
    Daan,
    I followed the John's like and it was not helpful either!! :(
    Actually, John was referencing it through column and later hiding that column. Am not sure which column to select here. So, i took one column and applied the formula and hide that column. But, its throwing error saying that the valueof{session.user} doesnt exist!!
    Since am new to this technology, can you guys guide me?

  • Change the report title to more meaningful title? How to achieve it?

    Hi Guys,
    We have some BI reports which the users runs from BEx analyser. Currently the report title shows the names of the reports. For example a Sales by products reports has the title SALES BY PRODUCT REPORTING.
    What we want to do is these reports have selection screen and based on what the user selects on the selection screen we want the report title to be more meaningful. For example if the report is run for the period 1 and company code ABC selected on the selection screen then the report title must show SALES BY PRODUCT FOR PERIOD 1 AND COMPANY CODE ABC.
    My questions is how to show the variable in the report title? I am new to BI and need help on the same. We are on 7.1 version of BI.
    Cheers
    VJ

    Hi,
    We have done the same but in my case the input Month will display.
    Eg: We have MM reports which will run Period wise, so user wil give 001.2009, in the report title it will display...
    Stocks report for 001.2009.
    Using Text Variable we can do it.
    Steps;
    1. Create a Text Variable with Customer Exit option.
    2. Take the user input value and pass into Custome exit Variable.
    For Sample Code, you can see one blog and some Articles.
    https://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
    See the blog "Using Text Variables with Customer Exits in Report Headings" and see Customet Exit articles..
    WHEN 'ZT_C'.   " ZT_C = Text variable with customer Exit
        IF i_step = 2.
          LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZMONTH'.  " ZMONTH = User input variable on 0CALMONTH
            IF sy-subrc = 0.
              CLEAR: l_s_range.
              zsmy = loc_var_range-low.
              zemy = loc_var_range-high.
              zsmnth = zsmy+4(2).
              zemnth = zemy+4(2).
              zfyear1 = zsmy+0(4).
              zfyear2 = zemy+0(4).
              CONCATENATE zsmnth '.' zfyear1 INTO zsmnyr.
              CONCATENATE zemnth '.' zfyear2 INTO zemnyr.
              l_s_range-low+0(7) = zsmnyr.
              l_s_range-low+9(2) = 'To'.
              l_s_range-low+13(7) = zemnyr.
              l_s_range-sign = 'I'.
              l_s_range-opt = 'BT'.
              APPEND l_s_range TO e_t_range.
            ENDIF.
          ENDLOOP.
        ENDIF.
    Thanks
    Reddy

  • How to add a filter/selection into the report title?

    Hi experts,
    Currently I try to fugure out how to set up a field into the page header (title) of a report in order to dynamically adapt the title to selected filter criteria. I tried to use the Reprot Filter Summary, but since I do have several sheets in my reports the information given through it is not applicable.
    What I would like to achieve is that the end user can select e.g. a category X and Y and the title says: "Report title - categories: X,Y" Somthg like this. I'd appreciate any tips.
    Best regards

    Hi guys,
    thanks so far. I managed to show prompts in the report. But still my problem is nor 100% solved
    I would like t achieve that the filtered criteria in the report title is separated through a comma like in the report filter summary - e.g.: {001, 002, 003, 004} followed by just 1chart/table that is including the whole information.
    When I however just drag a variable into the report it automatically created different sections, right? Like ........ table, chart, whatever... .......table chart whatever........
    Regards

  • Request Variable in Report Subtitle??

    Hi there,
    I'm using Request variable in my report. I want to use the same in Report subtitle.
    I was using @{biServer.variables['NQ_SESSION.myvariable']} in report subtitle.
    Its showing the default value first time. When I change the value in dashboard prompt (editbox) and click go, value in subtitle is not changing.
    Appreciate your help
    Thanks

    Okay, you can't use presentation variables in the rpd so if you are using it in the rpd to override a session variable, then you need to set it to a Request Variable.
    Put the request variable in the Title window of the Title View not the Subtitle window.
    http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/b31767.pdf page 98.
    Oh, and because we are back to Request variable,use the @biServer.variables['NQ_SESSION.variable']} syntax.
    To test functionality, use this session variable in the Title field of the Title View:
    @biServer.variables['NQ_SESSION.USER']}
    This will return the logon ID of the user.
    Edited by: David_T on Sep 10, 2010 7:51 AM

  • How to get report title in the program

    I want to get report title in the program for changing it according to different case. thanks.
    Moderator Message: Basic Question.
    Edited by: kishan P on Sep 15, 2010 10:05 AM

    Use the system variable SY-TITLE.
    if this = that.
      sy-title = 'this and that'.
    else.
      sy-title = 'something else'.
    endif.
    Regards,
    Rich Heilman

Maybe you are looking for

  • Cr2 files in photoshop elements 11

    Can I open Canon CR2 files in Elements 11?

  • SAPconnect Internet Mail Status Problem

    I configured BI 7.0 SAPconnect for sending internet email. I receive the mail in outlook just fine. The problem is in the status field. All messages have status of sent. I would like to know what configuration is missing so I can receive status trans

  • Converting non-additive to additive

    Hi, I have a fact table which is derived from source data grouped by CA ,GL, and fy_period. I want to convert one of the measure, says PO, in this fact table to be additive and put it into a new column. That is, record with the same CA and GL will ha

  • Know steps names of called sequence file using sequence call step type in TestStand

    Hi,     I have a problem in accessing step names in called sequence file using "Sequence call"step type in TestStand 4.0. I would list out all step names of called sequence file. Is it possible to do through C#.NET? If, yes, Please explain to me in d

  • Theoretical question re: ipad 3 update from iOS6 to iOS7

    With Apple's recent statement regarding breaking Facetime on iOS6 iPads, do we have recourse if the update to 7.1.1 slows the machine down, as I've read here that it does in many posts? For example, my iPad 3 is under AppleCare. if the update cripple