Strange results in reporting
Hi
I ran a usage report for a vCloud hierarchy and I don't understand why I don't get any subresults (see attachment).
Why are the lines for the vApps empty?
When I run a report of the complete month before I do get the subresults, eventhough the VMs were created on the 15th of the month.
Yes, it was purely confusion but very difficult to explain in a post. Send me an e-mail at [email protected]
Similar Messages
-
Strange case! Report ran report runtime gave different result from reoprt builder
Hi all,
I have a report which was developed with developer/2000 R1.6. I used it for generating monthly report to user for more than a year.
Recently, I converted it to R2.1 and used it. However, strange thing happened, It gave correct result in report builder, but when I generated the rep file, and ran it in runtime, it gave wrong result. The report figures were wrong, and it had more pages than the correct one.
I also converted others reports, but they are ok, only this one that I cannot run it runtime because of this.
I don't think anyone would have experienced the same case before, so I think that I am helpless. I just want to my strange experience to you all.
VanessaI suspect you have a stronger path somewhere else to the wrong report. Check your registry and search all your accesible drives for filenames that are called the same name.
-
Strange issue in Report Builder
Hi All,
I am facing a strange issue in Report Builder.
I am having a report which is currently in production. when i am opening that report and just saving it without making any changes, then also the size of the report is reducing from 238 to 204 kb.
When i am executing this report in production then it is giving me the error "Invalid Body size"
Please hlep me or else have to ask God to save me.
Thanks
AryanHi Hussien,
I tried thart solution but it not worked. i put some debug statement in Before Parameter form, after Parameter form, before report triggers. When i am running that report i am getting the debug statement of Before and After Parameter triggers but it is failing somewhere in Before Report Trigger.
I removed everything from Before Report Trigger and still the result is same "Invalid Body Size".
Please Hussien give me a some pointer which stage is processed between After Parameter Form trigger and Before Report Trigger.
Thanks
Aryan -
Help - count function returns strange results
hi everyone,
here's my scenario: i'm trying to get the NUMBER OF REPORTS and NUMBER OF
IMAGES GROUP BY MONTH from the two tables below.
REPORT
reportid(*primary key)
date
IMAGE
reportid(*foreign key referring to report's table)
image
sample output:
MONTH NO.OF REPORTS NO. OF IMAGES
feb 01 10 9
mar 01 12 8
my SQL goes like this:
select to_char(date, 'month-yy'),
count(REPORT.reportid), count(IMAGE.reportid)
from REPORT, IMAGE
where REPORT.reportid = IMAGE.reportid
group by to_char(date, 'month-yy')
the above sql yielded strange results, number of images is equal to the number of reports, which is of course wrong! as one report may or may not contain one or more image.
i dont know what's wrong with the above statement, but if i were to group it
by REPORTID and DAY rather than MONTH, then amazingly it works! what's
wrong with the count, why does it give me the same result if i group by
MONTH.
can anyone shed some light on this?try using the following example:
Table TEST_REPORT
RPTID RPTDATE
1 02-JAN-01
3 02-JAN-01
2 02-JAN-01
5 11-FEB-01
6 11-FEB-01
7 11-FEB-01
Table TEST_IMAGE
RPTID IM
1 1
2 1
3 1
SQL:
select to_char(rptdate,'MON-YYYY'),
sum(decode(a.rptid,null,0,1)) report_cnt,
sum(decode(b.rptid,null,0,1)) image_cnt
from test_report a, test_image b
where a.rptid = b.rptid(+)
group by to_char(rptdate,'MON-YYYY');
<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by skcedric:
hi everyone,
here's my scenario: i'm trying to get the NUMBER OF REPORTS and NUMBER OF
IMAGES GROUP BY MONTH from the two tables below.
REPORT
reportid(*primary key)
date
IMAGE
reportid(*foreign key referring to report's table)
image
sample output:
MONTH NO.OF REPORTS NO. OF IMAGES
feb 01 10 9
mar 01 12 8
my SQL goes like this:
select to_char(date, 'month-yy'),
count(REPORT.reportid), count(IMAGE.reportid)
from REPORT, IMAGE
where REPORT.reportid = IMAGE.reportid
group by to_char(date, 'month-yy')
the above sql yielded strange results, number of images is equal to the number of reports, which is of course wrong! as one report may or may not contain one or more image.
i dont know what's wrong with the above statement, but if i were to group it
by REPORTID and DAY rather than MONTH, then amazingly it works! what's
wrong with the count, why does it give me the same result if i group by
MONTH.
can anyone shed some light on this? <HR></BLOCKQUOTE>
null -
Strange result from insert into...select query
Hello guys,
I need your preciuos help for a question maybe simple, but that I can't explain by myself!
I have a query of "insert into...select" that, as I have explained in the title, returns a strange result. In facts, If I execute ONLY the SELECT statement the query returns the expected result (so 2 rows); instead If I execute the entire statement, that is the "insert into...select", the query returns 0 rows inserted!!
Following an example of the query:
INSERT
INTO TITOLI_ORI
COD_TITOLO_RICCONS ,
D_ESTRAZIONE ,
COD_SOCIETA ,
COD_PIANO_CONTABILE ,
COD_CONTO_CONTABILE ,
COD_RUBRICATO_STATISTICO_1 ,
COD_NDG ,
NUM_ESEGUITO ,
CUR_IMPORTO_RICCONS ,
CUR_IMPORTO_BICO ,
FLG_MODIFICATO ,
CUR_NON_ASSEGNATO ,
FLG_QUOTATO ,
COD_CATEG ,
TIP_COPERTURA ,
TIPTAS_TITOLO
SELECT NEWID,
'28-feb-2111',
COD_SOCIETA,
COD_PIANO_CONTABILE,
COD_CONTO_CONTABILE,
COD_RUBRICATO_STATISTICO_1,
COD_NDG,
NUM_ESEGUITO,
CUR_VAL_IMPEGNI,
'ABC' as CUR_IMPORTO_BICO,
0 as FLG_MODIFICATO,
NULL as CUR_NON_ASSEGNATO,
FLG_QUOTATO,
COD_CATEG,
TIP_COPERTURA,
TIP_TASSO
FROM
(SELECT S.COD_SOC AS COD_SOCIETA,
S.TIP_PIANO_CNTB AS COD_PIANO_CONTABILE,
S.COD_CONTO_CNTB AS COD_CONTO_CONTABILE,
S.COD_RUBR_STAT AS COD_RUBRICATO_STATISTICO_1,
TRC.COD_RAGGR_IAS AS COD_RAGGRUPPAMENTO_IAS,
TRC.COD_NDG AS COD_NDG,
TRC.COD_ESEG AS NUM_ESEGUITO,
CAST((TRC.IMP_PLUS_MINUS_VAL/TRC.IMP_CAMB) AS FLOAT) AS CUR_VAL_IMPEGNI,
TRC.TIP_QUOTAZ AS FLG_QUOTATO,
TRC.COD_CAT_TIT AS COD_CATEG,
TIP_COP AS TIP_COPERTURA,
T.TIP_TASSO AS TIP_TASSO
FROM S_SLD_CNTB S
INNER JOIN
(SELECT DISTINCT COD_SOC,
TIP_PIANO_CNTB,
COD_CONTO_CNTB,
COD_RUBR_STAT ,
COD_INTER_TIT AS COD_INTER
FROM S_COLLEG_CONTO_CNTB_TIT
WHERE COD_SOC = 'ME'
) CCC
ON S.COD_SOC = CCC.COD_SOC
AND S.TIP_PIANO_CNTB = CCC.TIP_PIANO_CNTB
AND S.COD_CONTO_CNTB = CCC.COD_CONTO_CNTB
AND S.COD_RUBR_STAT = CCC.COD_RUBR_STAT
INNER JOIN S_TIT_RICCONS TRC
ON CCC.COD_INTER = TRC.COD_INTER_TIT
AND CCC.COD_SOC = TRC.COD_SOC
AND TRC.COD_RAGGR_IAS = RTRIM('VALUE1 ')
AND TRC.COD_RAGGR_IAS NOT IN ('VALUE2')
AND TRC.DES_TIP_SLD_TIT_RICCONS IN ('VALUE3')
AND TRC.DES_MOV_TIT = RTRIM('VALUE4 ')
AND TRC.COD_CAT_TIT = RTRIM('VALUE4 ')
AND TRC.COD_INTER_TIT = RTRIM('VALUE5')
AND '28-feb-2011' = TRC.DAT_RIF
LEFT JOIN S_TIT T
ON T.COD_INTER_TIT = TRC.COD_INTER_TIT
AND T.COD_SOC = TRC.COD_SOC
AND '28-feb-2011' = T.DAT_RIF
INNER JOIN S_ANAG_SOGG AG
ON TRC.COD_NDG = AG.COD_NDG
AND AG.COD_SOC = TRC.COD_SOC
AND '28-feb-2011' = AG.DAT_RIF
WHERE S.DAT_RIF = '28-feb-2011'
AND (S.FLG_ANULL_BICO = 0
OR S.FLG_ANULL_BICO IS NULL)
AND S.COD_SOC = 'V6'
AND LENGTH(RTRIM(S.COD_CONTO_CNTB)) = 10
AND S.TIP_PIANO_CNTB = 'V7'
AND TRC.IMP_PLUS_MINUS_VAL < 0
AND SUBSTR(S.COD_CONTO_CNTB,1,7) IN (RTRIM('VALUE8 '))
Thanks a lotRight, I have executed this steps:
- I have changed the query with the select count(*)
- Changed the insert into with the select count(*)
- Executed the insert into
These are the result:
SQL> select count(*) from TITOLI_ORI2;
COUNT(*)
1
BUT:
SQL> select * from TITOLI_ORI2;
A
0
The insert into that I've modified is this:
INSERT INTO bsc.TITOLI_ORI2
select count(*)
FROM
(SELECT bsc.NEWID,
TO_DATE('28-feb-2111','DD-MON-YYYY') as data,
COD_SOCIETA,
COD_PIANO_CONTABILE,
COD_CONTO_CONTABILE,
COD_RUBRICATO_STATISTICO_1,
COD_NDG,
NUM_ESEGUITO,
CUR_VAL_IMPEGNI,
'ABC' AS CUR_IMPORTO_BICO,
0 AS FLG_MODIFICATO,
NULL CUR_NON_ASSEGNATO,
FLG_QUOTATO,
COD_CATEG,
TIP_COPERTURA,
TIP_TASSO
FROM
(SELECT S.COD_SOC AS COD_SOCIETA,
S.TIP_PIANO_CNTB AS COD_PIANO_CONTABILE,
S.COD_CONTO_CNTB AS COD_CONTO_CONTABILE,
S.COD_RUBR_STAT AS COD_RUBRICATO_STATISTICO_1,
TRC.COD_RAGGR_IAS AS COD_RAGGRUPPAMENTO_IAS,
TRC.COD_NDG AS COD_NDG,
TRC.COD_ESEG AS NUM_ESEGUITO,
CAST((TRC.IMP_PLUS_MINUS_VAL/TRC.IMP_CAMB) AS FLOAT) AS CUR_VAL_IMPEGNI,
TRC.TIP_QUOTAZ AS FLG_QUOTATO,
TRC.COD_CAT_TIT AS COD_CATEG,
TIP_COP AS TIP_COPERTURA,
T.TIP_TASSO AS TIP_TASSO
FROM bsc.S_SLD_CNTB S
INNER JOIN
(SELECT DISTINCT COD_SOC,
TIP_PIANO_CNTB,
COD_CONTO_CNTB,
COD_RUBR_STAT ,
COD_INTER_TIT AS COD_INTER
FROM bsc.S_COLLEG_CONTO_CNTB_TIT
WHERE COD_SOC = 'ME'
) CCC
ON S.COD_SOC = CCC.COD_SOC
AND S.TIP_PIANO_CNTB = CCC.TIP_PIANO_CNTB
AND S.COD_CONTO_CNTB = CCC.COD_CONTO_CNTB
AND S.COD_RUBR_STAT = CCC.COD_RUBR_STAT
INNER JOIN bsc.S_TIT_RICCONS TRC
ON CCC.COD_INTER = TRC.COD_INTER_TIT
AND CCC.COD_SOC = TRC.COD_SOC
AND TRC.COD_RAGGR_IAS = RTRIM('HFT ')
AND TRC.COD_RAGGR_IAS NOT IN ('GPO')
AND TRC.DES_TIP_SLD_TIT_RICCONS IN ('DISPONIBILI')
AND TRC.DES_MOV_TIT = RTRIM('CONSEGNARE ')
AND TRC.COD_CAT_TIT = RTRIM('OBBLIGAZIONE ')
AND TRC.COD_INTER_TIT = RTRIM('334058')
AND '28-feb-2011' = TRC.DAT_RIF
LEFT JOIN bsc.S_TIT T
ON T.COD_INTER_TIT = TRC.COD_INTER_TIT
AND T.COD_SOC = TRC.COD_SOC
AND '28-feb-2011' = T.DAT_RIF
INNER JOIN bsc.S_ANAG_SOGG AG
ON TRC.COD_NDG = AG.COD_NDG
AND AG.COD_SOC = TRC.COD_SOC
AND '28-feb-2011' = AG.DAT_RIF
WHERE S.DAT_RIF = '28-feb-2011'
AND (S.FLG_ANULL_BICO = 0
OR S.FLG_ANULL_BICO IS NULL)
AND S.COD_SOC = 'ME'
AND LENGTH(RTRIM(S.COD_CONTO_CNTB)) = 10
AND S.TIP_PIANO_CNTB = 'IS'
AND TRC.IMP_PLUS_MINUS_VAL < 0
AND SUBSTR(S.COD_CONTO_CNTB,1,7) IN (RTRIM('P044C11 '))
Another time the strange result returns!!
And I've created the table TITOLI_ORI2 as create table TITOLI_ORI2 (a number); to contain the number result of the query. -
By default, Teststand will not include the test step result in subsequence, is there any way to include these step results in report?
Thanks
JackyHi,
If your subsequence is in a separate sequencefile, then check the properties of the sequencefile to make sure that the record has not been disabled.
Regards
Ray Farmer
Regards
Ray Farmer -
Strange behavior in report Output
Hi,
Strange behavior in report output , please some one help me out of this problem.
I am using Oracle order capture rdf file ASOPQTEL.rdf.
My working environment:
Windows,apps instance .Now this rdf file is working fine in my work Environment.
when this same file is deployed in client environment (UNIX and different apps instance from my working environment apps instance)
for some cases it is giving output.
for some cases it's throughing error.
Thanks,
MithunPlease specify what kind of error you are getting and what is command you are firing on Unix.
-
Strange symbols appear on my desktop, producing even stranger results!
Strange symbols appear on my desktop, producing even stranger results!
These symbols are for short cuts. could be a command to move text insertion point to beginning of document or if you have been in system preferences keyboard and clicked on the modifier key and set one of the options it would be for setting cap lock. Don't know why you are showing a screen shot of it. Have you clicked on it. Have you been doing any work with documents. You could go to disk utilities and repair permissions or do an pram reset. Command/Option?P/R while holding down the power button for three chimes and release.
-
How can we generate result set report?
how can we generate result set report ?means the out put of one query be the input of another query?how it is?
Hi
You have to use APD ( analysis process designer) to use results of one query as the input for the other queries.
Check this link
http://help.sap.com/saphelp_nw70/helpdata/en/49/7e960481916448b20134d471d36a6b/frameset.htm
Regards -
Hi Friends..
Pls tell me how to produce Result Analysis Report.
By
PARI VENDHAN.RHi Pari,
The Results Analysis Report is an analysis of the results of running tests. The results analysis provide management and the development team with a readout of the product quality.
http://www.acomtech.com/resultsa.html
Do reward if useful.
Regards
Harish -
Howto define report B based on result of Report A without manual triggering
Hello
I would like to create two reports which contains the following:
1. Report A with defined and closed set of filters, after report A finishes to run and retrieve results ->
2. Report B should start running filtered by one column which is result of report A (for example report A retrieved a set of names in column 'employee', I would like report B to start running only based on the result of that column 'employee' of report A), without the need of manual trigger / navigation.
both reports should be presented in the same page.
is it possible ?
can it also been created as iBot (email) ?
thanks
HaimHi, thanks
+@haimz :+
Use a filter in report B with "filter based on another request".
That should work.
Also for not displaying B, you can have a condition, where B section doesn't show up until you have rows returned by A.
I am not sure how to perform the second part of your answer (can you elaborate, please) ?
also is there a way to present the two report together (not in a dashboard) and then to define Report B wait for report A to answer.
Haim -
Strange result about regular expressions
Hello everybody,
I write these codes to try regular expressions in Java, but there are some strang results. I read the reference like Sun Java Tutorials. however, I cann't find the problem.
Environnement:
WindowsXP Home + NetBeans IDE 5.0 + JDK 1.5
Input String:
"I write these codes to try regular expressions in Java, but it doesn't work. I read some reference like Sun Java Tutorials. Then, always cann't find the problem. Could you help me? Thanks."
My codes:
public static void main(String[] args) throws Exception, IOException {
P.rintln("Let's go!");
Date start = new Date();
if(args.length != 1) {
P.rintln("Input Error! Input format: java javaclass [directory path]");
System.exit(0);
StringBuffer sb = new StringBuffer();
String input = TextFile.read(args[0]);
sb = addSectionEelement(input, "re");
P.rintln(sb.toString());
P.rintln("Ok, it's over");
Date end = new Date();
System.out.println("It spends " + (end.getTime() - start.getTime()) + " ms.");
public static StringBuffer addSectionEelement(String input, String regex) {
Matcher m = Pattern.compile(regex).matcher(input);
StringBuffer sb = new StringBuffer();
int count = 0;
while(m.find()) {
count++;
P.rintln(m.group());
P.rintln("Found " + count + " fois.");
return sb;
Output:
run:
Let's go!
Found 0 fois.
Ok, it's over
It spends 16 ms.
BUILD SUCCESSFUL (total time: 0 seconds)
However if I change the Bold line by
sb = addSectionEelement(input, "r");
The resultats become:
run:
Let's go!
r
r
r
r
r
r
r
r
r
r
r
Found 11 fois.
Ok, it's over
It spends 15 ms.
BUILD SUCCESSFUL (total time: 0 seconds)
I have no idea about it. And you?
ThanksHi guys,
I re-examine the codes. In fact, it's the problem of encodings of the input file.
See u -
Hi guys,
Sorry to ask such a simple question but I can't seem to work out why Im get strange results when I do the following:
double t = 1564654654 / 1000000000;
System.out.println(t);The result I get is 1.0 but I should get 1.564654654
Any help would be great
Many thanks
AlexWhen you divide an int by an int, you get an int. Then you assign the int value to a double.
Either use the cast as posted previously, or use a decimal point with one of the numbers (which will cause Java to handle it as a double.) -
How to manage projects in TFS for better results in reports ?
Hello,
I have 5 team projects in TFS which is being managed by 5 team members.All the projects have been developed and currently there are up coming small level development task for enhancements or change requests.
I require to know best rules/practices points to manage the projects in such scenario so that I can get better results in reports.
Notes: There are no predefined sprints as we do not have information about upcoming module/task estimations.
Would you please help me to understand the rules/best practicies to follow in order to succefully manage the projects in TFS for betterment of the project growth ?
your help will be much appreciated.
Thanks and Regards,
Dipti ChhatrapatiHi Dipti,
Thanks for your reply.
If you want create burn down report(or other reports) in team projects, you should configure the Reporting Service for your TFS Server first, then we can create team project using the
TFS default process templates, the default burn down report and other default reports will be generated after team project created successfully:
https://msdn.microsoft.com/en-us/library/dd380714.aspx.
Whether the team project created using which default TFS process templates, we can create work item query in team project filter work items:
https://msdn.microsoft.com/en-us/library/dd286705.aspx.
You can create these 5 team projects using the same process template, and create them in the same one TFS collection.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Strange results with Insert statement having select query
Hi all,
I am facing a strange issue with Insert statement based on a select query having multiple joins.
DB- Oracle 10g
Following is the layout of my query -
Insert into Table X
Select distinct Col1, Col2, Col3, Col4, Function(Col 5) from Table A, B
where trunc(updated_date) > = trunc(sysdate-3)
and join conditions for A, B
Union
Select Col1, Col2, Col3, Col4, Function(Col 5) from Table C, D
trunc(updated_date) > = trunc(sysdate-3)
and join conditions for C, D
Union
.... till 4 unions. all tables are residing in the local Database and not having records more than 50,000.
If I execute above insert in a DBMS job, it results into suppose 50 records where as if I execute the select query it gives 56 records.
We observed following things-
a) no issue with size of tablespace
b) no error while inserting
c) since query takes lot of time so we have not used Cursor and PLSQL block for inserting.
d) this discrepancy in number of records happens frequently but not everytime.
e) examined the records left out from the insert, there we couldn't find any specific pattern.
f) there is no constraint on the table X in which we are trying to insert. Also tables A, B, C....
I went through this thread -SQL insert with select statement having strange results but mainly users are having either DB Links or comparison of literal dates, in my case there is none.
Can somebody explain why is the discrepancy and what is the solution for it.
Or atleast some pointers how to proceed with the analysis.
Edited by: Pramod Verma on Mar 5, 2013 4:59 AM
Updated query and added more details>
Since I am using Trunc() in the where clause so timing should not matter much. Also I manually ruled out records which were updated after the job run.
>
The first rule of troubleshooting is to not let your personal opinion get in the way of finding out what is wrong.
Actually this code, and the process it represents, is the most likely CAUSE of the problem.
>
where trunc(updated_date) > = trunc(sysdate-3)
>
You CANNOT reliably use columns like UPDATED_DATE to select records for processing. Your process is flawed.
The value of that column is NOT the date/time that the data was actually committed; it is the date/time that the row was populated.
If you insert a row into a table right now, using SYSDATE (8am on 3/5/2013) and don't commit that row until April your process will NEVER see that 3/5/2013 date until April.
Here is the more typical scenario that I see all the time.
1. Data is inserted/updated all day long on 3/4/2013.
2. A column, for example UPDATED_DATE is given a value of SYSDATE (3/4/2013) in a query or by a trigger on the table.
3. The insert/update query takes place at 11:55 PM - so the SYSDATE values are for THE DAY THE QUERY BEGAN
4. The data pull begins at 12:05 am (on 3/5/2013 - just after midnight)
5. The transaction is COMMITTED at 12:10 AM (on 3/5/2013); 5 minutes after the data pull began.
That data extract in step 4 will NEVER see those records! They DO NOT EXIST when the data pull query is executed since they haven't been committed.
Even worse, the next nights data pull will not see them either! That is because the next pull will pull data for 3/5/2013 but those records have a date of 3/4/2013. They will never get processed.
>
Job timing is 4am and 10pm EST
>
Another wrinkle is when data is inserted/updated from different timezones and the UPDATED_DATE value is from the CLIENT pc or server. Then you can get even more data missed since the client dates may be hours different than the server date used for the data pull process.
DO NOT try to use UPDATED_DATE type columns to do delta extraction or you can have this issue.
Maybe you are looking for
-
Photos from my Photo Steam do not show up on my PC
I have had this problem for several years now. My Photo Stream works perfectly between my iPhone and iPad and also with sharing Photos to a Photo Stream to my wife. The Photo Stream pictures however never show up in my iCloud Photo Stream folder on m
-
HT4623 my 4s speaker no longer works after update also my bluetooth keeps going off
My speaker does not work after new update ,also bluetooth keeps shutting off . How can i fix this . If I use an external speaker i can hear the radio . If not there is no sound and no adjustment for volume .Can I go back to previous sytem .I also don
-
Oct 10, 2011 2:13 PM I downoland game Zombi Farma for free but I paid 239 dkk. Here is answer from The Play Forge:
-
I am getting message iTunes.exe - Entry Point not found
I have search for the QTCF.dll file and I can only fine it in: C:\Program Files\QuickTime\QTSystem Do I need to remove this file for it to work?
-
Hello Gurus, While tranporting transport request using treansaction code STMS i am getting following error ' transport control program tp ended with error code 0247'. Errors : addtobuffer has problem with data and cofile. An error occurred when execu