|
INTERVIEW QUESTIONS
DATA WAREHOUSING
BUSINESS OBJECTS
DETAILS
Question: Product date sales p1 20/Jan/1999 100 p1 20/Feb/1999 200 p1 20/apl/1999 100 p1 20/DEC/1999 50 p1 20/Jan/2000 100 p1 20/mar/2000 500
now i want query like product ,sum of actual year ,sum of business year p1 450 750
here actual year means 1 Jan 1999 to 31 st Jan 1999 business year means 1 st APR 1999 to 31 st mar 200
Answer: Guess you can try this
(select product,sales S_A_Y from info where date >= 1 st Jan 1999 & date =< 31 st Jan 1999 groupby product) sal1 , (select product,sales S_B_Y from info where date >= 1 st Apr 1999 & date =< 31 st Mar 2000 groupby product) sal2 where sal1.product=sal2.product ;
|
|
|
Category |
Business Objects Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.3) By 7409 users |
Added on |
7/27/2011 |
Views |
72372 |
Rate it! |
|
|
Question:
Product date sales p1 20/Jan/1999 100 p1 20/Feb/1999 200 p1 20/apl/1999 100 p1 20/DEC/1999 50 p1 20/Jan/2000 100 p1 20/mar/2000 500
now i want query like product ,sum of actual year ,sum of business year p1 450 750
here actual year means 1 Jan 1999 to 31 st Jan 1999 business year means 1 st APR 1999 to 31 st mar 200
Answer:
Guess you can try this
(select product,sales S_A_Y from info where date >= 1 st Jan 1999 & date =< 31 st Jan 1999 groupby product) sal1 , (select product,sales S_B_Y from info where date >= 1 st Apr 1999 & date =< 31 st Mar 2000 groupby product) sal2 where sal1.product=sal2.product ; Source: CoolInterview.com
try this one select product, sum(case when (date between 1-jan-1999 and 31-jan-1999) then sales) else 0 end "Actual Sales", sum(case when (date between 1-Apr-1999 and 31-Mar-2000) then sales) else 0 end "Business Sales" from table where date condition group by product Source: CoolInterview.com
Answered by: sridhar reddy | Date: 7/19/2010
| Contact sridhar reddy
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
How we drill up week to Month?
|
View Answer
|
|
I would like to know if Business Objects can be installed on Solaris server. If no is their a way were in I can install BO on windows(Microsoft server) and interface it with Solaris (solaris has the crystal reports).
|
View Answer
|
|
Currently I am sending the report to users in excel format,if there is no data also the report will be sent,Is there any option in BO to stop report from being sent if there is no data in the report?
|
View Answer
|
|
How to break a Date field into Year, month, week,day?(For example: I have a field INVOICE_DATE. Now i want to break it as Year, month..... i.e. in time dimension.) DO i need to have some changes in Universe?
|
View Answer
|
|
What is the dense rank?
|
View Answer
|
|
Can someone please let me know the things we can do in WEBi and cannot do it in FULL CLIENT and vice versa for BO6.5
|
View Answer
|
|
Can you please clarify the difference between compatible and incompatible objects?
|
View Answer
|
|
Can you please clarify the difference between compatible and incompatible objects? when we will use these two?
|
View Answer
|
|
Can someone please give some information on REPORT BURSTING and how to do it in BCA as i have to split the report and send diff reports to diff people
|
View Answer
|
|
What is thumbnail?
|
View Answer
|
|
What is Nested prompt and how to create this prompt?
|
View Answer
|
|
Is there any tool that can compare two Unvs / two Rpts , built using BO 5.1 / BO 6.5 ?
|
View Answer
|
|
How Do U Create Report in BO,If given Fixed length file ( Notepad) as source?
|
View Answer
|
|
What is a fantrap in Business Objects?
|
View Answer
|
|
i have some queries that i have one project in bussiness objects, like computer pheripheral(nrps) for sales, in that i have face question like what is the main objectives of ur projects
|
View Answer
|
|
In the BO universe, how to link two universe, like i have one universe in sales.uni and another is marketing.uni
|
View Answer
|
|
How to select different data providers in business objects?
|
View Answer
|
|
How to execute the plsql procedure from the report by clicking with mouse
|
View Answer
|
|
What is a derived table in data warehousing?
|
View Answer
|
|
How to generate the report from excel sheet?
|
View Answer
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All Business Objects Interview Questions & Answers - Exam Mode /
Learning Mode
|