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/

Tags: Business Intelligence

Similar Questions

  • Error display session in the report Variable

    Hi all

    I created the session variable to display the current period of closed from the AP. Variable is etup as initialization of the sage line. The default values are assigned.

    When using this variable in report filter - I get the error message below. Please let me know what mistake I make.


    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error occurred. [nQSError: 23006] The session variable, NQ_SESSION. CPG_AP_PERIOD_CLOSED, has no value definition. (HY000)
    Issued SQL: SELECT Time. "' Exercise ' saw_0 OF THE time WHERE 'Financial States - AP Transactions'. "' Exercise ' = VALUEOF (NQ_SESSION. ("' CPG_AP_PERIOD_CLOSED ') ORDER BY saw_0


    Thank you
    Poojak

    Session variables are associated with a users session. In other words, that it will be initialized when a user connects to OBIEE. Apparently, the session variable has not been initialized for your user. I don't know why, but you must check the file NQServer.log.

  • Using wildcard characters in the URL variables (very simple question, I know)

    Hi all!

    Pulling my hair out over this... How to use wildcard characters in the URL variables? I have this code in compositionReady (that works):

    var myurl = " " http://www.mydomain.com/Sub1/Sub2/pagename ";

    var currenturl = window.location

    if(MyURL == currenturl) {}

    sym.getSymbol("symbolname").play ();

    }

    It is simply the symbol "NomSymbole" play when the current URL corresponds to the variable 'myurl '. However, I want the symbol to play on all subpages of http://www.mydomain.com/sub1/sub2/ , and therefore, it seems logical to put in a wildcard as:

    http://www.mydomain.com/Sub1/Sub2/ * or something similar, but I can't seem to make it work?

    Any help will be greatly appreciated!

    :-)

    Best,

    Thomas

    What of it?

    var mysubdomain = "http://www.mydomain.com/sub1/sub2/";

    var currenturl = window.location.toString ();

    If (currenturl. IndexOf (MySubDomain) = 0) {}

    sym.getSymbol("symbolname").play ();

    }

    DIA-

  • Can I use the session with the presentation variable variable

    Hello

    I'm using a method join the variable session or repository with the presentation variable.

    I created a variable called 'VarPres' in obiee presentation I created a session with a new block of initialization variable and I made this request

    "{Select fullName from employees where idEmp=@{VarPres}.

    but when I called the session variable in obiee I got this error

    The session variable, NQ_SESSION. S_OBJ, has no definition of value

    Hello

    Does not allow a presentation in an init block variable, simply because there is no variable presentation.

    In general what you try to do probably will never work because of "timing" and is as a session variable.

    A session variable is set once per session, for once he put no exchange of value as the init block is not executed again. So, because of this you already can imagine that there is a problem in your logic, if you want to use a value set by the user in the front end to set the value of a session variable.

  • 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.

  • Unable to play videos from Windows media player in the RDP using RemoteFx session on the RD session host server

    I have deployed according to the steps in the next document in the RD session host server

    http://www.Microsoft.com/downloads/en/details.aspx?displaylang=en&FamilyID=d90e841f-d84c-4746-B0F3-3c16e71d1ed1

    From a client I machine RDP to the server using RemoteFx. I don't play to Windows media video player in the RDP session. It just freezes.

    All solutions?

    Your question of Windows 7 is more complex than what is generally answered in the Microsoft Answers forums.
    It is best suited to the audience the TechNet forums.

    Please ask your question in forum Windows Server Remote Desktop listed below.
    http://social.technet.Microsoft.com/forums/en-us/winserverTS/threads

    Sincerely,

    Marilyn

  • Fact using two fields in the report to division.

    Hello

    I have two columns on my report TOTAL_REQUESTS AND ASSIGNED_SEATS. I want to divide ASSIGNED_SEATS by TOTAL_REQUESTS.

    <? xdoxslt:IfElse (TOTAL_REQUESTS > ASSIGNED_SEATS,(ASSIGNED_SEATS/TOTAL_REQUESTS), 100)? >

    When I do that, I get an empty field.

    But when I add the columns together I get the result.

    <? xdoxslt:IfElse (TOTAL_REQUESTS > ASSIGNED_SEATS,(ASSIGNED_SEATS+TOTAL_REQUESTS), 100)? >

    What I am doing wrong?

    Thank you!

    Hi Kelly,

    What if the value of these fields >?

    Division by zero will cause this problem., add a condition or use option 3

     ASSIGNED_SEATS) and (TOTAL_REQUESTS > 0) and (ASSIGNED_SEAT>0), ASSIGNED_SEATS div TOTAL_REQUESTS,100)?>
    or
     100), 1111 div 22,100)?>
    or
     100), xdoxslt:div(10,0),100)?>
    

    the second and third will work perfectly, since they got the correct hard-coded data.

  • Use the string variable in the functions of film

    I want to know how to use a string as the URL variable in a Movie Clip event.

    example code:
    var numCount:Number = 1;
    var strMov:String = 'rock' + numCount;
    bob.removeMovieClip (strMov);

    Thank you very much!

    Turns out, I have solved my problem. I feel a bit stupid. Thanks for your help!

  • Need help for analysis "plan and background events waiting" on the report statspack for oracle database 11.2.0.4 on AIX

    HI: I analyze the STATSPACK report: this is the "volume test" on our UAT server for most of entry or "bind variables".  Our shared pool is well used in oracle.  Recovery of Oracle logs is not configured properly on this server, as in "Top 5 events of waiting", there are 2 for Oder.

    I need to know what other information may be digging from of 'waiting in the foreground events' & ' background waiting events ", and which can help us better understand, in combination of ' Top 5 wait event, that how did the server test /?  It could be overwhelming. wait events, so appreciate useful diagnostic or analyses.  Database is oracle 11.2.0.4 updated from 11.2.0.3 on IBM AIX 64-bit, level 6.x system power


    STATSPACK report


    DB Id Instance Inst Num Startup Time Release RAC database


    ~~~~~~~~ ----------- ------------ -------- --------------- ----------- ---

    700000XXX XXX 1 22 April 15 12:12 11.2.0.4.0 no.


    Host name Platform CPU Cores Sockets (G) memory

    ~~~~ ---------------- ---------------------- ----- ----- ------- ------------

    dXXXX_XXX AIX-Based Systems (64-2 1 0 16.0)


    Snapshot Id Snap Snap time Sessions Curs/Sess comment

    ~~~~~~~~    ---------- ------------------ -------- --------- ------------------

    BEGIN Snap: 5635 22 April 15 13:00:02 114 4.6

    End Snap: 5636 22 April 15 14:00:01 128 8.8

    Elapsed time: 59.98 (mins) Av law Sess: 0.6

    DB time: 35,98 (mins) DB CPU: 19,43 (mins)


    Cache sizes Begin End

    ~~~~~~~~~~~       ---------- ----------

    Cache buffer: block 2 064 M Std size: 8 K

    Shared pool: 3 072 M Log Buffer: 13 632 K

    Load profile per second per Transaction per Exec by call

    ~~~~~~~~~~~~      ------------------  ----------------- ----------- -----------

    DB Time (s): 0.0 0.6 0.00 0.00

    DB CPU: 0.0 0.3 0.00 0.00

    Size: 458 720,6 8,755.7

    Logical reads: 245,7 12 874,2

    Block changes: 1 356.4 25.9

    Physical reads: 6.6 0.1

    Physical writings: 61.8 1.2

    The user calls: 38.8 2 033,7

    Analysis: 286,5 5.5

    Hard analysis: 0.5 0.0

    Treated W/A Mo: 1.7 0.0

    Logons: 1.2 0.0

    Runs: 801,1 15.3

    Cancellations: 6.1 0.1

    Operations: 52.4


    Indicators of the instance

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Buffer % Nowait: 100.00 do NoWait %: 100.00

    Buffer % success: 99.98% W/A optimal, Exec: 100.00

    Library success %: 99,77% soft Parse: 99.82

    Run parse %: 64.24 latch hit %: 99.98

    Analyze the CPU to analyze Elapsd %: 53.15% Non-Parse CPU: 98.03


    Shared pool statistics Begin End

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

    % Memory use: 10.50 12.79

    % SQL with executions > 1: 69,98 78,37

    % Memory for SQL w/exec > 1: 70.22 81,96

    Top 5 timed events Avg % Total

    ~~~~~~~~~~~~~~~~~~                                                   wait   Call

    Event waits time (s) (ms) time

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

    CPU time                                                       847          50.2

    ENQ: TX - 4 480 97 434 25.8 line lock conflict

    Log file sync 284 169 185 1 11.0

    log file parallel write 299 537 164 1 9.7

    log file sequential read 698 16 24 1.0

    Host CPU (processors: 2 hearts: Sockets 1: 0)

    ~ ~ ~ Medium load

    Begin End User System Idle WIO WCPU

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

    1.16 1.84 19.28 14.51 66.21 1.20 82.01


    Instance of CPU

    ~~~~~~~~~~~~                                       % Time (seconds)

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

    Host: Time (s) Total: 7,193.8

    Host: Availability of time processor (s): 2,430.7

    % of time host is busy: 33.8

    Instance: Time processor Total (s): 1,203.1

    % Busy CPU used, for example: 49.5

    Instance: Time of database total (s): 2,426.4

    % DB time waiting for CPU (resp. resources): 0.0


    Statistical memory Begin End

    ~~~~~~~~~~~~~~~~~                ------------ ------------

    Host Mem (MB): 16,384.0 16 384,0

    Use of LMS (MB): 7,136.0 7 136,0

    Use of PGA (Mo): 282.5 361.4

    Host % Mem used for SGA + PGA: 45.3 45.8

    Foreground wait events DB/Inst: XXXXXs Snaps: 5635-5636

    -> Only events with wait times Total (s) > =.001 are indicated

    --> sorted by Total desc waiting time, waits desc (idle last events)


    AVG % Total

    % Tim Total wait Wait Wait call

    Event is waiting for the time (s) (ms) /txn times

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

    ENQ: TX - line lock 4 480 0 434 97 contentio 0,0 25.8

    284 167 0 185 1 file synchronization log 1.5 11.0

    File I/O 8 741 of disk 0 4 operations 0.0 0.2

    direct path write 0 13 247 3 0.1 0.2

    DB file sequential read 6 058 0 1 0.0 0.1

    buffer busy waits 1 800 0 1 1 0,0.1

    SQL * Net more data to the client 29 161 0 1 0.2 0.1

    direct path read 7 696 0 1 0.0 0.0

    db file scattered read 316 0 1 2 0,0.0

    latch: shared pool 144 0 0 2 0,0.0

    Initialization of 30 0 0 3 0,0.0 CSS

    cursor: hand 10 0 0 9 0,0.0 S

    lock row cache 41 0 0 2 0,0.0

    latch: rank objects cache 19 0 0 3 0,0.0

    log file switch (private 8 0 0 7 0,0.0 str

    library cache: mutex X 28 0 0 2 0,0.0

    latch: cache buffers chains 54 0 0 1 0,0.0

    free lock 290 0 0 0.0 0.0

    sequential control file read 1 568 0 0 0.0 0.0

    switch logfile (4 0 0 6 0,0.0 control point

    Live sync 8 0 0 3 0,0.0 road

    latch: redo allocation 60 0 0 0 0.0.0

    SQL * Net break/reset for 34 0 0 1 0,0.0 customer

    latch: enqueue hash chains 45 0 0 0 0.0.0

    latch: cache buffers lru chain 7 0 0 2 0,0.0

    latch: allowance 5 0 0 1 0,0.0 session

    latch: object queue header 6 0 0 1 0,0.0 o

    Operation of metadata files ASM 30 0 0 0 0.0.0

    latch: in memory of undo latch 15 0 0 0.0 0.0

    latch: cancel the overall data 8 0 0 0 0.0.0

    SQL * Net client message 6 362 536 0 278 225 44 33.7

    jobq slave wait 7 270 100 3 635 500 0.0

    SQL * Net more data to 7 976 0 15 2 0,0 clien

    SQL * Net message to client 6 362 544 0 8 0 33.7

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

    Context of the DB/Inst events waiting: XXXXXs clings: 5635-5636

    -> Only events with wait times Total (s) > =.001 are indicated

    --> sorted by Total desc waiting time, waits desc (idle last events)

    AVG % Total

    % Tim Total wait Wait Wait call

    Event is waiting for the time (s) (ms) /txn times

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

    log file parallel write 299 537 0 164 1 1.6 9.7

    log file sequential read 698 0 16 24 0.0 1.0

    db file parallel write 9 556 0 13 1 0,1.8

    146 0 10 70 0,0.6 startup operating system thread

    control file parallel write 2 037 0 2 1 0,0.1

    Newspaper archive e/s 35 0 1 30 0,0.1

    LGWR wait for redo copy 2 447 0 0 0.0 0.0

    async file IO DB present 9 556 0 0 0.1 0.0

    DB file sequential read 145 0 0 2 0,0.0

    File I/O disk 349 0 operations 0 0.0 0.0

    db file scattered read 30 0 0 4 0,0.0

    sequential control file read 5 837 0 0 0.0 0.0

    ADR block lu file 19 0 0 4 0,0.0

    Block ADR file write 5 0 0 15 0,0.0

    direct path write 14 0 0 2 0,0.0

    direct path read 3 0 0 7 0,0.0

    latch: shared pool 3 0 0 6 0,0.0

    single log file write 56 0 0 0.0 0.0

    latch: redo allocation 53 0 0 0 0.0.0

    latch: 1 0 0 3 0,0.0 active service list

    free latch 11 0 0 0 0.0.0

    CPI of RDBMS 5 314 523 57 189 182 1.7 message

    Space Manager: slave wa slowed 4 086 88 18 996 4649 0.0

    DIAG idle wait 7 185 100 1000 7 186 0.0

    Streams AQ: waiting time 2 50 4 909 # 0,0

    Streams AQ: qmn slowed slave 129 0 3 612 28002 0.0 w

    Streams AQ: Coordinator of the 258 50 3 612 14001 0,0 qmn

    SMON timer 2 43 3 605 83839 0.0

    PMON timer 99 1 199 2999 3 596 0.0

    SQL * Net client message 17 019 0 31 2 0.1

    SQL * Net message to client 12 762 0 0 0.1 0

    class slaves wait 28 0 0 0 0.0

    Thank you very much!

    Hello

    I think that your CPU is overloaded by your stress tests. You have one VCPU with 2 wires (2 LCPU), right? And the load average is greater than one. You have time DB which is not counted in (CPU time + wait events) and which comes no doubt from time spent in the runqueue.

    > Oracle recovery logs is not properly configured on this server, as in "Top 5 events of waiting", there are 2 for oder

    It is an error in statspack for show "log file parallel write here." This moment is historical and is included in 'log file sync '. And I don't think you have to redo misconfiguration. Waiting for 1ms to commit is ok. In OLTP you should have more than one validation in a user interaction so that the user don't worry not about 1 m in batch mode, unless you commit to each row, 1 DC to commit should not increase the total execution time.

    The fact that you have a lot of line lock (enq: TX - line lock conflict) but very little time (on average 97 ms) is probably a sign that testers are running simultaneously a charge affecting the same data. Their set of test data is perhaps too simple and short. An example: when stress tests of an order entry system if you run 1000 concurrent sessions, ordering the same product to the same customer, you can get this kind of symptoms, but the test we unrealistic.

    It's a high activity of 2000 calls per second, 52 transactions per second, user. But you also have low average active sessions, so the report probably covers a period of non-uniform activity, which makes the averages without meaning.

    So note to tell about the events of waiting here. But we don't have any info about 39% of DB time devoted to the CPU which is where something can be improved.

    Kind regards

    Franck.

  • Call in the report for PDF download query does nothing

    I am trying to download a PDF report based on 2 queries. Each query has a where clause clause with values taken from the page elements. I installed Publisher OBI 11.1.1.5 and used the term of Publisher 11.1.1.5 OBI plug-in to create the RTF file that I downloaded then the components Shared-> presentation of the State.

    I created a new button in the region to call the report query. However, whenever I click on the button to download the PDF file, nothing happens. I looked at the debug and the button seems to be running OK, except that nothing happens.

    The APEX of BOIP configuration works since I was able to have BOIP generate another report that do not use the predefined query. In other words, parts of reports including the attributes defined print "allow printing of the report = Yes" and 'layout of report = report default layout' work very well. Reports based on the query predefined and launched with a button in the region do nothing.

    Environment: APEX 4.1, DB 11.2.0.2, BOIP 11.1.1.5

    Any contributions to this PDF issue is greatly appreciated.

    Thank you
    Reid

    Hello Reid,

    Thanks for reporting back!

    It now works with a button linked to printing the report query URL. This method was not working before because when I deleted/recreated the presentation of the report, the layout of request report report had to "use generic Report Layout. When I changed the presentation of the report query to the name of the correct report layout, button link to the print URL worked as expected.

    He therefore finally brought its fruits check attributes...

    Still, he doesn't when I create a button with action = 'Download printable report Query'. I tried several times, but couldn't make it work. It seems that it is a bug, but I can't say for sure.

    It should work as long as you have configured the report query according to the needs and assured the session state is included.

    Go ahead rather than use the with action = "Download the printable report query", I'll use a button with Action is "Redirection of URL" where the URL is the URL for the report query printing.

    In this case, my guess would be the session state, because you will always she, when redirecting to the session, and the report query seems to agree.

    -Udo

    P.S.: If you don't mind, please check all useful or correct accordingly to ensure that other users of the forum search can identify those posts easily.
    Thank you!

  • How can I change the source query of the report on the fly

    I'm new to Bi Publisher,
    I have a user who wants to select some columns in the table, then make a PDF only the columns on bi publisher
    do different reports for each of the choices, how can I make the report variable?
    Thank you
    Doug

    If you run a pure apex report, you have so much control to hide columns, depending on the conditions.

    If you use BI Publisher report at Apex, then you have to write the logic in the model.

  • I can't get the tabs of the previous session of the return when I reopen it Firefox. The header of the window, or 'Quit' in the file Menu using 'Close' of Firefox not working. Note that "Restoration of previous Session" on my Menu history is grayed out so

    Question
    I can't get the tabs of the previous session of the return when I reopen it Firefox. I tried closing with 'Close' header of Firefox window, but also 'Quit' in the file Menu. Note that "Restoration of previous Session" on my Menu history is grayed out so I can't use it. In addition, there is no tab at the top of my window to open Firefox Firefox - only a menu bar that shows "File", "Edit", "View", "History", "Favorites", "Tools" and "Help". I am running Windows 7 Home Professional and Firefox 4.01

    "I can't do the tabs from the previous session of the return when I reopen it Firefox.

    Remember that you are not private browsing or they are in permanent private browsing mode. See: https://support.mozilla.com/en-US/kb/Private%20Browsing (2nd and 3rd options menu on this page)

    Make sure that you are not clearing history during a session or when Firefox is closed. See:

    • Clear recent history: https://support.mozilla.com/en-US/kb/Clear%20Recent%20History
    • Clear history of Firefox closing: uncheck 'Clear history of Firefox closing' options > Privacy panel (the first item under "History" on this Panel should be set on "Firefox will be: use the custom settings for history" to see that point to uncheck)

    "There is no Firefox tab at the top of my Firefox window open - only a menu bar.

    The Firefox button is supposed to be on by default in Vista and Windows 7.

    In Firefox 4, you have the choice of using the Firefox (orange or grey) button in the upper left or the menu bar (File, Edit, View, history, Favorites, tools.) Help).

    • The selections on the Firefox button are distinguished by the menu bar options.
    • You can easily switch between the Menu bar and the Firefox button or leave one or the other active.
    • One used depends on if the Menu bar is enabled
      • Bar menu checked = Bar Menu on, Firefox off button
      • Bar menu unchecked = Menu Bar off, Firefox button on

    When the Firefox button appears and you want to temporarily view and use the menu bar, press ALT or F10 displays the menu bar and you can make your selections in the Menu bar displayed temporarily.

    To check (or uncheck) the menu bar, do one of the following:

    • using the Firefox button: click on the Firefox button > Options > Menu bar
    • using the Menu bar: click on view > toolbars > Menu bar
    • Hold DOWN the ALT key while pressing the VTM keyboard letters
  • Session for the use of the business services

    I want to use JSFUtils.storeOnSession in the model project. I created a class that I want to expose as a data control, but I can't because the FacesContext cannot be imported.

    User, please tell us your Jdev version!

    What is behind your question use case?

    You do not access the session of the model layer at all. There are other solutions that you can implement depending on your use case.

    Timo

  • Dreamweaver CC 2014: How to display title Page page? It used to be on the toolbar.

    I have download a certain number of new pages on our Web site each week, and I'm used to change every page title (the text that appears on the top of the window when the page is requested).

    In previous versions of Dreamweaver, there was an area of the toolbar that displays the title of the page. It has now disappeared, and the only place where I found to access is in the Page Properties menu, which is a bit obscure. Anyone know a way to display the title of the page on the toolbar, the way that it used to be? I'm afraid that I won't forget to change a title if I can't see it at a glance. I hope it's just a view setting I'm missing.

    It's still there-

    To show the toolbar of the document.

  • 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.

Maybe you are looking for