OBIEE 11 g Date between guest in different columns

Hello

I did, between guest day in Obiee by using this statement: link. It works well, but I need to manipulate different in a different column, for example:

Data source values:

100 2009

100 2010

100 2011

100 2012

100 2013

Guest (what I choose in the analysis)

StartDate: 2011

EndDate: 2012

Results of the analysis (sum):

Column A column B

200 400

Explanation of the results: column A contains the sum of 2011 and 2012, it is ok and works well. My problem is the B column; I want to use prompt EndDate, but ignore the prompt StartDate, the result should be 400 (2009:100 + 2010:100 + 2011:100 + 2012:100).

Do I need to use this prompt EndDate in colum of B?

I found the solution! Here it is if anyone else have the same problems:

1. create guests: startdate and enddate

2. then call created invites in the formula editor:

FILTER ("some". "WITH something' ('time'". "the dimension' between 2000 and @{enddate})))"

FILTER ("some". "WITH something' ('time'". "between dimension' @{startdate} and @{enddate})))"

Tags: Business Intelligence

Similar Questions

  • Divide the data in row in different columns

    Hi all
    I have a table with a column as below.
    col1
    ------------
    / shared
    / shared/dashboard invites you
    / shared/dashboard of the guests/statistics_from_to_p
    / Shared/Filters
    / Shared/Filters/_filters
    / shared/Summary Reports
    / shared/reports/age_gender_r summary
    / shared/TRC explore _portal/edge/DB tables / dashboard layout

    Here, I want to split these data delimited by "/" and the need to show as below. I tried with substr and instr functions, but I could not achieve.
    col1 Col2 col3 col4 col5 col
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    / shared shared null null null null
    / shared/dashboard guest shared Dashboard prompt null null null
    / Shared/Dashboard Dashboard shared guests/statistics_from_to_p invites statistics_from_to_p null null
    / Shared/shared Filters filters null null null
    / Shared/Filters/_filters shared filters _filters null null
    / shared/Summary Reports shared null null null Summary Reports
    / Shared/Summary reports/shared age_gender_r null null age_gender_r summary reports
    Explore _portal/edge/DB tables layout / dashboard/Shared/TRC shared _portal TRC dashboard layout of dashboard Explorer tree
    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Appreciate your help.

    Thank you.
  • Fill in the data in terms of different columns no lines?

    Hello world

    My version of DB is

    BANNER

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

    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

    PL/SQL Release 11.2.0.1.0 - Production

    CORE 11.2.0.1.0 Production

    AMT for 64-bit Windows: Version 11.2.0.1.0 - Production

    NLSRTL Version 11.2.0.1.0 - Production

    Now, if I want to see number of carpenters in a month individual per year on the emp table and then

    Select to_char(hiredate,'MON/YY') as MONTH_YEAR, count (*) as no_of_joiners of the emp by to_char(hiredate,'MON/YY') group.

    No it will return the month/year and not carpenters during this period.

    But I want to fill the same data that "each month will be a separate column and no value of carpenters will appear in the relevant month/year column»

    How can I do?

    Kind regards

    BS2012.

    Hi Frank,.

    I have it. Please check on the following query. Hoooooaaaaaa

    SELECT count)

    CASE

    WHEN TO_CHAR(HIREDATE,'MON/YY') = "JAN/81 '.

    THEN (SELECT COUNT (*) AS NO_OF_JOINERS FROM EMP WHERE TO_CHAR(HIREDATE,'MON/YY') = ' JAN/81 ' ") END) AS"JAN/81",

    count)

    CASE

    WHEN TO_CHAR(HIREDATE,'MON/YY') = "FEB/81 '.

    THEN (SELECT COUNT (*) AS NO_OF_JOINERS FROM EMP WHERE TO_CHAR(HIREDATE,'MON/YY') = ' FEB/81 ' ") END) AS"FEB/81",

    count)

    CASE

    WHEN TO_CHAR(HIREDATE,'MON/YY') = ' MAR/81 '.

    THEN (SELECT COUNT (*) AS NO_OF_JOINERS FROM EMP WHERE TO_CHAR(HIREDATE,'MON/YY') = ' MAR/81 ' ") END) AS"MAR/81",

    count)

    CASE

    WHEN TO_CHAR(HIREDATE,'MON/YY') = ' APR/81 '.

    THEN (SELECT COUNT (*) AS NO_OF_JOINERS FROM EMP WHERE TO_CHAR(HIREDATE,'MON/YY') = ' APR/81 ' ") END) AS"APR/81",

    count)

    CASE

    WHEN TO_CHAR(HIREDATE,'MON/YY') = ' CAN / 81'

    THEN (SELECT COUNT (*) AS NO_OF_JOINERS FROM EMP WHERE TO_CHAR(HIREDATE,'MON/YY') = ' CAN / 81') END) AS "CAN / 81",

    count)

    CASE

    WHEN TO_CHAR(HIREDATE,'MON/YY') = "JUN/81 '.

    THEN (SELECT COUNT (*) AS NO_OF_JOINERS FROM EMP WHERE TO_CHAR(HIREDATE,'MON/YY') = ' JUN/81 ' ") END) AS"JUN/81",

    count)

    CASE

    WHEN TO_CHAR(HIREDATE,'MON/YY') = "JUL/81 '.

    THEN (SELECT COUNT (*) AS NO_OF_JOINERS FROM EMP WHERE TO_CHAR(HIREDATE,'MON/YY') = ' JUL/81 ' ") END) AS"JUL/81",

    count)

    CASE

    WHEN TO_CHAR(HIREDATE,'MON/YY') = "AUG/81 '.

    THEN (SELECT COUNT (*) AS NO_OF_JOINERS FROM EMP WHERE TO_CHAR(HIREDATE,'MON/YY') = ' AUG/81 ' ") END) AS"AUG/81",

    count)

    CASE

    WHEN TO_CHAR(HIREDATE,'MON/YY') = ' MS/81 '.

    THEN (SELECT COUNT (*) AS NO_OF_JOINERS FROM EMP WHERE TO_CHAR(HIREDATE,'MON/YY') = ' MS/81 ' ") END) AS THE"SEP/81",

    count)

    CASE

    WHEN TO_CHAR(HIREDATE,'MON/YY') = "OCT/81 '.

    THEN (SELECT COUNT (*) AS NO_OF_JOINERS FROM EMP WHERE TO_CHAR(HIREDATE,'MON/YY') = ' OCT/81 ' ") END) AS"OCT/81",

    count)

    CASE

    WHEN TO_CHAR(HIREDATE,'MON/YY') = "NOV/81 '.

    THEN (SELECT COUNT (*) AS NO_OF_JOINERS FROM EMP WHERE TO_CHAR(HIREDATE,'MON/YY') = ' NOV/81 ' ") END) AS"NOV/81",

    count)

    CASE

    WHEN TO_CHAR(HIREDATE,'MON/YY') = "DEC/81 '.

    THEN (SELECT COUNT (*) AS NO_OF_JOINERS FROM EMP WHERE TO_CHAR(HIREDATE,'MON/YY') = ' DEC/81 ' ") END) AS"DEC/81 ".

    FROM EMP;

  • How to get the value of EV - the diiference between two different columns

    Hello
    I get the difference between the two different columns of two different... as tables (emp.sal - dept.comm)... all I want is I need only the records that a negative gap how get this? Please help me
    Thanks in advance

    If I understand your question right:

    select
      case when emp.sal-dept.comm>=0 then YOUR_VALUE
             else emp.sal-dept.comm
      end difference_value
    from emp,dept...
    

    or do you want to:

    select
      ...
    from emp,dept...
    where emp.sal-dept.comm<0
    

    ?

    Kind regards
    Sayan M.

    Published by: xtender on 19.11.2010 22:29

  • Create model XMLP for lines in 2 different columns?

    Hi all, is it possible to create a model of XMLP which shows the same group of data, but in 2 different columns, i.e. the left column display (say) first 10 lines and the right column display lines of the 11th-20th?

    The XML source contains only the total number but no individual line number.

    Thank you very much!

    I have 2 columns of the table.
    And in each column of a table. Round table can have at a time for each

  • Can I set up custody of data between databases already available on two different servers?

    Hi, people

    Can I set up custody of data between databases already available on two different servers? If Yes please can you share the links.

    Host operating system: business Red hat Linux 6.5, 64-bit

    The two DB: Oracle 11.2.0.1

    Thank you

    But my question is that I have already two databases running on two different servers that have different data as well.

    In this case we can able to configuration data guard on these two databases.

    The answer may well be yes or no depending on what exactly you mean. Let me explain... Suppose that my Setup matches your description. I have two database servers, we will call them HOST01 and HOST02. HOST01, I have a database named ORCL1 and HOST02 I have a totally different database named ORCL2. Two databases... two hosts.

    Can I do ORCL2 a physical database ensures for ORCL1? The answer is no, I can't. I can't use another existing database to be one physical standby of another. ORCL2 must be destroyed and ORCL1 copied to HOST02 so that I have a database of duplicate.

    Can I use ORCL2 logical waiting for ORCL1? Yes. However, it would be a rare configuration.

    Can I copy ORCL1 to HOST02 and create a physical standby of ORCL1 on HOST02? And then can copy ORCL2 to HOST01 and HOST01 to provide a physical standby for ORCL2? The answer to both is Yes. You can have the other provide a standby for the guests of the database have sufficient resources to support the primary one and the expectation of the other.

    HTH,

    Brian

  • Display the default value between Dates in guest of dashboard

    OBIEE 11 g

    My users would say the default values shown in my dashboard of the guests. So far, I have created a guest of Dashboard using between operator for dates between CURRENT_DATE - 7 and CURRENT_DATE through SQL results. However, when the dashboard is running the date fields are blank and have not of these dates. Does anyone know how to get these to display. Thanks in advance.

    Instead of current_date-7 you can try with timestampadd(SQL_TSI_DAY,-7,current_date) and
    TIMESTAMPADD(SQL_TSI_DAY,0,CURRENT_DATE)

    It should work.

  • How can I get the lines for the date between 2 different days

    Hi all,

    How can I get the lines for the date between 2 different days.

    Sample data:
    Table name: Articles
    Title start_date end_date
    Heading1 08-22-2011 2011-09-11
    2011-08-01-2011-09-01 Title2
    Title 3 2011-08-21 08-21-2011
    title4 2011-08-28 2011-09-11

    Result will be:
    Title start_date end_date
    Heading1 08-22-2011 2011-09-11
    2011-08-01-2011-09-01 Title2
    title4 2011-08-28 2011-09-11

    This is my example query:
    SELECT * FROM items WHERE trunc (es.date_start) > = TO_DATE('2011-08-22', 'YYYY-MM-DD') AND trunc (es.date_end) < = TO_DATE ('2011-08-28', 'YYYY-MM-DD')

    but I can not get the expected results. Any help would be much appreciated.

    Thanks in advance

    not read your question properly before...

    Please try this

    Select * FROM items
    WHERE (TO_DATE ('2011-08-22', 'YYYY-MM-DD') between TRUNC (es.date_start))
    AND TRUNC (es.date_end)) OR
    (TO_DATE ('2011-08-28', 'YYYY-MM-DD') between TRUNC (es.date_start))
    AND TRUNC (es.date_end))

  • Mapping data between BI and another Oracle module

    Hello

    I'm working on a project for a Government of a county of Florida. We have a problem with project accounting R12 data match with OBIEE 11g database. It is more of a field of marking problem than a problem of integrity of data - for example, 'Customer number' in the accounting of the project is clearly a different data set than 'Customer number' in BI. We know the same data exists in BI but we do not know what it is called and therefore how interrogate him for reporting purposes. Why data marking is so messed up, I can't say, but I was in charge of mapping 'Customer number' (and everything else) in project accounting to the equivalent of the BI field. Supposedly this mapping does not already exist (which seems impossible since someone set up the flow of data between the two parts of the system at some point!). I hope someone can recommend an approach that doesn't end up being heavy and manual. Thank you!

    Warm greetings to all,

    John

    https://support.us.Oracle.com/OIP/faces/secure/km/DocumentDisplay.JSPX?ID=1274680.1#BODYTEXT

    OR

    Oracle Business Intelligence Applications ETL Data Lineage Guide version 7.9.6.2 and 7.9.6.3 [ID 1274680.1]

    Check this box... It gives you a document of data lineage... Mapping between source and target stage and...

    It certainly helps you the way that you look.

    MAK is useful if it helps...

    Kind regards
    Rayan Vieira

  • Share data between a PC host and NEITHER sbRIO-9626 connected by Ethernet


    Hi Sophiec,

    In fact, shared Variables are a good way to share data between a host and a target. However, this is not the only way for data sharing.

    On the follow-up document, you will find different ways to do it: http://digital.ni.com/public.nsf/allkb/48D244EC86971D3986256BD4005CCC28 as:

    Shared variables
    TCP
    UDP
    DataSocket
    Other methods of Communication

     

     

    I hope this will help!

     

     

  • Sharing data between multiple while loops, competitor rates

    Hello

    I am trying to Exchange data between competitor while loops running at different speeds.  What is the recommended way to do this?    In practice, I have 12 indicators and 3 cards I would update (on screen) in the slower loop, although the data acquired and stored on disk in the fastest loop.  The image below is a simplified version of what really works my candidacy.

    I currently use local variables and shared to achieve this.  I heard however that local variables are evil because of their use of memory (data are copied instead of who passed by reference).

    Thanks for your suggestions,

    Adam

    Hi Adam,.

    Yes, here you go.

    Mike

  • Pass data between panels

    I have a digital slide on a Panel. When I move the cursor, I need the value update on another Panel.

    How can I do this?

    The two panels are loaded as a senior-level windows.

    It seems that I read something on the use of queues to pass data between the panels, but I can't seem to find where I read that.

    A basic concept that differentiate the CVI to other languages, it's that there is no relationship between a sign and a specific source file. I mean, you do not need to put a sign functions in a specific source file: they can be spread over multiple sources; Conversely, you might have a source only that collects reminders for all panels of files in your application. What readers recall execution are Panel handles and control ID. (One effect of this paradigm is, you might have a reminder installed on controls on different panels).

    For this reason, there is no problem by putting the cursor callback in panel1.c. In addition, you can call the file source in a different way.

    Arriving at the base of your problem, a DAQ multithreaded application is really different from a UI single-threaded application.

    Put the functions of data acquisition in a separate thread can be beneficial for your application, because they are not likely to suffer user interface events.

    CVI provides also the different methods of transmission of data between threads. the most powerful in data acquisition applications is probably a Thread Safe queue.

    I suggest you look at Programmer's Reference > chapter of the creating multithreaded Applications to aid, where the basic principles of programming are explained multithreaded and information are provided on all instruments CVI includes.

    If you want to discuss on this scenario, I suggest yu to start a new thread, as it has nothing to do with the original question with which you started this discussion.

  • Problems of access to data between threads

    I have a singleton who has a painting I want to access it from multiple threads.  I set the table as volatile and initialize it to certain values when you create the singleton.  When my application starts, I create a thread that periodiclly checks that the user made and adds values to the table.    I have a screen displaying, it lists all values in this table.  The wire and the screen become two different instances of singleton.  Entries added in the thread do not appear on the screen.  Any time, the display shows it shows what the table is when the object is first.  When I debug this, all calls the screen makes the get the array of the result singleton in it being created.  Is not possbile to share data between threads?

    Here's how to create the instance on the singleton:

    private static volatile DataAccess instance = new DataAccess();

    I created a simple java file that creates three threads and uses the same object that I use in the blackberry app and everything works fine.  Is there something particular aboue screens that makes them not nice game with wires?

    Thanks for your suggestions.

    runtimestore is used for exactly that. I don't know of another way to share. You can communicate using world events and have other options, but runtimestore is the easiest.

  • vMotion between hosts on different subnets

    Before you start, I'm a network engineer, not a server guru, please bare with me

    Is it possible to vMotion a virtual machine to a host on an IP network to another host, on a different IP network?

    Example:

    Data Center 1 - 10.1.1.1/24 with VM in the 10.1.2.0/24 ESX Server

    Same city, different site, binding fiber 10 GB between facilities 2ms latency

    Data Center 2 - 10.2.1.1/24 in the 10.2.2.0/24 with VM ESX Server

    Scenario:

    vMotion a computer virtual network 10.1.2.0/24 to the 10.2.2.0/24 network where virtual machine, on arrival on the ESX 2 data center server, now uses a IP address of 10.2.2.0/24.

    Any guidance towards a white paper or a guide would be greatly appreciated.

    Thank you all for your time.

    -Chris

    Network engineer

    Press Ganey Associates

    vMotion is possible between hosts on different subnets, but unless your discussions presented to the virtual machines are on the same subnet, you will eventually drop the virtual machine on a VLAN different and IP addressing will fail.

    There are ways around this, you could script the change of IP address / present several IP addresses of the virtual machine / or reservations DHCP to use, but you will need to ensure DNS etc. records are updated.

    If you have some kind of load balancer, you could in theory balance workloads on 2 IPs hosted on the same VM, to solve the network ip address issues, although in the end, you'll want a VLAN tended to port VM coverage groups.

    Good luck

  • Copy data between the custom dimension members or scenario

    Dear Experts,

    I'm back with my silly question.
    Is there anyone know how to copy all the data (not only entity currency) between members in the custom dimension? Our HFM application has a different type of data because the type declaration (legal and audit). Whenever we arrived with our legal data, we copy our legal consolidated data for verification. We tried to create a formula (using hs.exp) to move data from legal to check, but apparently, this formula should be write inside Sub calculate (). Is not supposed, we do not want to run the copy data every time that the user click on calculate.

    We also perform copy data between the scenario, as actual to Budget. This activity also needs all the data consolidated and final.

    So the condition for the copy of data are:
    -data must be consolidated
    -Copy all the data, including the adjustment

    Is there a formula or a way to copy the data that can be triggered individually (click 1 rules that run only copy data) by the user?

    Thank you very much for your kind response,
    -Anna

    Hi Anna,.
    As you say, you cannot trigger different parts of rules to run in HFM. Instead, you use a condition. In your case this condition might be guided by the management of the process. You can use a combination of GetSubmissionPhase, review status , and ReviewStatusUsingPhaseID functions that returns the current process management level and presentation details: phase. To me, it seems that as soon as you have finished legal, you complete a part of your process cycle and enter another stage of verification. Here are the parts of your publishing process, if you have defined a process in HFM management or not, which means that you should consider using it.

    -Kostas

Maybe you are looking for