Missing numbers in Business Indicators
Hi,
I'm using Oracle Business Indicators for iPhone. I discovered that in some reports (which ones, I don't know but it seems that the problem only occurs with big numbers, e.g. billions and above), some numbers are missing.
For example, 2,424,345,123.35 is shown as 242.35, that is, the numbers in the middle are missing. That is very annoying since I really don't understand the source of the bug.
btw, I made a trace with Wireshark, and it seems that the data from the obi server to the iPhone is correct (the number is correct). I'm wondering if the iPhone app itself is not buggy (surprisingly, the last version is 1.2, in july 2008, and there was no new version for iPhone v3.0). Did anyone see that problem before.
Regards,
This example uses the all_objects view and requires that you have at least as many rows in that view as in your work order table. If not, create a table with at least as many number and use that instead. The query in this example does not assume the lower and upper boundaries - it can be optimized a bit if those boundaries are hard-coded. Also, the fact that your work_order contains alpha characters (WO) had to be compensated for. Here is the idea (based on a Tom Kyte example, as usual):
sql>create table t (work_order) as
2 select 'WO' || to_char(rownum, 'FM0000')
3 from all_objects
4 where rownum <= 9999;
Table created.
sql>delete from t
2 where work_order in ('WO1000', 'WO5000', 'WO9000');
3 rows deleted.
sql>select 'WO' || missing_id missing_id
2 from t,
3 (select rownum + min_id - 1 missing_id
4 from all_objects,
5 (select max(to_number(substr(work_order, 3))) max_id,
6 min(to_number(substr(work_order, 3))) min_id
7 from t)
8 where rownum <= (select max(to_number(substr(work_order, 3))) -
9 min(to_number(substr(work_order, 3))) + 1
10 from t))
11 where missing_id = to_number(substr(work_order(+), 3))
12 and work_order is null;
MISSING_ID
WO1000
WO5000
WO9000
Similar Messages
-
BPM chart (process cube) not displaying data from business indicators
SOA/BPM Gurus,
I need some pointers for the below problem.
I am trying to do a basic BPM tutorial of generating a chart out of business indicators. I am creating a custom dashboard in the BPM workspace for the Request Quote process. The problem is that after I create the chart definition in BPM workspace, the charts do not pull any data for the business indicators. Here are the high level steps that I have performed:
1. Created a Request Quote process with typical steps such as - 1. Submission of Quote by Sales Rep; 2. Business Practices approval; 3. Deal & Contract Terms approval; 4.Save Quote.
2. I created 3 business indicators - Revenue Dimension, Industry Dimension, discount
3. After deployment, submitted a few quote requests through to final SaveQuote step.
4. Added a script task just before the Save Quote step to initialize these indicators from the corresponding elements from quote.xsd
5. Using the Sales Rep user, created a custom page and created a Data Source (Bar graph) with series=Revenue Dimension, Group=Industry, Variable=discount (operation=avg). The data type is Activity & measurement Sampling.
Initially I thought that the cause for data not being shown up is that the business indicators are not being initialized at all. But then I debugged this by writing the business indicators to the file on the SaveQuote step; the file generated did print all the correct values for the business indicators proving that they are being initialized.
Also, just to check whether the graph is picking any data at-all, I changed the data source to Work load per process and work load per participant and checked whether it shows transactions being created for the RequestQuote; the gragh did show data.
I am not sure I am missing any step such as a setting,etc on weblogic or em
Regards,
SudriptaHi,
You should complete the instances to see the data for the "Activity & measurement Sampling" graphs.
Make sure you have completed instances.
thanks,
Murugesh -
Issue - Oracle Business Indicators configuration in iPhone
Hi Everyone,
I am having an issue with Oracle Business Indicators configuration in iPhone. I have provided the IP address and username and pwd but I am getting the below error. Do I need to make any configuration or setup at our BI servier level?
The network operation encountered an error for the activity 'creation of an OBIEE session'.
Underlying Error Details:
unsupported URL
The URL that caused the error: 10.20.30.40/saw.dll?SoapImpl=nQSessionService
Underlying Error Details:
unsupported URL
The URL that caused the error: 10.20.30.40/saw.dll?SoapImpl=nQSessionService
Thanks in advance
GYou're getting the 500 Server Error because sawserver (presentation services) is crashing, as you say.
For background info see here: http://rnm1978.wordpress.com/2009/12/09/troubleshooting-presentation-services-analytics-connectivity/
You should check your sawserver.log file in $OracleBIData/log as this should record why sawserver is failing.
If it doesn't you could [increase the logging level of sawserver|http://rnm1978.wordpress.com/2009/07/23/sawserver-logging-configuration-logconfig-xml/] to examine what it's doing before crashing, and or you will have to raise a support request (SR) with Oracle. -
OBIEE Dashboard in iphone Business Indicators
Hi
one of my customer want to access OBIEE reports and Dashboard through i phone device
the integration has done with i phone and able to access the reports from shared folders by using Oracle Business Indicators
But I am facing with the below issues
1. How can I access Dashboards through i phone using Oracle Business Indicators
2.I want to drill from graphical reports which I cannot able to do it(due to png images)
waiting for your inputs1. You can access Dashboards through iPhone using Safari browser.
2. You can't drill from graphical reports on iPhone. -
Hi !
I'm running Oracle Business Indicators on the Iphone.
Reports as well as charts are displayed, but images (JPEGS stored at the server) is just shown as a "?".
If I run the same url on my desktop the images are displayed as it should.
Any ideas ?
Oracle Business Intelligence 10.1.3.4 on Win
//SamYou're getting the 500 Server Error because sawserver (presentation services) is crashing, as you say.
For background info see here: http://rnm1978.wordpress.com/2009/12/09/troubleshooting-presentation-services-analytics-connectivity/
You should check your sawserver.log file in $OracleBIData/log as this should record why sawserver is failing.
If it doesn't you could [increase the logging level of sawserver|http://rnm1978.wordpress.com/2009/07/23/sawserver-logging-configuration-logconfig-xml/] to examine what it's doing before crashing, and or you will have to raise a support request (SR) with Oracle. -
IPhone Oracle Business Indicators causing 500 Internal Server Error
We are using the iPhone Oracle Business Indicators and we are connecting to our OBIEE Answers & Dashboards but the iPhone is causing the Presentation Server to crash.
Steps:
1. Logon to iPhone Oracle Business Indicators
2. Access Favorites menu and select one of the saved Favorite reports (the report has been created as a Favorite from the iPhone)
3. Following error is displayed both on iPhone and when accessing the Presentation Services from the browser:
500 Internal Server Error
Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details.
4. This is actually causing the Presentation Service to go down and we have to restart the service each time when accessing Favorite reports from iphone.
We have investigated the files created under the catalog directory _iphone and have noticed that when a Favorite report is created from the iphone, only the .atr file is created but not the xml file itself, which lead us to the conclusion that this be the cause of the BI Presentation Services to crash.
Has anyone experienced this problem? and if yes, how was it fixed?
Thank you,
VeronicaYou're getting the 500 Server Error because sawserver (presentation services) is crashing, as you say.
For background info see here: http://rnm1978.wordpress.com/2009/12/09/troubleshooting-presentation-services-analytics-connectivity/
You should check your sawserver.log file in $OracleBIData/log as this should record why sawserver is failing.
If it doesn't you could [increase the logging level of sawserver|http://rnm1978.wordpress.com/2009/07/23/sawserver-logging-configuration-logconfig-xml/] to examine what it's doing before crashing, and or you will have to raise a support request (SR) with Oracle. -
How can I get two missing numbers on a iTunes card
How can I get two missing numbers on a iTunes card
"Get help",just below the form space where I entered the code. Once I clicked "Get Help", it added another line to the form where I could enter THE NUMBER ON THE BOTTOM LEFT CORNER on the back of the card. I entered as much of the I scratch-off code I could read, along with the serial number.
-
Selecting missing numbers in Range (missing in 1 - 10 )
hello
i want to get missing numbers query in a range like i want query returns only missing numbers between 1 to 10 present in a table
thanks.
Message was edited by:
Rehmanin this case if a change my range from 2 - 11 it does not works. In that case, I would use pipelined function :
SQL> drop table rehman ;
Table dropped.
SQL> create table rehman as
2 select 1 id from dual union all
3 select 3 id from dual union all
4 select 5 id from dual union all
5 select 7 id from dual union all
6 select 9 id from dual ;
Table created.
SQL>
SQL>
SQL> create or replace type TblId as table of number
2 /
Type created.
SQL>
SQL> create or replace function Tbl_rehman(p_start number, p_end number)
2 RETURN TblId
3 PIPELINED
4 IS
5 BEGIN
6 FOR x IN p_start..p_end
7 LOOP
8 PIPE ROW( x );
9 END LOOP;
10 RETURN;
11 END;
12 /
Function created.
SQL>
SQL> select *
2 from table(Tbl_rehman(1,10)) a
3 where not exists (select 1 from rehman b where b.id=a.column_value);
COLUMN_VALUE
2
4
6
8
10
SQL>
SQL> select *
2 from table(Tbl_rehman(2,11)) a
3 where not exists (select 1 from rehman b where b.id=a.column_value);
COLUMN_VALUE
2
4
6
8
10
11
6 rows selected.
SQL> Nicolas. -
HI !
I have an array which holds 999 different numbers between 1-1000
(which means that 1 number between 1-1000 does not appear in the array).
I need to find the missing number in one pass and it's easy.
My question is:
Do you have any idea how can I find 2 missing numbers in the array ?
Is it possible ?
I cant use any data structure and I need to find the missing numbers in one pass.
Thank youUsing array.sort() and using another array is out of the question as its inhrently banned in the "i cant use any data structure" so this is
Homework! tut tut
ok so far an array with 1 number missing "its easy" yeah, just add em all up and see whats missing.
for 2 numbers missing you should take a hint from what you are studying in the course ie solving Quadratic Equations..
shall i make snoopy beg yet??
naw, ok here goes
on your 1 permitted pass add up all the mumbers that are there, also have another total for the squares of the numbers
call the numbers you are looking for A and B
subtract the first total from what it would be if there were all 1000, call this N
subtract the second total from what the total of the squares would be if there were all 1000, call this M
so..
A+B=N
solve for B in terms of A
so..
B=N-A
and A^2+B^2=M
should i quit now???
no, ok
substitute B in the second equation, shuffle a bit and..
2A^2-2NA+N^2-M=0
recognise the terms of the quadratic and..
A=(2N +/- (4N^2-8(N^2-M))^.5)/4
note the +/- plus OR minus will give you 2 results, these will be the 2 missing munbers
tahh dahh
See maths does have some use -
I want to find missing numbers from a column which is alpha numeric, its last five positions are numeric. At first three positions there are different combinations of alphas i.e. *'BA ','BAW','SA ','SAA' ..........* if alphas are two then 3rd position is blank. I also need it to generalised this to cover all existing alpha numeric series.
SELECT SUBSTR (a.claim_no, 4, 5) + 1
FROM core_business.cb_pensioner a
WHERE SUBSTR (a.claim_no, 1, 3) = 'BA '
AND NOT EXISTS (
SELECT NULL
FROM core_business.cb_pensioner b
WHERE to_number(SUBSTR (b.claim_no, 4, 5)) = to_number(SUBSTR (a.claim_no, 4, 5)) + 1)
order by SUBSTR (a.claim_no, 4, 5);I am getting ORA-01722 errorYou have two issues with such a task.
Problem 1 is how to convert the trailing part into a number so that you can compare values.
to_number(SUBSTR (b.claim_no, 4, 5)) works, but only if the value in b.claim_no is always a number regardless of the other column criteria.
A statement like
WHERE SUBSTR (a.claim_no, 1, 3) = 'BA ' /* filter 1 */
and to_number(SUBSTR (b.claim_no, 4, 5)) > 1 /* filter 2 */
...might fail because your table might have a value like
b.claimno = 'XYZ1234b'
The way you wrote the query the database will decide which filter criteria it executes first. It might be filter1, but could also be filter2. If filter2 is executed first then you will get the error message.
Problem 2 how to order and compare different rows, so that you can find the missing values.
Here the analytic LEAD(LAG) function is very helpful. it will give you access to the next (or previous row).
Both problems can be overcome.
Here is my try, but I'm not sure if it works in your case. You might need to adapt a little.
This should work if all the rows are numeric that belong to the specific groups. if you can have wrong data in there too, then a different approach is needed.
with testdata as (select 'XYZ1234b' claim_no from dual union all
select 'BA 12345' claim_no from dual union all
select 'BA 12346' claim_no from dual union all
select 'BA 12350' claim_no from dual union all
select 'BAW11111' claim_no from dual union all
select 'BAW11113' claim_no from dual union all
select 'XYZ1234b' claim_no from dual )
/* end of test data creation */
select claim_no, substr(claim_no, 1,3) part1, substr(claim_no, 4) part2,
to_number(substr(claim_no, 4)) current_num,
lead(to_number(substr(claim_no, 4))) over (partition by substr(claim_no, 1,3) order by to_number(substr(claim_no, 4))) next_num,
lead(to_number(substr(claim_no, 4))) over (partition by substr(claim_no, 1,3) order by to_number(substr(claim_no, 4)))
- 1 - to_number(substr(claim_no, 4))
as "missing_values"
from testdata
where substr(claim_no, 1,3) in ('BAW','BA ')
order by claim_no;
CLAIM_NO PAR PART2 CURRENT_NUM NEXT_NUM missing_values
BA 12345 BA 12345 12345 12346 0
BA 12346 BA 12346 12346 12350 3
BA 12350 BA 12350 12350
BAW11111 BAW 11111 11111 11113 1
BAW11113 BAW 11113 11113Problem 1 is solved because the where condition is always executed before the function in the select clause, especially in connection with an analytic function.
Problem 2 is also solved by using the analytic function LEAD function. And this is fast, because you access the same table only one time. Other solution might do a subquery to fetch the value from the previous/next row. This means several accesses to the same table and is usually much slower.
Edited by: Sven W. on Sep 20, 2010 2:32 PM -
I need to list all the missing numbers in a sequence. For example, in a table containing work orders, the work order numbers start from WO0001 and end at WO9999. In this some work order numbers like WO8001 may be missing. Can someone suggest me a way to extract these missing numbers?
This example uses the all_objects view and requires that you have at least as many rows in that view as in your work order table. If not, create a table with at least as many number and use that instead. The query in this example does not assume the lower and upper boundaries - it can be optimized a bit if those boundaries are hard-coded. Also, the fact that your work_order contains alpha characters (WO) had to be compensated for. Here is the idea (based on a Tom Kyte example, as usual):
sql>create table t (work_order) as
2 select 'WO' || to_char(rownum, 'FM0000')
3 from all_objects
4 where rownum <= 9999;
Table created.
sql>delete from t
2 where work_order in ('WO1000', 'WO5000', 'WO9000');
3 rows deleted.
sql>select 'WO' || missing_id missing_id
2 from t,
3 (select rownum + min_id - 1 missing_id
4 from all_objects,
5 (select max(to_number(substr(work_order, 3))) max_id,
6 min(to_number(substr(work_order, 3))) min_id
7 from t)
8 where rownum <= (select max(to_number(substr(work_order, 3))) -
9 min(to_number(substr(work_order, 3))) + 1
10 from t))
11 where missing_id = to_number(substr(work_order(+), 3))
12 and work_order is null;
MISSING_ID
WO1000
WO5000
WO9000 -
I scratched my iTunes card and some of the numbers have come off. How do I get the missing numbers?
See this support article:
http://support.apple.com/kb/TS1292
If you can't get to work after perusing that page, contact the iTunes Store Support; instructions are at the bottom of that article.
Regards.
Forum Tip: Since you're new here, you've probably not discovered the Search feature available on every Communities page, but next time, it might save you time (and everyone else from having to answer the same question multiple times) if you search a couple of ways for a topic, both in the relevant forums and in the Apple Knowledge Base, before you post a question. -
I have a data like this:
G1, 1
G1, 2
G1,
G1,
G2, 1
G2,
G2,
G2,
G2,
G3, 1
G3, 2
G3, 3
G3,
G3,
G3, I have to populate the missing numbers for each group. The data should look like this:
G1, 1
G1, 2
G1, 3
G1, 4
G2, 1
G2, 2
G2, 3
G2, 4
G2, 5
G3, 1
G3, 2
G3, 3
G3, 4
G3, 5
G3, 6Can it be done in SQL without using a stored procedure? Thanks.
Kumarhi,
SQL> With T As
2 (Select 'G1' col, 1 col1 From dual
3 Union All
4 Select 'G1', 2 From dual
5 Union All
6 Select 'G1', Null From dual
7 Union All
8 Select 'G1', Null From dual
9 Union All
10 Select 'G2', 1 From dual
11 Union All
12 Select 'G2', Null From dual
13 Union All
14 Select 'G2', Null From dual
15 Union All
16 Select 'G2', Null From dual
17 Union All
18 Select 'G2', Null From dual
19 Union All
20 Select 'G3', 1 From dual
21 Union All
22 Select 'G3', 2 From dual
23 Union All
24 Select 'G3', 3 From dual
25 Union All
26 Select 'G3', Null From dual
27 Union All
28 Select 'G3', Null From dual
29 Union All
30 Select 'G3',Null From dual)
31 Select col, row_number() Over(Partition By col Order By col)col1
32 From T
33 /
CO COL1
G1 1
G1 2
G1 3
G1 4
G2 1
G2 2
G2 3
G2 4
G2 5
G3 1
G3 2
CO COL1
G3 3
G3 4
G3 5
G3 6
15 rows selected. -
Missing numbers in metadata browser under OS X Mavericks & LR5
Every since upgrading to Mavericks my Lightroom metadata browser has had missing numbers. It used to show the total count of photos that matched the criteria and it no longer does that. Has anyone else had this issue or know how to resolve it? It's not really that big of a deal but it is a constant annoyance. I've attached a screen shot of the issue.
Known bug in LR5 on Mavericks.
http://feedback.photoshop.com/photoshop_family/topics/lr_5_2_os_x_mavericks_missing_photo_ count_in_library_module
Fixed in LR5.3RC which you can download today although the final release is due soon
http://labs.adobe.com/technologies/lightroom5-3/
I run LR5.3RC on Mavericks with no issues yet. -
Looking to write a query to give me the missing numbers in a sequence
My query here gives me a list of numbers:
select distinct cast(SUBSTRING(docket,7,999) as INT) from [DHI_IL_Stage].[dbo].[Violation] where InsertDataSourceID='40'
and ViolationCounty='Carroll' and SUBSTRING(docket,5,2)='TR' and LEFT(docket,4)='2011'
order by 1
Gives back:
I want to find the numbers missing in the sequenceCREATE TABLE t1 (C INT NOT NULL PRIMARY KEY)
insert t1 select 1 union all
select 3 union all
select 4 union all
select 5 union all
select 7 union all
select 10
SELECT
c+n FROM t1, (
SELECT 0 n UNION ALL SELECT 1
) T
GROUP BY c+n
HAVING MIN(n) = 1 and c+n < (select max(c) from t1)
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence
Maybe you are looking for
-
Network Security on Macbook Pro, Mountain Lion
Since I upgraded to WPA2 Security, my Network Name in System Preferences does not show a Security Lock anymore. Every other Name in the Listing of Network Names has a Security Lock. I was told that the lock does not always show next to the Network Na
-
Hi Can anyone explain me like how to view the Customer and vendor invoices through T.Code or through path. Thanks & Regards
-
Vendor Master Record - Extracting Data?
Is there some way to extract all data from the Vendor Master Records in a cleansing client, so that it can then be loaded to the production client?
-
Need a bapi for change component in CO02
hi! i need to change mass old material in production order(CO02) . so i need a bapi or FM to do it but i can't find it! thank you very much!
-
Some correct, some incorrect
Dear Friends, I am trying to display japanese characters on browsers. I am using MySql and JSP. I am able to display japanese characters from database. But some katakana and kanji characters are not displayed correctly. Actually they are not stored c