Prompt hierarchy Quarter

Hello


I have the columns year, quarter revenue and months against hepatitis a

In the promt dashboard select year, then shifts

If I select Q1 report should show JAN, Feb and March

If select Q2 should display report Jan, Feb, mar, Apr, maty and June

If select Q3... January... for... September



If selects Q4... Jan... TO... Dec



How can I do this...

very urgent thanks in advance

Kind regards
JES

Filter your report on
year = yearprompt
and
Quarter<=>

concerning

John

http://obiee101.blogspot.com/
http://obiee11g.com/

Tags: Business Intelligence

Similar Questions

  • Quick question - SQL + constraint dashboard

    Hello

    I have 3 dashboard invites you: exercise, Qtr, and month and here is my requirement...

    -All 3 dashboard guests must display only values for the past 5 years, including the current year
    -Quarter and months guests should be limited

    Now the problem is, I could achieve the requirement of the 1st or the 2nd but I am unable to make the two together since OBIEE does not show the box 'Force' if we select 'Results' rather than 'all values '. Is there a way to achieve both requirements together?

    I did a lot of searching on Google, but that did not help. So thought I'd check with the experts in this forum.

    Thank you
    Vahib

    You have three columns to the prompt year, quarter, and month, no need sql result...

    In the special effects of the year column write this
    Case when TableA.Year enters the year (current_date)-5 and year (current_date) then TableA.Year end

    Column quarter FX
    When end of TableA.Year between the year (current_date) - 5 and year (current_date) then TableA.Quarter

    special effects of the column for the month
    When end of TableA.Year between the year (current_date) - 5 and year (current_date) then TableA.Month

    Select the constraint for the quarter and month

    Thank you
    Vino

  • Add the hierarchy to the dash prompt

    Hello

    I have a question

    I created the analysis:

    And add filters:

    And I add the hierarchy of categories of purchases to prompt dashboard:

    But when I open a dashboard and choose an option in the command prompt, for example:

    Nothing happens:

    Do I need something additional set or If there is even an option use a hierarchy in command prompt ?

    Hello

    When to use a hierarchy as a guest you don't filter the analysis by setting "is invited" at all levels but you add the hierarchy in the analysis and using the stages of selection, you set it can be replace by the guest. "

  • Result using Sql and value limits in the prompt 11.1.1.5 OBIEE

    Dear gurus,

    I invited hierarchy like this:
    Year
    Quarter
    Month

    Who use the value limit (quarter depends on the year, month depend on quarter), but I have question because null also appear in these guest
    I checked my database, display repository are not null.


    My question is, how to remove null in prompt when sql result cannot be used as well as the value limit, I don't know how to remove it by using the filter columns.
    NB: I already using presentation result variable sql in order to remove the null value and using the constraint, but it show nothing in fast mode unless press us the button apply.
    So I don't use this

    Help please, please enjoyed

    JOE

    Published by: JoeSSI on March 27, 2012 02:03

    Hello

    You can change your guest here you can find the show option, and then choose SQL result please change statement as below.

    SELECT the name of your column OF field where your name of the column is not null

    Go--> change your prompt--> Show--> Sql select result---> statement change as above.

    Second way.

    Go to the layer, and then double click on your column name here you can find * 'Nullable' * option please check.

    Go--> physical layer--> extract table--> select your name in the column--> double click on your name in the column--> here you can find option as Nullable, please check.

    Allocation of points, it is useful.

    Thank you
    Satya

  • System elevated command prompt

    do not prompt for administration

    I need to access the hierarchy command prompt to join the account sys Im planing to make a few tweaks to my taskbar, implement a rotation to display the desktop and adding some defensive work to my firewall.

    I know that its possible Ive been reading about all day, but there is a security file blocking the best way to access the account.

    time / interactive "cmd.exe" did not work I got the following error

    "WARNING: due to security enhancements, this task will run at the scheduled time, but not interactively.

    "Use the schtasks.exe in interactive task utility is needed.

    Schtask.exe is interesting because none of the switches back work. even in SafeMode invites

    I tried to use psexec.exe to bypass around your security file of coarse it was also a bust.

    tried to use the Task Scheduler to activate a system level command prompt, it worked but its ruin in the background. lol system d$ * #.

    I then tried to get the interactive prompt by running to time / interactive "cmd.exe" in a batch file, calling it a scheduler of tasks that the system,

    I should have seen it coming, he just ran in the background.

    If anyone knows about the top of head how to access the account and hierarchy system prompt, pls gave me, but also don't size your time it get on my account if you do not know

    Thank you

    Use PsExec with the option/s: http://technet.microsoft.com/en-us/sysinternals/bb896649

    Example follows:

    -START SHELL BLOCK-
    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

    C:\Windows\System32>whoami
    antichthon\kj4ips

    C:\WINDOWS\system32>C:\Users\KJ4IPS\Desktop\PsExec.exe/s cmd.exe

    PsExec v1.98 - execute processes remotely
    Copyright (C) 2001-2010 Mark Russinovich
    Sysinternals - www.sysinternals.com

    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

    C:\Windows\System32>whoami
    AUTHORITY NT\SYSTEM

    C:\WINDOWS\system32>^C
    cmd.exe is out on ANTICHTHON with the error code 0.

    C:\Windows\System32>whoami
    antichthon\kj4ips

    -END OF BLOCK SHELL-

  • OBIEE dashboard how to set the default value of a prompt dynamically

    Hello

    I have a prompt that displays the quarter of the year. I want to put the default value of this prompt dynamically. So, if sysdate is between January and March, then fast should say 'Q1 '. If the month of sysdate is between April and June, then fast should say 'Q2'... etc.

    I set the default selection of the prompt SQL suite and put in the following code:

    SELECT BOX WHEN EXTRACT (MONTH FROM sysdate) IN (1,2,3) and THEN "Q1" double WHEN RETRIEVED (MONTH OF sysdate) (4,5,6) and THEN "Q2" double WHEN RETRIEVED (MONTH OF sysdate) (7,8,9) THEN "Q3" double ELSE 'T4' LATE double

    However, it seems not be soon and there is no default value. I was just wondering what I'm doing wrong. Thank you!

    ~ Kevin Sun

    What is the problem with the answer you were given in this thread: OBIEE parameter default value a "quarter" guest dynamically?

  • Default OBIEE setting a 'quarter' invites dynamically

    Hello

    I'm having issues affecting the default of a prompt "quarter" dynamic based on the month sysdate is in. If the month is January-March, it should be Q1, if she is from April to June, it's Q2... etc.

    I changed the default selection of SQL result and put in the following code:

    SELECT BOX WHEN EXTRACT (MONTH FROM sysdate) IN (1,2,3) and THEN "Q1" double WHEN RETRIEVED (MONTH OF sysdate) (4,5,6) and THEN "Q2" double WHEN RETRIEVED (MONTH OF sysdate) (7,8,9) THEN "Q3" double ELSE 'T4' LATE double

    However, it seems that it does not work and there is no default value. Can someone help me? Thank you!

    ~ Kevin Sun

    Hi Kevin (you can try perhaps to set a nickname instead of 2990287).

    The problem is that "Result SQL" SQL logical result.

    OBIEE is the build engine SQL, so you never get real physics SQL directly (with the exception of DDR) it will just make all the RPD and useless modeling.

    If in this field, you must enter a query LSQL.

    If your values are Q1, Q2, Q3 and Q4, it is actually very simple:

    SELECT
    'Q' || CAST(QUARTER_OF_YEAR(CURRENT_DATE) AS VARCHAR(1))
    FROM "A - Sample Sales"
    

    Where ' A - Sample Sales "can be any area you have access to (just use the one that is used in the analysis of the page if you do not have any problem of permission).

    You can test your query LSQL by using Administration > SQL question page to make sure that your LSQL is correct and works fine.

    Fact

  • CASE STATEMENT DOES NOT HIERARCHY

    Hi Experts

    I have this case statement:

    BOX WHEN ' @{pvCalType} "="Cal1"THEN"Calendar Cal1"". "" Year. "

    WHEN ' @{pvCalType} "="Cal2"THEN"Calendar Cal2"". "" Year

    ANOTHER NULL

    END

    All the columns in the YEAR of different sizes have properties of the hierarchy.

    When I view my results of this statement, there is no hierarchy.

    I want the hierarchy in order to drill down of the YEAR > QUARTER > MONTHS

    Help, please.

    Hello

    do you have other possible values for "pvCalType"?

    If not try this formula: "@{pvCalType} schedule". " Year. "

    (not sure this is the right syntax, if it does not work after the return of the error and I get the right thing...)

  • Block initialization parameter default value of the session variable used in default prompt as "(toutes les valeurs de colonne)" "

    Hello

    I have a business requirement for a dashboard that we built location to get the users that belong to a certain geographic location to the default view of the dashboard with guests together in their geographic area.  He is just giving them a default view to enhance their experience when they connect each day.   Because of the way that we put the default value for the period of time they watch, with the HELP of SAUVÉ the CUSTOMIZATIONS IS NOT AN OPTION.

    I created the default values for the prompt called "area" in a block of initialization. This variable is called V_USER.

    My problem is that only about 80% of users have a value of 'Area' in the hierarchy of our employees.   I would like to someone else by default "(toutes les valeurs de colonne)". "  I was unable to understand how and where do.

    Some of the things I've tried:

    (1)Setting the default value in the initialization of an empty space block ("in SQL)
    (2)Setting the default value in the initialization "(toutes les valeurs de colonne) block '"
    (3)Setting the default value in the initialization block 'null '.

    None of them have worked and the result is that the user who does not have an area ends with a load of zombie dashboard, and while the guest gave rise to fashion "- select value -", the user must press "Apply" again to get the dashboard to display the data.

    The text which lies behind the encircled area in green below correctly becomes the value of the variable to V_USER (it is empty as default and I don't have a box).

    For @{biServer.variables ['NQ_SESSION.]} {[USERS ']} the default zone must be @{biServer.variables ['NQ_SESSION.]} {[V_USER']} {}

    In the red circles below you can see that the guest actually becomes a value: *) nqgtu(* )


    The illustration below indicates the default value for a user without a box. the second quick block is not updated until you press on apply again...

    Thanks for your comments.  I was not able to make this work for my needs.  I have however to solve the problem by changing using a 'SQL result' for my default selection.  Then I created a query that returns rows NULL unless there is a correct answer:

    SELECT 'Service Delivery MOS '. "' Organizational hierarchy. "" Area ".

    "MOS DELIVERY."

    WHERE ("organisational hierarchy". ("" Area number "> 0) AND ("Service Delivery MOS". "Organizational hierarchy" "." " Zone' = ' @{biServer.variables ['NQ_SESSION.]} {[V_USER']} {} ")"

    The "returns no line' I mentioned above resulted in all values being selected.

  • ALL PROMPTS LIMIT NOT WORKING in OBIEE 11.1.1.6

    Hi all

    In OBIEE 11 g Dashboard guest all prompts limit values does not.

    We have below 4 guests in my dashboard.

    1. market Department

    2. Ministry of health

    3 Plastica

    4.Department.

    When limit values by the Department of health and the results are coming.

    To limit the values all the guests then the resultant taking too long finally nothing happens.

    Can someone help me on this issue.

    Note: we have only 3 runners for all the prompts.if we have several documents it might be the prformance problem.

    Thank you

    Marsault

    Hello Srini,

    Thanks for your reply.

    In fact, we have 6 guests within the hour a dashboard.

    1. market Department

    2. Ministry of health

    3 Plastica

    4.Department.

    5 year

    6 months

    1 to 4 are in a hierarchy and year/month in a hierarchy.when, we use all prompts limit values does not.

    Finally, we came to know that when we use the values limits of all prompts will work for a single hierarchy. So, we created 2 dashbord guest for this scenario.

    Kind regards

    Marsault

  • Question of hierarchy OBIEE 10 g

    Hi all


    I created a hierarchy (manually) in OBIEE 10 years G Level.For example, quarter, month, and day.

    All are workinig fine, but when break through us year quarter, it will take at the level of the child. Yet once the level of the year presents hyperlink in the cumulative process.

    I want yet rollup at the level of the year.

    Can you help me please on this.

    Thank you
    Sunil

    Take a good look and this expected behavior.
    Suppose that you pulled the year and click on it
    Quarter of the year
    both get hyperlink
    If you click on the year
    Year months Qtr

    If you click Qtr in above cases
    Year months Qtr

    Hope this is clear.

    Check if help

  • Need help... There's a prompt on the year, but he has to shoot another

    There is a prompt on the year, but he has to shoot coloumn another say like quarter_desc not on the year coloumn, how do slove this problem.

    Thanks in advance.

    Hello

    Assuming you have quarter and year invites.
    1. in the first prompt, create a presentation at the quarter prompt variable.
    2. in the second guest in the sql logic, write a similar query
    {Select the year of subject_area where quarter=@{pres_var}

    Hope this helped / replied

    Concerning
    Young

  • Hierarchy colum invites

    Hi all

    I have the hierarchy column in dashboard prompt.

    My requirement is report must change based on my selection of the column hierarchy.

    answer as soon as possible.

    Thanks in advance.

    Hi RR,.

    GoTo tab on your report criteria.

    Select the step of selection icon (down arrow left green color).

    And then under selection steps, change your hierarchy column (start with column name).

    In the new window select the level higher in the hierarchy and check in the editable with the command prompt box.

    Try it will work.

    Thank you
    Sara

  • Quarter filter based on the selected month

    Hi all

    I need to filter the report with quarter based on a period in the report guests.

    The user selects the name of month in prompt report, the report should show the information of quarter data falling from the chosen month. I used the subreport that provide a quarter of the month. This degrades performance report, so I need a solution to find a quarter of the month in the filter of the report itself. Can anyone provide an idea on that?

    Well, now that I know the syntax, it should work for you:

    Assumptions: "month" is in the format "LUN - AA' (DEC-11); quarter is in the format "YYYY Q M" (2012 Q 2);

    Here are the pieces of the CASE statement...

    LEFT (' @{pv_month}', 3)... allows at least 3 letters ("Jan", "Feb", etc.) of the selected month...

    .. Right('@{pv_month}',2) .save the month selected two-digit year...

    Cast (Right('@{pv_month}',2) AS INTEGER)... .converts as a whole two-digit year. It is how we use the year in a calculation to determine the correct exercise when the month is September, October, November or December. In this case, (11) two-digit year is less than the tax (2012) year.

    Here are the facts:

    Q-11 MAY 2011 3 MAR-11
    JUN-11 AUGUST - 11 2011 Q 4
    SEVEN.-11 TO 11 - NOV 2012 Q 1
    DEC-11 TO 12 FEBRUARY 2012 Q 2
    etc...

    The above represents an exercise. As you can see, for the months from March to August, the exercise is the same as the selected year (all that is needed is to convert the year to two digits of a four-digit year).
    When the month is seven, Oct or Nov, the year must be incremented by 1. Month Jan and Feb, exercise is identical to the year chosen, but Dec must be dealt with separately, because even if exercise is the same as Jan and Feb (2) year should be incremented.

    Gather all this logic, you get the following:

    BOX WHEN IN LEFT('@{pv_month}', 3) ('SEP', 'OCT', 'NOV') THEN '20'. Cast (Cast (Right('@{pv_month}',2) AS INTEGER) + 1 AS CHAR). "Q 1'
    OTHER CASES WHEN leash (' @{pv_month}', 3) = 'DEC' THEN '20'. Cast (Cast (Right('@{pv_month}',2) AS INTEGER) + 1 AS CHAR). "Q 2'
    On the OTHER BOX WHEN IN LEFT('@{pv_month}', 3) ("JAN", "FEB") THEN '20'. Right('@{pv_month}',2) | "Q 2'
    OTHER CASE WHEN LEFT('@{pv_month}', 3) IN ('MAR', 'April', 'MAY') THEN '20'. Right('@{pv_month}',2) | "Q 3'
    ANOTHER BOX WHEN IN LEFT('@{pv_month}', 3) ("JUN", "JUL", "Aug") THEN '20'. Right('@{pv_month}',2) | "Q 4'
    END END END END END

    This will give you a quarter based on the selected month. You can use in the filter (Advanced > convert this SQL filter) and apply it on your column 'quarter '.

    WARNING: I did at home in order to check the syntax...

  • Reg:-quarter of previous year

    Hi all

    I would appreciate if you could help me here.

    I have a column quarter, to help I can select quarter or current selection prompt.
    but my requirement is I want to have the quarter of the previous year in the selected neighborhood outside of the column at the level of the State quarter in order to CALCULATE THE VARIANCE.

    Once selected the current quarter the second column should show the previous year same quarter qtr.

    for example:
    The quarter - year in the first quarter
    ----------------------------------------------------------
    Q1-2001-Q1-2000 (last year)
    Q2-2001-T2-2000

    Can achieve us at the level of report.

    Hello

    Try using obiee expression date see below

    create aliases in you're physical layer and store the values

    District:

    provable:

    'GPC_DataMart '. "" "" GPC_DataMart '. "" """dbo"."" "" "LQ_Position '." " Business_Date "= TIMESTAMPADD (SQL_TSI_DAY,-(1), TIMESTAMPADD (SQL_TSI_DAY, DAY_OF_QUARTER ("GPC_DataMart"". ")))" "" "GPC_DataMart '." " """dbo"."" "" "MT_BUSINESS_DATE '." " Business_Date") *-(1) + 1,"GPC_DataMart ". "" "" GPC_DataMart '. "" """dbo"."" "" "MT_BUSINESS_DATE '." " Business_Date'))

    For more information, please visit:

    http://obieeelegant.blogspot.com/2011/06/OBIEE-date-expressions-reference.html

    Thank you

    Deva

Maybe you are looking for

  • HP DV6 Question Quad (RAM upgrade)

    Hey guys,. Here's my laptop. I get conflicting documents on what exactly I can move the RAM to. On these forums, poster says he can be upgraded to 16 GB. However, Crucial and the documentation just says HP 8 GB I think. Anyone has any experience with

  • Help non-profit looking for MS License

    I work for a non-profit that seeks to set up a computer lab to help people with autism learn to communicate via the software.  The software needs windows.  Computers that are given to us are of old Pentium 4 and I don't think they will be able to run

  • Connection Wi - Fi, direct tcp/ip with the internal IP address

    Hi all I hope that someone has been able to do successfully before and knows the answer we've been beating our heads for days on it.  We have read the publication on the wireless Internet, as well as the other threads and tried various implementation

  • BSOD driver State failure when you watch the video

    I got BSOD pilot State failure whenever I watched the video after 1 or 2 hours I'm not a pro so I don't know what to do with the minidump, here's my minidump files files:https://SkyDrive.live.com/embed?CID=8199191289DEAD64&RESID=8199191289DEAD64%2110

  • BlackBerry Smartphones cannot install Blackberry Desktop Manager

    Hello I have a problem which, for the last two days, I can't solve. I can't install the Blackberry Desktop Manager 7.1 on my Ultimate de Windows 7 64 bit laptop. During the last moments of the installation, I get this message: "Error 1935 Assembly co