Variable in the title of the report?

Hi I'm relatively new to ORACLE BI and you want to display the Date in the name of the report file when users run their. So when they download the report as XLS PDF etc. is DD-MM-AA of shows "filename".

Is this possible?


Thank you very much

Ed

Ahh, now I see what you're saying. This is the question that you run in. Download report does not use the title under the name of download file. Instead, it uses the physical name of the OBIEE report. So even if you add the date system to the title of the report, it will not affect the name of download. It turns out that the name of the download and the title by default the name of the response on the request.

So, if you really wanted someone to download with a date already in the name of the file, you have two options:

(1) physically rename the answer ask periodically to indicate the last time it was updated. It is here that links to this request will get quickly outdated. And this isn't the best solution
(2) you will need to go into the Javascript code behind OBIEE and change how it generates the download file. I checked the source code of the web page for the download link and here's where you want to start digging: onclick = "return NQWPopupMenu(event,'idDownloadLinksMenud:dashboard~p:ngm14ept52q4tcnt~r:dr2ss84kj32lkjoi')".
This feature of NQWPopupMenu is what generates the pop-up with different file releases. Once you dig through there, it will lead you eventually through the script that does the output to excel. Once you have found the piece of code that creates the output file, it should be as simple as adding a sysdate the filename.

Good luck!

-Joe

Tags: Business Intelligence

Similar Questions

  • How to use variables in the report?

    Hello all,.
    I'm new to PlSql. Please bare with me.

    I have a report that runs on SSRS.
    Here is what I need it to do:

    When the report is run:
    1st of the month: it pulls the data from the previous months.
    16th of the month: from the 1st of the current month to 15.

    I am trying to use a case statement to find the right date and then use this value to ReportDate.
    ReportDate is a column in the database.

    -Find the 1st of the month
    SELECT
    CASE
    WHEN SYSDATE > last_day (add_months (SYSDATE-1))
    AND SYSDATE < last_day (add_months (SYSDATE,-1)) + 2
    THEN
    ReportDate = last_day (add_months (SYSDATE-2))

    ON THE OTHER
    SYSDATE
    END ReportStartDate,

    With the help of 10G.
    Again, I'm pretty new to this, so go easy. Let me know if I can provide any other details.

    Hello

    Welcome to the forum!

    1009545 wrote:
    Hello all,.
    I'm new to PlSql. Please bare with me.

    Certainly not! Isn't this kind of a site!
    Did you mean "Please * bear * with me?"

    I have a report that runs on SSRS.
    Here is what I need it to do:

    When the report is run:
    1st of the month: it pulls the data from the previous months.
    16th of the month: from the 1st of the current month to 15.

    What happens if it is running on another day of the month?
    The query below uses leans on the previous month when it circulates at any time from 1, in the 15th day of the month, inclusively and leans on the 1st to the 15th of the current month when run 16 or later.

    I am trying to use a case statement to find the right date & then use this value to ReportDate.
    ReportDate is a column in the database.

    -Find the 1st of the month
    SELECT
    CASE
    WHEN SYSDATE > last_day (add_months (SYSDATE-1))

    ADD_MONTHS (SYSDATE-1) will always be some time this month, then
    LAST_DAY (ADD_MONTHS (SYSDATE-1) will also be the previous month, but)
    SYSDATE is always in the current month,
    SYSDATE > ADD_MONTHS (SYSDATE-1) will always have the value TRUE.

    AND SYSDATE< last_day(add_months(sysdate,="">
    THEN
    ReportDate = last_day (add_months (SYSDATE-2))

    It's 2 months in the past. Are you ever interested in this old stuff? Areen can't you always interested in 1 months ago, or the current month?

    ON THE OTHER
    SYSDATE
    END ReportStartDate,

    With the help of 10G.
    Again, I'm pretty new to this, so go easy. Let me know if I can provide any other details.

    Whenever you have a problem, post CREATE TABLE and INSERT statements for some examples of data and outcomes from these data.
    See the FAQ forum {message identifier: = 9360002} it only takes a few minutes to read and can really help you get the most out of this forum.

    I think you want something like this:

    WITH     period_of_interest     AS
    (
         SELECT     CASE
                  WHEN  TO_CHAR (SYSDATE, 'DD') < '16'
                                           -- should be '16' above.  See note
                  THEN  TRUNC ( ADD_MONTHS (SYSATE, -1), 'MONTH')
                  ELSE  TRUNC (             SYSDATE    , 'MONTH')
              END     AS period_start
         ,     CASE
                  WHEN  TO_CHAR (SYSDATE, 'DD') < '16'
                  THEN  TRUNC (SYSDATE, 'MONTH')
                  ELSE  TRUNC (SYSDATE, 'MONTH') + 16
              END     AS period_end
         FROM    dual
    )
    SELECT     ...
    FROM     table_x              x
    JOIN     period_of_interest  p  ON  x.transaction_date >= p.period_start
                          AND x.transaction_date <  p.period_end
    ;
    

    Period_end is a somewhat misleading name for the column; It's actually the first DATE after the end of the period; That's why I used < (and not < =) when compared to the x.transaction_date.

    I'm not sure what ReportDate is in your description. This is an example of timid, you must validate CREATE TABLE and INSERT statements for some examples of data. It could be that ReportDate is just what I called transaction_date above.

    Published by: Frank Kulash on June 3, 2013 16:55
    This site is falling out my code. It seens to think the in the first

    WHEN TO_CHAR (SYSDATE, 'DD') < '16'
    

    indicates a kind of markup and will not display the '16', even if I put it on a separate on its own line.

    Published by: Frank Kulash on June 3, 2013 17:09
    Used & lt; to correct the estrangement, after sentries below.

  • change the properties of the report axis (together begin and end)

    Hey everybody,

    I am a beginner with DIAdem reports and close to despair that I have yet found any solution.

    I wrote a script, which produces reports of various measures with 9 pages (3 2D-slots each, a total of 27 lots).

    Now, I want to put the beginning and the end of the x-axis of certain specific parcels.

    First question: tiara offers something similar to an Object Explorer (for easy access to the names of the objects drawn in a report)?

    I created two GlobalDims called x_time_begin and x_time_end to set these properties, but I don't know how to access these variables in the report (tried @... @ and @... @ the 'Axis settings' tab).

    These variables change for each measure, so each report has a different set.

    The presentation of the State is responsible from a set of. TDMS files and is not altered in the script.

    How can I find the name of a specific plot in the report can access?

    Is it possible to define the range of the x-axis in a variable at all?

    Best regards

    Nils

    Hi Nils,

    It is possible to set the x-axis of begging and positions in the scripts end (see text below).  When you create a report object in the script you can name it anything you want to access later. Otherwise, I think that the default name is the name of the object, of the number (for example the 2D first table is called "2DTable1")

    Dim oMy2DAxisSystem, oMyXScaling
    Report.NewLayout
    Set oMy2DAxisSystem = Report.ActiveSheet.Objects.Add (eReportObject2DAxisSystem, "My2DAxisSystem")
    Set oMyXScaling = oMy2DAxisSystem.XAxis.Scaling
    oMyXScaling.AutoScalingType = eAxisAutoScalingManual
    oMyXScaling.Begin = 0.01
    oMyXScaling.End = 100

    Hope that helps,

    Sadie

  • Change the name of the report server?

    I installed Oracle Application Server as_windows_x86_forms_reports_101202 on Windows XP. Any body can tell me:
    1. how to change the name of the report server
    2 configure the path of the application folder that contains the reports.

    Hello
    You want to change the name of your current report server? There is no automatic way of this fact. You will need to manually change the relevant files

    1. stop the opmn.
    $ cd $ORACLE_HOME/opmn/bin
    $ opmnctl stopall

    2. stop the EM console.
    $ cd $ORACLE_HOME/bin
    $ emctl stop iasconsole

    3. change the $ORACLE_HOME/reports/conf/rwservlet.properties file:
    Of
    SERVER =
    TO
    SERVER =

    4. make a backup of $ORACLE_HOME/sysman/emd/targets.xml.

    5. change the current process in entrances to report since the replacement of targets.xml file server: former name of report server with the new name of report server

    6. restart opmn.
    $ cd $ORACLE_HOME/opmn/bin
    $ opmnctl startall

    7 restart the EM console.
    $ cd $ORACLE_HOME/bin
    $ emctl start iasconsole

    8 - if the report server works well, you can remove all the files associated with the old name as: old reports name.conf and .../reports/logs/old reports Server server name / *. *

    I have yet to your second question. If you want to make a default path for all your reports to ensure that you have the entry for the entire site of reports in the REPORTS_PATH environment variable.

    a. UNIX, we find this variable in the reports.sh file

    b. in windows, this variable can be found in the registry.

    I hope this helps.

    Thank you
    Anand

  • Use of session in the title of the report variable

    Is it possible to add variable s_x of session in the text of the title of the report?
    What is the correct syntax?

    You can use:
    @{biServer.variables ['NQ_SESSION.variablename']}

    See also the link below to learn more about the syntax:
    http://shivabizint.WordPress.com/2008/10/02/Oracle-BI-EE-variables-overview/

  • Presentation set Variable in shape in the title of the report

    I have completed 3 variables presentation via a dashboard command prompt. I also show their values in the subtitle of the report, but I wasn't expecting the following format in the form:

    timestamp ' 2009-10-19 00:00:00 'TIMESTAMP' 2009-10-25 00:00:00 ' in Abilene

    The dates appear in the format 10/19/2009 and 10/25/2009 in the dash prompt, that is how I want formatted in the title. Where is this subtitle from formatting? So I can reformat the drive.

    Published by: Bob of Austin on October 26, 2009 11:28

    Hey Bob,

    change the format of your fast date by using for example cast (year (date) as char (4)). Cast (month (date) until (2) tank... in the format that you want to display in your title.)

    I hope this can help you.

    KR,
    A

  • Is it a Variable exists that contains the title of the report?

    All,

    I'm trying to find out if there is a variable (I guess session) that stores the title of the current report? I looked through manuals widely enough and can't seem to find out if there is indeed. If there is not, any ideas on how to extract the title of the current report in a variable of session/Presentation? Basically, I'm trying to use writeback to write comments in a table on the current report and do not want to have a free shape for the report title field comments on. Any thoughts will be greatly appreciated!

    Thank you

    Josh

    For me no. You have it in the monitoring of the use, but not to write back.
    You must create a formula column to manually add the title of the report and use it in the sql code.

  • Number of the results in the report variable

    Hello everyone,

    I need help in TestStand reports. I use TestStand 2014 and 2014 of Labview, both 32 bits.

    The situation is like this: I am running a test with test steps 3. The first stage of the test is a step of "additional results" which records the device under test info (versions of the hardware software etc...). This information appear in the report and the result data in the database (table prop_result). The next 2 steps are the steps 'real' which measures something.

    In the report, there is a call from the variable "Number of results" (see the screen attached capture) and you see a '3 '. There are actually only 2 steps of 'real' test as I don't want to consider the first step of "additional results" as a test step. How can we affect the variable 'Number of results' so that it does not count this first step? I tried to use the properties-> Run Options-> record result of the for Option set to "Disable". It works and the number of results appeared as "2", but the device under test info do not appear in the report and not in the prop_result of the database table.

    In general, how can I get the number of results of account not a step, but continues to display the result in the database and report? Is there an API where I can access and modify its value (number of results value) such as: "Number of results" - 1?

    Hope someone can point me in the right direction. I have attached the release of the report, as well as the file in the sequence.

    Yours,

    chati

    I ment, you can change the XML seq.--> \Components\Models\TestStandModels\reportgen_xml.seq generator (Ref http://www.ni.com/white-paper/3977/en/).

    It's the AddReportHeader, you need to change. Or more specific step 9 (in teststand 2012) which is a statement-->

    Parameters.ReportHeader += "<" +="" fileglobals.reportelementname="" +="" "="" type='UUT' "="" +="" "="" title='" + ResStr("MODEL", "RPT_HEADER_TITLE") + "' "="" +="" "="" link='" + Locals.UUTItemNameForLink + "' "="" +="" "="" uutresult='" + Str(Locals.Status) + "' "="" +="" "="" stepcount='" + Str(Parameters.StepCount) + "' "="" +="" "="">\r\n".

    and then, you can modify the varabel StepCount using some filtering by using for example a subsequnce that counts only the type of measures that your customer wants to be counted.

    There might be ways esier there, but that's what I'd do.

  • refresh the report with dynamic action title

    Hi all

    I have a report that is updated with dynamic action. When the update is done, first the value of two hidden variables are defined (P2_ID and P2_NAME) and are subject (using a dynamic action type "pl/sql", with the code "null"; and items to submit page: P2_ID, P2_NAME).

    In the report query, I use: P2_ID in the where clause. Everything works like a charm! The only thing that doen't work, is the title of the region: which is defined as "properties of & P2_NAME.", but the title is not updated when the report is refreshed.

    Is there a solution for this? I hope I am clear enough.

    See Re: dynamic action - update

    If you are right; the native just Refresh action updates the content of the report, it does not perform & POINT. substitutions throughout the region.

    What you could do is use a RANGE named as the title as

    &P2_NAME.
    

    and add a REAL action to your dynamic Action to set the title using Javascript to run code

    $s('my_title',$v('P2_NAME'));
    

    I hope this helps.

  • Should variable in the script to report

    Hi all

    We can use the substitution variable in the scripts of report as below

    {ROWREPEAT}

    {4 DECIMALS}

    & v_PERout

    Report scripts works well when there is that a single value in the variable as Jan, but the same failed when we spend 2 values Jan, Feb.

    Please let me know where it is possible to accept a multiple value of variable in the script to report.

    Thank you

    Vikram

    What exactly is the value of the variable substitution?

    Don't forget that the substitution variable is simply "substituted" in the report as a text string - Essbase don't know or care that it's a list of members or whatever when he performs the substitution.

    If you need proxy to look exactly as you enter these values when creating manually to a report, for example to your value...

    "January", "February".

    ... or...

    Jan Feb

  • Variables in the title page

    Hi all

    Can it be done in HR 2015? I've implemented my own title page using a word doc, but I want more than a logo and company name doc in the title page. I want to add numbers version using variables, and I want to be able to set a variable in the text, but also the product name changes slightly with different versions. Is this possible?

    Thank you

    Nick

    If you use a Word doc as your title page, then you can only use Word features. What you need to do here, is create a topic in the goal and that insert on the third page of the dialog configuration instead of a Word doc.

    See www.grainge.org for creating tips and RoboHelp

    @petergrainge

  • APEX variable for the number of lines of standard report?

    Hi people!

    Pagination to any report APEX, there is this "X-Y-Z" option, with Z showing the number of selected lines. I need this "Z".

    In my report, I have several filter options, and I would like the user to get feedback on the number of rows is selected as "X / Y", with there being a number calculated in advance and X number of rows returned. Now I was run all of the report a second time, by storing the count (*) result in a page item, but if there is a variable that already exist in the APEX (for paging) that would no doubt make things a little easier. I havn't found anything still looking, but more probably, one of the experts here knows how to access this value.

    Thanks and regards,

    Tobi

    You are supposed to be able to get the required information using the #TOTAL_ROWS # and #LAST_ROW_FETCHED # substitution string in the footer region.

    Note that for #TOTAL_ROWS # to work the report must use a paging system that calculates the total number of rows, for example "line ranges X y z (with pagination).

    However, the #FIRST_ROW_FETCHED # and #LAST_ROW_FETCHED # currently no change when I test it. These substitution strings are not compatible with the mechanism of updating now used partial page for pagination of reports, either this is a bug.

  • Why bind variables/page items does not work in the report query?

    Hello world

    I am trying to use the page as a bind variable in the query of my report. I checked the box to state of Session and also added my page elements in the LIST of ITEMS in the SESSION STATE.

    but NO RECORD not DISPLAYED IN THE REPORT at RUN TIME.

    to see live please connect to

    http://Apex.Oracle.com/pls/Apex/f?p=52297:LOGIN_DESKTOP:8355343133792

    user name: [email protected]

    password: 123456

    Hello

    I looked at the application.

    Do you want to go to the report page after click on the report button? If it is, your button to submit the page. Then, you need a branch to access this URL. By submitting the page, your value should be set at the session.

    Kofi

  • Title of the report based on the value of the Table column

    Hello

    We use OBIEE 10 g.

    We have a Table and a chart based on the table in a report.

    Assume that the table has two columns, ID and NAME

    can we refer dynamically the value of the column NAME in the title of the report?
    for example
    the table has

    ID | NAME
    -------------
    123 | GS

    now, we would like the title to appear as

    Report for the GS

    where GS is dynamic

    Use the narrative mode and refer to the column that you want to display using @2 and place it instead of view title.

    Thank you
    Isabelle Renon

    Published by: Rajesh Raoul - BI on May 2, 2013 05:59

  • How to hide or disable parameters in the title of the report 11 g?

    Hi all

    I m using 11 GR 2 forms/States 64-bit with Weblogic server 10.3.6 on ent 64-bit of Windows server 2008.

    I m referred to form integrated subsequently;


    -------------------------------------------------------------------------------------------------------------------------------------------------------
    declare

    v_show_document VARCHAR2 (2000): =: GLOBAL. V_DOC;
    v_connect VARCHAR2 (200): =: GLOBAL. V_conn;
    v_report_server VARCHAR2 (50): =: GLOBAL. V_ser;
    v_report_name VARCHAR2 (100): =: global.rep_path2 |' SALE_CHALLAN_VOUCHER1. RDF'; -: OVERALL. V_rep;
    v_format VARCHAR2 (12): = "HTML"; -: OVERALL. V_for;     -PDF or SPREADSHEET

    Start
    v_show_document: = v_show_document
    || v_connect
    || '+ server ='
    || v_report_server
    || '+ value =' | v_report_name
    || '+ destype = CACHE'
    || '+ desformat =' | v_format
    || "' + paramform = no"
    -- || '+ fromdate =' | TO_CHAR(:UNITCONTROL.) FROMDATE, "DD-MM-RRRR")
    -- || '+ todate =' | TO_CHAR(:TODATE,'DD-MM-RRRR');
    |' + compCode ='|:Parameter.compCode
    -|' + P_DOC_CODE =' | : MAINBLOCK. CONTROL_CODE
    |' + FROM_SERs =' | : MAINBLOCK. V_SER
    |' + FROM_NOs =' | : MAINBLOCK. V_NO
    |' + to_SERs =' | : MAINBLOCK. V_SER
    |' + to_NOs =' | : MAINBLOCK. V_NO;

    Web.show_document (v_show_document);
    end;

    ---------------------------------------------------------------------------------------------------------------------------------------------

    This built-in function calls the report successfully.

    But all of these parameters (server name, report name, name of user/passwords etc.) above, are presented in
    title of the report, which is to hide for safety reasons.

    Please guide me.

    Thank you with respect.
    Biron.

    Published by: 982164 on April 3, 2013 02:58

    Is - that this help?

Maybe you are looking for