Time Only based reports
Post Author: Theron
CA Forum: Desktop Intelligence Reporting
How do i write a report based only on time (no DATE)? The two reports I require are (1) what time do Service Calls come into the Service Desk (7-8am, 8-9am, 9-10am etc. - again, date is irrelevant). I am hoping for a chart that has number of service calls on the Y axis and the time broken down by hour on the X axis. (2) is similar to (1) but i want a breakdown of how many calls come in to the Service Desk between the hours of 3:30pm-7:30am (I'm sure i can figure this one out if I get the information for (1).
The problem I am finding is that I cannot separate the date from the time; I simply need a report that has number of services calls and the time (ex 08:00) it was entered. Every variable or calculation I try seems to refer back to the date (even if the date is not showing) and therefore treats each ID separately even though the cell may only show (08:00); I have tried reformating the cell, trim, Concatenation, daysbetween. I have even tried a "IF" variable:
= If <Creation date (Date & Time)> Between ('10/17/2006 08:00 AM' ,'10/17/2006 09:00 AM') Then "8-9AM"
This works however I would have to enter this in for every day and each time frame. The wildcards (*, ?, %) do not seem to work for dates.
I am using BO XI / DI 11.5
Post Author: jsanzone
CA Forum: Desktop Intelligence Reporting
Theron,
IMHO, I would say to parse the time portion from your date field to another column within your database. The date and time is coming across to the Business Objects application, however, there is no function to parse out the date and time like you would expect, so you must turn to the SQL engine to get the work done. You mentioned the version of BO and DI you're using, but it is also imperative to know the SQL vendor in order to implement properly (unless DI has the ability to parse the time for you, but I don't know being that I don't use DI). If you are working on SQL server, then here is an example of getting the time (HH:MM) portion from a date type:
select substring(convert(char(19),getdate(),120),12,5)
If you wanted to generate a short list of time breakdowns, then you might consider this method:
case when substring(convert(char(19),getdate(),120),12,2) between '00' and '07' then 'Midnight to 7 AM'when substring(convert(char(19),getdate(),120),12,2) between '08' and '09' then '8 to 9 AM'when substring(convert(char(19),getdate(),120),12,2) between '10' and '11' then '10 to 11 AM'when substring(convert(char(19),getdate(),120),12,2) between '12' and '13' then 'Noon to 1 PM'when substring(convert(char(19),getdate(),120),12,2) between '14' and '15' then '2 to 3 PM'when substring(convert(char(19),getdate(),120),12,2) between '16' and '17' then '4 to 5 PM'when substring(convert(char(19),getdate(),120),12,2) between '18' and '23' then '6 PM to 11 PM' else '' end
Similar Messages
-
Report background engine show only one report at a time
Hi
My operating system is Xp
Developer version is 6I
database 10g
i am runing report through form with run_product
When i run one report its show in background engin Preview i don't want to close this report
and i run 2nd report then its show waiting in preview i want to run 2 or more reports at a time
Regards
Shahzaib ismailShahzaib,
In Oracle 6i, you can open only 1 report at a time. As far as i know, there is no option to show more than 1 report.
Regards,
Manu. -
Key figures in Cost elemnt based report
Dear All,
I have created a Cost Element based Report for the Project using report painter. In this same report, I want to pull a key figure(the key figure is 'remaining forecast planned costs") which is coming from cost forecasting report (Report 12CTC1 from transaction CJE0).
The issue is this 'key figure' is not available for report made in report group 6P3(report group for cost element based report). Is there anyway I can pull this particular key figure in my report.
Thanks in advance !
Regards,
Mahendra DigheAlso if you're using HR data, the employee data is time dependent, so that for each employee number there are any number of records. This may be causing the aggregate reporting condition that you mentioned. In BW it's important to recognize that the master data also can play a role in how many records are returned. The infoprovider is not the only source of additional records. For example:
Employee has three records in the time range.
Salary infoprovider has only one.
Results will contain THREE records, one for each employee record, all with the same salary record. On an aggregate basis, the salary results will be multiplied by three.
Time dependent master data can be a source of much confusion. For some HR reporting, I have created a 'most current' employee master data record that is not time dependent, and is loaded daily. I then use that for data models such as salary or other separate infoproviders. -
Key figures in cost element based report
Dear All,
I have created a Cost Element based Report for the Project using report painter. In this same report, I want to pull a key figure(the key figure is 'remaining forecast planned costs") which is coming from cost forecasting report (Report 12CTC1 from transaction CJE0).
The issue is this 'key figure' is not available for report made in report group 6P3(report group for cost element based report). Is there anyway I can pull this particular key figure in my report.
Thanks in advance !
Regards,
Mahendra DigheAlso if you're using HR data, the employee data is time dependent, so that for each employee number there are any number of records. This may be causing the aggregate reporting condition that you mentioned. In BW it's important to recognize that the master data also can play a role in how many records are returned. The infoprovider is not the only source of additional records. For example:
Employee has three records in the time range.
Salary infoprovider has only one.
Results will contain THREE records, one for each employee record, all with the same salary record. On an aggregate basis, the salary results will be multiplied by three.
Time dependent master data can be a source of much confusion. For some HR reporting, I have created a 'most current' employee master data record that is not time dependent, and is loaded daily. I then use that for data models such as salary or other separate infoproviders. -
Extremely slow performance in comparison to RDC-based report
Today our application uses the Crystal Reports RDC. In the last
ten years we have made good experience with Crystal Reports.
In the next few months we want to migrate our application to
JAVA.
Because the reports offer a great reuse-potential, we would like
to implement them via CR4E.
But during the first benchmark tests we made a very bad experience.
Running (Printing) in CR4E the reports needed from 20 up to 480 percent
more time in comparison to the RDC-based reports.
When using POJOs need from 25 up to 570 percent more time.
When printing the reports from within the CR2008 designer there is
no performance difference.
The reports have from 4 to 82 pages.
We didn´t expect such a huge performance difference.
Is CR4E in general slower than the RDC-based Crystal Reports?
Or are there any parameters in CR4E in addition to the RDC-based
solution for tuning the reports?
Edited by: Rainer Graedtke on Nov 9, 2009 2:44 PMHi Ted,
thanks for the fast response.
Is there another "datasource option" with better performance than POJO?
In the upcoming JAVA-version of our application we would like to "feed"
our reports from memory, not from the underlying database.
One more statement concerning our performance problem:
In our reports we make extensive use of subreports.
Each report has the minimum of two subreports, one for the pageheader,
one for the pagefooter.
This is necessary because we have changing headers and footers
depending on the contents of the details.
The report with the largest performance loss contains 29 subreports!
RDC-based it prints in 10 seconds, Java-based we need over 50 seconds.
Is there any suggestion how to improve the performance of our reports in
JAVA/CR4E other than reducing the number of subreports?
Another question concerning the keycode-problem:
We have designed the reports in the CR2008 Designer and we want to run
them under CR4E. Is this a valid approach?
Sincerely Rainer
Edited by: Rainer Graedtke on Nov 10, 2009 10:51 AM -
Running a Dynpro-based Report as a Job/in Background mode
Hello,
i've got a report which hasn't got a selection-screen as its startscreen, but a complex dynpro and is based on different start-buttons and not only the "basic" F8/Run-Button. the users still would like to be able to run the report in background mode and as an automated weekly job. moreover they want to use their own configuration/variant for date-fields etc., just like they are used from a selection-screen. is this possible "out of the box" with a dynpro-based report or how can i archive this through my own programming logic?
thanks for your help,
dspHi,
I guess yes, but since you seem to have several processes possible at startup (those buttons), you will have to code a new bit of code at the start of your application. This to choose the correct process... you should have a new statement like
IF sy-batch IS NOT INITIAL.
"Perform batch process
ELSE.
"Perform normal run
ENDIF.
For the variant, I'm not sure to really get the idea... Do the users already use variants with the actual version? or is there no selection screen at all? If not, you should use one and set-up parameters to pre-fill your dynpro fields...
Kr,
Manu -
One Time Only charges in SD-SA and Sales Orders
Hi,
We have a requirement to provide a header surcharge condition in sales order / scheduling agreement for one time only charges. This basically required to throw a lump sum charge on order and charge the customer. User would enter the pricing condition manually whenever required and then once this is entered the full value of condition should be charged on the next invoice that is created, after adding the pricing condition on order.
The challenges that we are facing are:
1. Once the pricing condition is entered on order/SA, standard system would keep on condition in all the subesquent invoices.
2. The amount charged is prorated based on the quantity billed.
3. Any subsequent change of quantity in order results in recalcuation of condition value based on the quantity and might lead to a situation where amount would exceed the actual intended charge.
1. Is there a way to restrict order pricing condition to be copied on to one specific billing document. Once it has been charge should not be charged again on any of subsequent invoices.
2. Whenever the condition is passed to invoice, should be passed with full value.
3. Subsequent changes to order quantity (due to new del. schedule or order change) should not trigger the recalculation of this header condition.
Adding condition in delivery or invoice directly would easily meet the requirement but due to some limitation we have to add the condition at order only.
Can anyone suggest how to approach this problem technically? Is there any enhancement possiblity. Can we create some base value formula/condition value formula to override SAP standard behaviour.
Any help in this regard is highly appreciated. Points guaranteed for helpful replies.
Regards,GajendraSolved myself
-
Ajax based report and pagination
Hi I have searched through the web for ajax based report in Apex. I have found the following link as very useful. http://apex.oracle.com/pls/otn/f?p=31517:98
Here content of one page is pulled to the current page. It works fine. Pagination is also working exactly as the Apex reports. But I was thinking of something different, not pulling the content from other page. I have done it myself as follows.
1. Take an HTML region called Parameter
2. Take a select list in the parameter region with LOV query
name : P2_DEPTNO
LOV : Select dname d,deptno r
from dept
3.Take an HTML region
Source : <div id=ajx></div>
4. Create an Application Item called F103_DEPTNO
5. Create an Application Process
Name : getEmpTable
Source:
declare
v_deptno number(3);
begin
OWA_UTIL.mime_header ('text/xml', FALSE);
HTP.p ('Cache-Control: no-cache');
HTP.p ('Pragma: no-cache');
OWA_UTIL.http_header_close;
HTP.prn ('<table>');
HTP.prn ('<tr>');
htp.prn('<th>Employee Number</th>');
htp.prn('<th>Employee Name</th>');
htp.prn('<th>Salary</th>');
htp.prn('<th>Department</th>');
htp.prn('<th>Job</th>');
htp.prn('<th>Hiredate</th>');
HTP.prn ('</tr>');
foR R in (select empno,ename,sal,deptno,job,hiredate from emp where deptno= :F103_DEPTNO )
LOOP
htp.prn('<tr>');
htp.prn('<td>'||r.empno||'</td>');
htp.prn('<td>'||r.ename||'</td>');
htp.prn('<td>'||r.sal||'</td>');
htp.prn('<td>'||r.deptno||'</td>');
htp.prn('<td>'||r.job||'</td>');
htp.prn('<td>'||r.hiredate||'</td>');
htp.prn('</tr>');
END LOOP;
END IF;
HTP.prn ('</table>');
end;
6. Write a javascript Function in HTML Header
Source:
<script language = "JavaScript" type="text/javascript">
function GetEmployees()
var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=getEmpTable',0);
get.add('F103_DEPTNO',html_GetElement('P2_DEPTNO').value);
gReturn = get.get();
document.getElementById('ajx').innerHTML = gReturn;
get = null;
</script>
7. Go to edit page item of P2_DEPTNO and in HTML Form Element Attributes write onchange="GetEmployees()"
8. Run and test.
Ajax based report works fine.
In the link specified above pagination works fine.
In my example very few records will appear but in case there are a lot of records appear then it is a must to manage it with pagination, letting only a few records to appear in each page. But in my example I have no idea how to manage pagination. Need help from the experts. Please notify..
Regards
Hasan Al Mamun
Programmer
Bangladesh Bank
Dhaka, Bangladesh
Edited by: hasan_al_mamun on Jan 19, 2011 10:58 AM
Edited by: hasan_al_mamun on Jan 19, 2011 11:20 AM
Edited by: hasan_al_mamun on Jan 19, 2011 11:24 AMHi,
You need to work with ROWNUM of result set. Create two hidden items, one for record_start_rownum and other for record_end_rownum. You need to add where clause to your SELECT query in Application process. Then your query will look like
select *
from ( select a.*, rownum r
from ( select empno,ename,sal,deptno,job,hiredate from emp where deptno= :F103_DEPTNO ) a
where rownum < :P1_ record_start_rownum )
where r > :P1_record_end_rownumYou may find following asktom link interesting..
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:76812348057
Regards,
Hari -
Grand Total For Matrix Based Report
Hi All,
I have a matrix based report with Fields like Country ,Amount and MonthYear
So report looks like below the columns get generated dynamically :
Country Oct 2013 Nov 2013 Dec 2013
India 25,000 25,000 25,000
England 22,000 25,000 30,000
Total 57,000 50,000 55,000
So this works perfectly fine . So next step was to get difference between the months like below :
Country Oct 2013 Nov 2013 Dec 2013 Oct-Nov 2013 Nov - Dec 2013
India 25,000 25,000 25,000 0
0
England 22,000 25,000 30,000 -3000
-5000
Total 57,000 50,000 55,000
Simon_Hou Provided me a custom code for dynamically find the difference between months . Now only requirement left is the sum of the dynamically generated month difference column . As the columns are generated based on a custom code it's not allowing me
to do a sum on it.
Desired Output
Country Oct 2013 Nov 2013 Dec 2013 Oct-Nov 2013 Nov - Dec 2013
India 25,000 25,000 25,000 0
0
England 22,000 25,000 30,000 -3000
-5000
Total 57,000 50,000 55,000 -3000
-5000
Can any one please advice me how to do sum for the dynamically generated custom code column .
Code is below it might help some1 else(Simon_Hou)
Private queueLength As Integer = 2
Private queueSum As Double = 0
Private queueFull As Boolean = False
Private idChange As String=""
Dim queue As New System.Collections.Generic.Queue(Of Integer)
Public Function CumulativeQueue(ByVal currentValue As Integer,id As String) As Object
Dim removedValue As Double = 0
If idChange <> id then
ClearQueue()
idChange = id
queueSum = 0
queueFull = False
CumulativeQueue(currentValue,id)
Else
If queue.Count >= queueLength Then
removedValue = queue.Dequeue()
End If
queueSum += currentValue
queueSum -= removedValue
queue.Enqueue(currentValue)
If queue.Count < queueLength Then
Return Nothing
ElseIf queue.Count = queueLength And queueFull = False Then
queueFull = True
Return (queueSum-currentValue-currentValue)
Else
Return (queueSum-currentValue-currentValue)
End If
End If
End Function
public function ClearQueue()
Dim i as Integer
Dim n as Integer = Queue.Count-1
for i=n To 0 Step-1
queue.Dequeue()
next i
End function
Thanks in Advance
PriyaHi Priya,
According to your description, you want to add a total row at bottom of the matrix. This total row should display the both sum of amount every month and the sum of the difference between months. Right?
Since we have tried the custom code in another similar thread you have posted before (Difference
Between the grouped column) and it works properly. In this scenario, we just need to use the sum function and put it as a variable when calling the custom function in custom code, then we will get the total difference between months. This
case has been tested in our local environment (In this sample, we used the same sample data as the last thread you posted before).Here are steps and screenshots for your reference:
1. Add a row out side of group. Put the expressions into corresponding cells.
2. Save and preview. The result looks like below:
If you have any question, please feel free to ask.
Best Regards,
Simon Hou -
Fix on months in time dim based on txt measure value
Hi All,
We have two text measures startmonth and endmonth, how can we fix to the time dimension based on the values of these text measures? e.g. fix (Mar:Dec)
Thanks,
JamesHi James
I am sorry, sounds like you may need to go on some Essbase training. As I said you CANNOT FIX on data that is input.
You need to FIX on ALL period members by using something like @RELATIVE(YearTotal,0), then in your rule write the IF statement so that data is only calculated when the period you are in (The FIX on ALL periods will cycle through all periods) is between the values input by the user (i.e the Start Month and End month values).
An example below is for say a depreciation calculation.
******** "SYS_MONTH" is a member that places VALUES against each period member so that you can compare and match against values that are input i.e like VLOOKUP in Excel, so Jan = 1, Feb=2 ...*************************
FIX(FY13, @RELATIVE("Product",0),@RELATIVE("YearTotal",0)) I don't know you other dimensions that you are trying to calculate against so you will need to add them
"Depreciation"(
IF("Start_Month"->"Input_period"->"Input_Year"->"Input_product" <= "SYS_MONTH" AND "End_Month"->"Input_period"->"Input_Year"->"Input_product" >= "SYS_MONTH")
"Depreciation" = xxxxxxxxxx Code to calculate deprecation ;
ELSE
"Depreciation" = #missing;
ENDIF)
ENDFIX
Imaging you are in a spread sheet with Jan, Feb, Mar across the top and in the far left column you have the start and end month inputs. The calculation will go from left to right and IF the period its calculating i.e the SYS_MONTH member is between the start month and the end month (the 4 and the 11 below) then depreciation will be calculated, if not then #missing, or you can choose not to calculate.
Input_Period
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
SYS_MONTH
#missing
1
2
3
4
5
6
7
8
9
10
11
12
Start_Month
4
End_Month
11
Depreciation
#missing
#missing
#missing
#missing
x
x
x
x
x
x
x
x
#missing -
KE30 - Form Based Report - TDD not appearing
Dear COPA Experts,
I am facing one strange issue with reporting of Top Down Distribution of Actual Data.
After executing Top Down Distribution of Actual Data, i have checked T-Code : KE30 - Form Based Report but it does not shows me distributed data then i have created one more PA report without Form, and this basic report shows me distributed data.
I have checked T-Code : KE24 and found data is accurately posted via TDD :
But is not showing in Form Based Report :
However, it shows in Basic Report :
Please guide me how to get distributed data on Form Based Report ???
Thanks in Advance for your time !!!
Regards,
Zain BashirHello Zain,
I often face similar problems when using form based reports.
The layout which is part of your report (and where the lines and columns are defined)
includes the selections (e.g. within a column) also.
Example:
User does not find values posted on a cost center within the report.
The FI-document shows the cost center but also an SD-order item.
Result: The CC-posting is just a statistical one.
If the layout does not include the statistical posting the report does not present them.
Therefore: I advise to check the layout and the
column-, line- and general selections.
Hope it helps (and that you evaluate).
With kind regards
Thomas -
What are option for cloud based Reporting?
Could you verify that Reporting Services and Performance Point Service cannot be used with O365?
Is it so that have basically two option to implement Microsoft based reporting portal on Cloud? 1) SQL Server on Azure VM 2) Power BI on O365.
Kenny_IHi Kenny_I,
All Office 365 plans include the SharePoint Online service, but not all plans support all SharePoint features. And based on my research, Reporting Services and PerformancePoint Service are not supported in Office 365. For more details, we can refer to the
following article:
http://technet.microsoft.com/en-us/library/sharepoint-online-service-description.aspx
If we want to create reports, we can use Power View feature in Power BI. But the PerformancePoint Services is a SharePoint Server service application, and it only supported in SharePoint Server 2010 Enterprise or SharePoint Server 2013 Enterprise. So we
cannot use it on cloud.
Hope this helps.
Thanks,
Katherine Xiong
If you have any feedback on our support, please click here.
Katherine Xiong
TechNet Community Support -
Cache entry created a long time after the report runs
We have a report that results in more than 300,000 records. We get the results for the report in quick time but the cache entry gets created only after sometime, say around 30 mins later or so. Any idea why this delay? Is it that the report caches 25 records at a time (default no. of rows per page) and shows them in quick time and the rest of the records are getting cached in the background? Is there like a way we can optimize this?
did you check how much time the entire report takes to execute (evn though the first 25 rows comes up quickly). I suspect it is > 30 mins.
OBIEE is not meant as a data dump tool and there is little that could be done. (except better hardware) -
Compare Java based reporting to OBIEE
Hello All,
Due to a lot of misconceptions, my current client thinks that a lot of their problems will be resolved by simply retiring OBIEE and write all the reports in Java.
Some requirements are unrealistic to ask from OBIEE and some are well...limitations.
The client has asked us to give him reasons why he still should be on OBIEE. Has anyone done a comparison of Java based reports and OBIEE (or any BI tool)?
Reasons why OBIEE stands out would also help.
Thanks all!!There are many, many reasons why to use OBIEE. One of the bigger reasons being you don't need to know anything about Java in order to build an Answer Report.
I've been asked a similar question in the past, to compare OBIEE versus Java based ADF. My response is that they have two completely different purposes.
--OBIEE is end-user/middle-user driven dashboards and ad-hoc analysis.
--Java/ADF is for power-users to pre-constructed reporting systems. (forgive me but I don't know the ad-hoc capabilities of Java/ADF)
If your client has full-time java resources to commit to the creation and maintenance of a Java environment, then by all means they should probably go that route. But keep in mind that as new uses want to see different data layouts and different data sets, your java team will quickly become overburdened.
OBIEE relieves the strain on the java (IT) team and allows end-users to drive reporting with the relatively occasional support by IT.
Yes, OBIEE does have limitations, but always keep in mind that a) It's an ad-hoc Dashboard framework and not an ad-hoc java framework which has much greater flexibility but requires much more technical expertise b) There is a major release of OBIEE (11g) just around the corner that is about to change the game in terms of how OBIEE can be used. You should have your client stay on board until they can at least see the new features.
Good luck and if you found this post useful, please award points!
Best regards,
-Joe -
Compare turnover actual month with previous month on monthly based report
Hello Gurus,
please help me with the following requirment:
In have a monthly based report with key figure 'turnover'. Now I want to calculate deviation turnover actual month vs turnover previous month from last year. How to handle this?
Example:
CalYear/Month
01.2010 02.2010 03.2010 04.2010
Turnover 10 20 15 20
Calculated xxxx xxxx xxxx xxx
Thank you very much!
MuammerHello voodi,
it doesn't work. With offset function it shows the turnover only in the columns from last year. I need the turnover from last year in the columns from this year. Any ideas?
Expected:
CalYear/Month
01.2010 02.2010 03.2010 04.2010
Turnover 10 20 15 20
Turnover last year xxxxx xxxxx xxxxxx xxxxx
With offset -12
CalYear/Month
01.2009 02.2010 ... 01.2010 02.2010 03.2010 04.2010
Turnover 20 50 .... 10 20 15 20
Turnover last year 20 50 ... blank blank blank blank
Thank you!
Muammer
Maybe you are looking for
-
I have a canon 5d mark 3 but cant see my photos in lightroom
i have a canon 5d mark 3 but cant get my photos to appear in lightroom.....and all the help topics then revert to photoshop solutions
-
Posted Rebate Sheet forgot Invoice (Back To School disscount)
Hello, I posted my rebate sheet to get money back for my iTouch i got with my Macbook Pro, with EAN Labels, but did not post the correct Invoice for proof of payment, Will i still get my rebate if i send another letter with the invoice? Thanks Harry
-
Transport request organizing report based on package
Can anyone suggest me from which tables i will get all the transport requests, package to which it belongs to, which date it has been created, in which date it has been trasported and modified and to which user id it belongs to.
-
Implementing the HIRE act in SAP US Payroll
Hi Experts, Since the new HIRE Act is a regulatory requirement, customers are demanding patch from SAP 's end to implement in the SAP HR system. Is anyone aware if SAP has already delivered a patch update relevant to this? Regards, Somdeb.
-
From the Seeburger Workbench there is a tab "Mapping Variables" -- Is there a document or a blog entry that discussing reading these values in an operation mapping, and/or using the attribmapper module?