Date of Max in the default selection of the command prompt

Hello

in the command prompt, I have dates, I need a maximum date in default selction of the guest of
How to give max ("table". "Colum") "

You write the query as
SELECT MAX (Time.Date) saw_0 "SA".
at the prompt to-> see the-> results of SQL, use this query

If help pls mark as correct/good

Published by: on November 22, 2012 vieren 06:33

Tags: Business Intelligence

Similar Questions

  • Dates of rolling in the command prompt

    Hi friends,

    IM in obiee 11.1.1.7

    I need to have a guest with a bearing dates of 20 with power of sysdate. As for example

    If sysdate is 17/01/2016 then I display the next 20 dates in the prompt dynamically as from 18/01/2016 to 06-02 - 2016 (6th feb). So in this way dates will be incremented according to the sysdate

    I can do the same thing in the back-end through the following query

    SELECT TO_CHAR ((SYSDATE+1)-1 + ROWNUM, "DD-MON-RRRR") dl_date

    From all_tables

    WHERE ROWNUM < = 20

    I tried the same thing in the BI using the prompt variable by substituting for the SQL results as below

    SELECT EVALUATE ('to_char(%1,%2)' AS char, (CURRENT_DATE + 1) - 1 + RCOUNT (1), "DD-MON-RRRR")

    "< DOMAIN >.

    WHERE RCOUNT (1) < = 20

    But these results strength to work, as the output in the prompt does not appear any value and continues to load.

    Where can I miss and how to accomplish the above scenario.

    Thanks in advance.

    Kind regards

    Saro

    You need a time dimension table attached to your fact table... OBIEE won't data

  • With regard to the date current system under the command prompt

    Hi all

    I am very new to this obiee.

    I'm trying to set the value of prompt dashboard as the current date. But I'm not able to do. were of variable to set and how to configure it. Please can someone help me.

    Thanks a lot for your help
    A

    Jin
    Current_date is the default feature in obiee as Sys_Date in SQL.

    PS: Please allow the points if you met and close the message

    Thank you
    saichand.v

  • default selection in the command prompt

    Hello

    With the help of obiee 11.1.1
    I created a variable presentation in the command prompt using sql result.

    Using this prompt in my... e anaysis.i which I use in the filter.

    Initailly when I run the dashboard because no value is selected in the filter performances without results found
    No results
    All data is not cause to the specified criteria.
    This is often due by applying filters and/or selections that are too restrictive or contain incorrect values. Please check your filters to analysis, and then try again. The currently applied filters are listed below.


    M_NAME is equivalent to / in VarMName

    Wharton I want is
    Scenario 1-> what to make sure the results no msg would not come and just the filter should be displayed.
    or
    Scenario 2 - display all the filter values in the report initially that is as if one has chosen the value of filter.
    or
    Scenario 3-> by default select one filter and show the result for this.

    I want to know how to do the 3 scenarios?

    Thank you

    Hello

    Similar to scenario 2 and 3 for me (may be mistaken) creating fast, you can set the default values for all the choices or any desired value so that the report can show for all values. But I was wondering where you use this variable presentation (I mean for the calculation or any other object)

    Scenario1 can be reached certain that using any results display in the results tab, but I'm not sure if you can show filters here or not. But when you don't get any results, there are cases where it shows what are the filter condition has been applied in the report.

    Phani.

  • assign the session as the default value of a command prompt variable

    Hi, experts,

    is it possible to assign the session as the default value of a command prompt variable?

    I would attribute the full name of the user of the connection to the default value of a prompt!

    Thank you!

    In the value default of / writing SQL results:

    Select
    case
    When 1 = 2 then table.column
    of another valueof (nq_session.user)
    end
    the area"presentation".

    The table.column must be the type of character data.

    Concerning
    Goran
    http://108obiee.blogspot.com

  • "How to change the gateway by default from the command prompt"

    "How to change the gateway by default from the command prompt"

    How to change the default gateway on the windows command line

    Microsoft Windows XP - route

  • Why I can't change the default program from the command prompt?

    Accidentally, I changed the default program to open the .py (Python script) files at the command prompt, now I can't change it back even in the Control Panel, the check box is gray. Also I tried the registry editor, I do not have the NoFileAssociate file.
    If someone could help that would be great!

    Hello

    This problem occurs when Windows thinks that the application already exists in the list. Change the name of the application may fix this problem. Please try the following if you do not want to rename python.exe


    Method [1]: Use the registry to change the application Associations
    ATTENTION: It is recommended that you create a restore point before you proceed
    • On the start menu, insert the following text and press ENTER: regedit.exe
    • Delete the following key
      Python.exe HKEY_CLASSES_ROOT\Applications\

    Thank you
    Have a nice day :)
  • Validate if something is selected in the command prompt

    Hello-

    How can I check if something is selected in the command prompt? In the report, I have to do < function1 > when there is only option selected in the prompt else < function2 >. I tried with variable presentation. So, my syntax in the column:

    -CASE when @{Var}['@']{'abc'} = 'abc', then 'Nothing is selected in the prompt' else 'this value in the prompt' end

    It works fine when only a single value is selected in the command prompt. When there are multiple values selected, it gives an error.

    Is there another trick to achieve this?

    Thank you!

    Instead of checking for is null or "variable presentation, it would be easy.

    just in case where to check it cool - bi.com you could get an idea of how validate the variable presentation.

    If brand aid

  • How to rename a directory by using the command prompt

    How can I rename a directory using the command prompt?  Say I want to change c:\Users\User c:\users\user utilisateur\Mes Documents documents.  How can I do this?

    I looked in Google.  Here's what I found.

    G:\data>mkdir dir1
    G:\data>dir /b
    dir1
    G:\data>rename dir1 dir2
    G:\data>dir /b
    dir2
    G:\data>What would I write for the data? And what would I write for b?
    
    C:\docs>ren c:\docs\1.txt 2.txt
    C:\docs>dir /b
    2.txtPlease give me an example.Rod Computer
    

    OK, I fixed it.  I did go in safe mode, go to documents, right-click on the file, select Properties, security, advanced, owner and change the owner.  And that's all.

    They don't call me computer Rod for nothing!

    Thank you

  • Aggregate in the command prompt values

    Hello

    My Table.Column has below values:

    A

    B

    C

    D

    E

    I want to show: A, B, "BOTH" in the dash prompt.

    When A or B are selected in the command prompt, the respective values are supposed to go to the report; and when "BOTH" are selected both A and B must be passed to the report.

    Appreciate any ideas or advice.  Thank you very much in advance.

    Hello 920424 ,

    You can create a group to do this.

    Here are the steps to follow:

    • Create an analysis on this topic and go to the tab results click the icon with 3 blue points and a star in the menu bar.
    • Create your group by selecting a display label ('TWO') and by selecting the column and the value you want to put inside (A and B)
    • Spend the selection steps pane at the bottom of the screen and click on your group (BOTH)-->Group Save as... and save it in the subject area content folder.
    • In your guest Dashboard spend Options , add the same column and lookup values , select the values of specific columns, and then click the Plus sign.
    • Add A and B of the values in columns pane and add your component catalog group.

    Here you are.

    More info on the Group and calculated items: http://docs.oracle.com/cd/E23943_01/bi.1111/e10544/filter.htm#CJAHGBBE

    How to save: filtering and selection of data analysis - 11 g Release 1 (11.1.1)

    It will be useful.

    Kind regards

    JeromeFr

  • Problem with the format of the values in the command prompt (when you use multiple values)

    Hi all

    I have problem with the format of the values in the command prompt when you use multiple values.

    Value is year (2009) and when I use it in the drop-down list that is formatted, all right, as 2009, but when I use several values I get number as 2009,00. I put in year column format number with 0 decimal places and save by default in the year column. Year is formatted well anywhere in the query, such as 2009. Why is - what happens at the command prompt when you choose multiple values in prompt dashboard?

    Thank you

    I think the YEAR Data Type could be defined DOUBLE RPD.

    Use the CAST function in the formula (fx) and the output from test.

    CAST (INT YEAR)

    Hope, it will help you.

  • Timestamp in the command prompt

    Hello Experts,
    I try to set a time stamp to a variable presentation so I can use to filter reports, but the variable is set to one value other than timestamp, so I can't filter use it. Is there a way where I can ride in the prompt so I can achieve.

    Concerning

    Try this:

    In the command prompt, select a column of type CHAR. Do this two times. In the formula for each column, enter the CASE WHERE 1 = 0 THEN tablename.columname ELSE 'test' END

    This prevents the column being altered by the SQL. Now type this SQL:

    SELECT DISTINCT Time.Calendar_Date FROM subject_area and set it to a Variable (PV) presentation called StartDate.

    Repeat the above but the second instance of a PV called EndDate.

    Now in your request on the date column, add the Time.Date_column filter > = @{StartDate} AND Time.Date_column<=>

    It will work.

  • Satellite L - can I add new accounts via the command prompt?

    Is it possible that I can add new accounts to the machine via the command prompt on the screen of "recovery"?

    (When you start in recovery mode and select command prompt)

    I tried the normal commands "net user username / add ', but the accounts are not added to the machine.

    Y at - it another command which can be used?
    Thank you.

    Hello

    I don't know if it will work using the in my opinion Mr. recovery console, it is not possible.
    As far as I know that you can add the user and the password using the CMD, but this might work only when the Windows operating system has been loaded.

    In this case, you can use this command to add the user account: + net user username / add +.
    If you want to add a password for the user account, then you must use this way: + net user username password / Add +.

  • Is there an online class to learn exactly how to use the command prompt which is quite through. OR y at - it clear a book that explains in detail for this? Who should I contact?

    I would like to know how to use the command prompt.  The nethodology type in the cmd prompt with the syntax and the Liposuction, in other words, the real return to a command prompt. I downloaded about evertthing I can find about this, but can't seem to put it all.

    My OS is Windows XP Pro sp3, lots of RAM, my address is * address email is removed from the privacy *.   I would like to take a rough online study if one is available if it is not too expensive.

    It really depends on what you mean by "to a command prompt."

    If you open a command prompt window (for example, in start > run > cmd > OK), you can enter a number of orders.  The list of available commands, including their syntax, is here--> http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds.mspx?mfr=true

    You can also follow the links here:http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds_o.mspx

    If you want to get more sophisticated - automating command-line tasks - you can start here: http://technet.microsoft.com/en-us/scriptcenter/default.aspx

  • I have a computer laptop gateway with vista and im stuck at "bootmgr is missing". and I can't even it at the command prompt, you know the c:? Help

    I have a computer laptop gateway with vista and im stuck at "bootmgr is missing". and I can't even it at the command prompt, you know the c:? Help

    I can't get a secure boot or anything. are there secret shortcut keys or anything like that? !! ??

    Dear klh76

    You need a USB FLASH DRIVE, you can transfer the files from the Recovery Console Windows Vista from any other pc or laptop running Windows Vista, go to the backup and restore on the other computer and click on create a drive recovery system on the file menu. Once done, insert the usb key into the laptop, you want to fix, start by using selected peripheral USB device as MBR, follow these steps on screen, you can repair a corrupt Windows Vista it or restore to a previous restore point.

Maybe you are looking for