Error while running a Query which has measures from both facts
Hi Guys,
I have three tables. 1 Dimension table D1 and two fact tables F1 and F2.
D1 has columns ------> Accountid, Account Number
F1 has Columns ------> Accountid,Current Balance1, Balance Type
F2 has Columns ------> Accountid,Current Balance2
Now i want to run a report like
D1.Account Number,F1.Current Balance1,F2.Current Balance2, F1.Balance Type.
When i run this Report then i am getting values only for F1.Current Balance1 and F2.Current Balance2 is Null.
But when i remove F1.Balance Type from Query i am getting both F1.Current Balance1 and F2.Current Balance2.
Can any one help me with this.
Thanks
Rondo.
RONDO wrote:
Hi Guys,
I have three tables. 1 Dimension table D1 and two fact tables F1 and F2.
D1 has columns ------> Accountid, Account Number
F1 has Columns ------> Accountid,Current Balance1, Balance Type
F2 has Columns ------> Accountid,Current Balance2
Now i want to run a report like
D1.Account Number,F1.Current Balance1,F2.Current Balance2, F1.Balance Type.
When i run this Report then i am getting values only for F1.Current Balance1 and F2.Current Balance2 is Null.
But when i remove F1.Balance Type from Query i am getting both F1.Current Balance1 and F2.Current Balance2.
Can any one help me with this.
Thanks
Rondo.Run the report again and get the SQL from the log and run it in TOAD/(Any SQL Developer). Then check for the joins and filters in the SQL.
Correct the joins and filters appropriately in the SQL to make sure you got it right before implementing the same changes in the RPD.
Hope this helps.
Similar Messages
-
Database Error while running the query.
Hi,
While running the query in webi rich client i am having a "database error IES 10901 and WIS 10901" , it is showing that the data source name not found and default driver is not specified.
I am trying to generate report from efashion universe which is in .unx format, same client version and universe is running fine on another machine (webi rich client).
PS: The above mentioned universe is running fine on my BI launch pad, the problem is with webi rich client only.
Please help!!Hi,
Which Database your are using .
As explained by Yuvraj You need to install driver for specific database .
Ask for client or (your Database ) driver from administrator .
After installation you can see your database Driver in following path
Control Panel\System and Security\Administrative Tools\Data Sources (ODBC)
See in Drivers Tab .
If you are using oracle & client is install on your system then Check TNS Names File in NETWORK folder . -
Error while running a Query on webi
Hi Folks
I just installed a BOBJ edge standard 3.1 and trying to configure and test it the very first time, I have following issues if you can advise the solution., I would really appreciate.
1. when i try to create a test query on Webi Rich Client and and run query, I get the follow messge:
A databse error occured. The database error text is : [Microsoft] [ODBC Microsoft access driver] could not use (unknown);
file already in use (WIS 10901)
2. The other issue I have is that when i create a test query on the webi (infoview side) and try to run the query I dont see any result like column, rown or fields, all I see is a solid yellow block which I believe is because of kmissing Java connector. can you guys pls let me know if this is the reason I dont see the report or Is there any other reason for that.
I would appreciate your help on this.
RegardsHello,
What type of database did you build your universe on? Access? SQL Server? or other? You would need to go into the universe you are trying to use for the report go into File, Parameters, and see what your connection is, and while you're there, click "test" to be sure it is working. If not, that is your problem. If it is, but the report still is not working, either way, you will need to go into Control Panel, Administrative Tools, Data Sources (ODBC) and set up a system DSN that links to the correct database. Again test it to be sure it works. Then make sure the universe has a connection that uses this same DSN. The report should run.
Hope that helps. -
'ORA-01722: Invalid Number' error while Running a Query
Hi,
I'm trying to run a query built on a DSO. The DSO has a field 'Start Date'. This Start Date InfoObject has a reference Char as 0DATE.
This Start Field has blank values due to which I'm getting the ORA-01722 error. I came across many threads with same topic of discussion. As mentioned in one of the Threads I have written a program to update 'Start Date' with 00000000. The code wriiten is "UPDATE /BIC/AZ_MONINV00 SET /BIC/ZSTR_DTE = '00000000' where /BIC/ZSTR_DTE = ' '.
Now when I see the data in the active data table of DSO the blank value is replaced with '00000000'.
But If I right click on the DSO click on display data the 'Start Date' field is blank. And now the Query also gets executed without any error. But in the output of the query the 'Start Date' Field has "#" values.
Can anyone suggest on how can I make these "#" values appear as 00000000 in the report?In this case, you have to write a macro to avoid # in Analyzer.
Right Click-->Display Data will show data from Active table of DSO only.
If you don't want to show any blank date values in the report, you can exclude in Filter in Query. -
Error while running a query-Input for variable 'Posting Period is invalid
Hi All,
NOTE: This error is only cropping up when I input 12 in the posting period variable selection. If I put in any other value from 1-11 I am not getting any errors. Any ideas why this might be happening?
I am getting the following error when I try and run a query - "Input for variable 'Posting Period (Single entry, mandatory)' is invalid" - On further clicking on this error the message displayed is as follows -
Diagnosis
Variable Posting Period (Single Value Entry, Mandatory) is used as a lower limit (X) and an upper limit () in an interval selection. This limit has the value #.
System Response
Procedure
Enter a different value for variable Posting Period (Single Value Entry, Mandatory). If the value of the other limit is determined by another variable, you can change its value also.
Procedure for System AdministrationOK.
Well, if the variable is not used in any interval selection, then I would say "something happened to it".
I would make a copy of the query and run it to check if I get the same problem with period 12.
-> If not, something is wrong in the original query (you can proceed as below, if changes to original are permitted).
If so, then try removing the variable completely from the query and hardcode restriction to 12.
-> If problem still persists, I would have to do some thinking.
If problem is gone, then add the variable again. Check.
-> If problem is back, then the variable "is sick". Only quick thing to do, is to build an identical variable and use that one.
If problem also happens with the new variable, then it's time to share this experience with someone else and consider raising an OSS.
Good luck!
Jacob
P.S: what fisc year variant are you using?
Edited by: Jacob Jansen on Jan 25, 2010 8:36 PM -
Error while running the query on web.
Hello Friends
I am getting the error message "Result set too large (1056716 cells); data retrieval restricted by configuration (maximum = 500000 cells)" while executing the query on the web in BI 2004s. How can this be resolved.
Any help in this regards is appreciated and points will be assigned.
Thanks.Hi Rishi,
Maybe your queries returned too large volume of data.
So, if possible,
1, create some filter on your query to reduce the transferred data
2, chaange your query structure (reduce the items on the column or low)
and your error message seemed to be generated from BEx Analyzer...
does web report have "cells"?
if BEx Analyzer, the limit of cells volume is inneviable.
and if you use BEx Web, do you know note1008619?
this note describe about the limit of data volume on web applications.
Hope it help,
Kanako -
Index does not exist error while running the query
Hi Everone,
I am facing some problem when i try to tun the query in BEx. When i run the query, it is giving the error "Index does not exist". Please help me out.
With Regards
Pavan
Edited by: PavanRaj_S on Mar 3, 2010 4:50 AMHi,
If you facing index problem go to mange create the index and you want to know what are all the infocubes not maintained index go db02 you can find out.
Regards
sivaraju -
Getting Error while running this query
Hi,
SELECT SUM(BATCHWISE_COUNT) TOTALBATCHCOUNT,
TO_CHAR(SUM(BATCHWISEAMOUNT),'9,99,99,99,99,99,99,99,990.99') TOTALAMOUNT ,
SUM(SLIP_RECORDS) TOTALSLIPCOUNT,
SUM(CHEQUEONLY_RECORD) TOTALCHEQUECOUNT
from (SELECT COUNT(TI.FLDITEMINITIALID) BATCHWISE_COUNT from TBLITEMINITIAL TI),
(select SUM(IT.FLDAMOUNT)/100 BATCHWISEAMOUNT from TBLITEMINFOTRANS IT ),
(SELECT COUNT(FLDITEMINITIALID) FROM TBLITEMINITIAL TI WHERE FLDBATCHNUMBER NOT IN (select FLDBATCHNUMBER from TBLITEMINITIAL_DEL where TI.FLDCAPTURINGDATE=FLDCAPTURINGDATE) AND TI.FLDITEMTYPE = 'P' AND TI.FLDCAPTURINGMODE = 'CP') SLIP_RECORDS,
(SELECT COUNT(FLDITEMINITIALID) FROM TBLITEMINITIAL TI WHERE FLDBATCHNUMBER NOT IN (select FLDBATCHNUMBER from TBLITEMINITIAL_DEL where TI.FLDCAPTURINGDATE=FLDCAPTURINGDATE) AND FLDITEMTYPE = 'C' AND FLDCAPTURINGMODE = 'CO') CHEQUEONLY_RECORD
from TBLITEMINITIAL TI,
TBLITEMINFO II,
TBLITEMINFOTRANS IT
WHERE II.FLDITEMINITIALID = TI.FLDITEMINITIALID
AND II.FLDITEMID = IT.FLDITEMID
GROUP BY TRUNC(TI.FLDCAPTURINGDATE),TI.FLDBATCHNUMBER,TI.FLDCAPTURINGBRANCH,TI.FLDSCANNERID)
Im geeting error
ORA-00933: SQL command not properly ended
when running this query
I don't know what mistake i have done in this query , Kindly help for solving this issue
Thanks
Bala,
Edited by: 965937 on Feb 11, 2013 9:25 PMDear Friend
Try with the query below,
<<
SELECT SUM(BATCHWISE_COUNT) TOTALBATCHCOUNT,
TO_CHAR(SUM(BATCHWISEAMOUNT),'9,99,99,99,99,99,99,99,990.99') TOTALAMOUNT ,
SUM(SLIP_RECORDS) TOTALSLIPCOUNT,
SUM(CHEQUEONLY_RECORD) TOTALCHEQUECOUNT
from (SELECT COUNT(TI.FLDITEMINITIALID) BATCHWISE_COUNT from TBLITEMINITIAL TI),
(select SUM(IT.FLDAMOUNT)/100 BATCHWISEAMOUNT from TBLITEMINFOTRANS IT ),
(SELECT COUNT(FLDITEMINITIALID) FROM TBLITEMINITIAL TI WHERE FLDBATCHNUMBER NOT IN (select FLDBATCHNUMBER from TBLITEMINITIAL_DEL where TI.FLDCAPTURINGDATE=FLDCAPTURINGDATE) AND TI.FLDITEMTYPE = 'P' AND TI.FLDCAPTURINGMODE = 'CP') SLIP_RECORDS,
(SELECT COUNT(FLDITEMINITIALID) FROM TBLITEMINITIAL TI WHERE FLDBATCHNUMBER NOT IN (select FLDBATCHNUMBER from TBLITEMINITIAL_DEL where TI.FLDCAPTURINGDATE=FLDCAPTURINGDATE) AND FLDITEMTYPE = 'C' AND FLDCAPTURINGMODE = 'CO') CHEQUEONLY_RECORD
from TBLITEMINITIAL TI,
TBLITEMINFO II,
TBLITEMINFOTRANS IT
WHERE II.FLDITEMINITIALID = TI.FLDITEMINITIALID
AND II.FLDITEMID = IT.FLDITEMID
GROUP BY TRUNC(TI.FLDCAPTURINGDATE),TI.FLDBATCHNUMBER,TI.FLDCAPTURINGBRANCH,TI.FLDSCANNERID;
Regards
Ahamed Rafeeque Cherkala
Edited by: Ahamed Rafeeque on Feb 12, 2013 3:20 AM -
Getting ORA Error while running any Query
Hi Experts - I am getting below error message for any query i run in Webi. Please help.
failed to execute with the error ORA-00604: error occurred at recursive SQL level 1
ORA-01655: unable to extend cluster SYS.C_OBJ#_INTCOL# by 128 in tablespace. (WIS 10901)Hello communutiy, hello rohan,
after updating patches next working day we also get this erreor message
"ORA-00604: error occurred at recursive SQL level 1 ORA-01655: unable to extend cluster SYS.C_OBJ#_INTCOL# by 128 in tablespace"
What have you done so far. Could you solve this issue? If yes how?
Best regards Harry -
Error while running BW Query.
When I am running BW query I am using IE6.0 in the address bar it is showing
http://<b>luxbwd</b>.100.100.8:<b>8100</b>/sap/bw/BEx?sap-language=EN&bsplanguage=EN&CMD=LDOC&INFOCUBE=0QM_C11&QUERY=QUALITYLOT&VARIABLE_SCREEN=X&DUMMY=6
insted of http://<b>10</b>.100.100.8:<b>8100</b>/sap/bw/BEx?sap-language=EN&bsplanguage=EN&CMD=LDOC&INFOCUBE=0QM_C11&QUERY=QUALITYLOT&VARIABLE_SCREEN=X&DUMMY=6
How can I Change on the backend.Every time I am putting 10 in the place of luxbwd.
I have checked in Rz10 profile management.
icm/host_name_full 10.100.100.8
abap/fieldexit yes
login/system_client 201
login/fails_to_user_lock 3
SAPSYSTEMNAME BWD
INSTANCE_NAME DVEBMGS00
SAPSYSTEM 00
rdisp/wp_no_dia 6
rdisp/wp_no_btc 2
rdisp/wp_no_vb 1
rdisp/wp_no_vb2 1
rdisp/wp_no_enq 1
rdisp/wp_no_spo 1
SAPGLOBALHOST luxbwd
PHYS_MEMSIZE 2450
DIR_TRANS E:\usr\sap\trans
icm/server_port_0 PROT=HTTP,PORT=8080
DIR_CT_RUN E:\usr\sap\BWD\SYS\exe\nuc\NtIa64
DIR_ORAHOME E:\oracle\BWD\920_64
And I checked in SE37 also
on the Function module RSBB_URL_PREFIX_GET
The parameters are like following.
Import parameters Value
I_HANDLERCLASS CL_RSR_WWW_HTTP
I_PROTOCOL
I_MESSAGESERVER
Export parameters Value
E_URL_PREFIX http://10.100.100.8:8080
E_URL_PATH /sap/bw/BEx
E_URL_PROTOCOL http
E_URL_SERVER 10.100.100.8
E_URL_PORT 8080
E_SUBRC 0
Please help me. Points will be assigned.
Regards
LalDear Mr. Rucit.
I gone through the Notes which you given. Thanks for that.
but the problem is different.
on by server I can see on TC SE37 the program RSBB_URL_PREFIX_GET
the default is comming
E_URL_PREFIX http://luxbwd.100.100.8:8100
E_URL_PATH /sap/bw/BEx
E_URL_PROTOCOL http
E_URL_SERVER luxbwd.100.100.8
E_URL_PORT 8100
E_SUBRC 0
and if I am removing 'X' from I_MESSAGESERVER option
the parameter - values are comming correcit. that is,
E_URL_PREFIX http://10.100.100.8:8080
E_URL_PATH /sap/bw/BEx
E_URL_PROTOCOL http
E_URL_SERVER 10.100.100.8
E_URL_PORT 8080
E_SUBRC 0
This is correct.
How can I change the default to this settings.
Please help
regards
Kariyath. -
Error while running a Discoverer Workbook with parameter from command line
I am trying to run a discoverer report from command line and export the results in xls on to my local machine. I could do it fine for a simple workbook, but if I add a parameter(madatory) to the workbook and run it from command line specifying the parameter value I wanted to run the report for, I do not get any results. Here is the command line I am using.
dis51usr.exe /connect user/password@database /apps_user /apps_responsibility "System Administrator" /eul EUL_US /open C:\Disco\Test.DIS /sheet Testsheet /parameter Period Jan-07 /export xls C:\Disco\X.xls /batch
Parameter value is entered in correct format(Jan-07).
When I removed /batch from this to see if I get any error, Discoverer Desktop opened up, logged in and gets terminated saying 'Oracle Discoverer Desktop has encountered a problem and need to close. We are sorry for the inconvenience.'
Did anybody come across this issue before?Hello,
If you have a few minutes, Windows is also aborting for me:
the differences are, my situation is:
a) am running the command line from a .bat file
b) am NOT running with parms, want the discoverer query to come up for the user
c) am running a query from the database
i am signing in as myself BUT running a query that was created by a generic user called SREG
c) if i run the .bat file from Windows Explorer, the query opens fine
d) if i execute the .bat file from within Microsoft Access using the shell command,
the query opens and then aborts RIGHT BEFORE the parm screen would display
e) btw, if i modify the .bat file, to run a query from MY database signon, then (d) - running .bat file
from vb using SHELL command works
Do you have a ideas as to why (d) does not work? I would be very grateful for your time, tx, sandra
this is what i posted yesterday, tx: Re: Running Discoverer command line
tx, sandra -
Hi,
I am using adobe acrobat 9 professional .I need to add watermarkfrom file to a pdf document by clicking a button on the document which runs the following javascript
this.addWatermarkFromFile({
cDIPath: "/C/watermark.pdf",
nSourcePage: 1,
nEnd: 9,
nHorizAlign: 0,
nVertAlign: 0,
nHorizValue: 144,
nVertValue: -72,
nRotation: 45
Java debugger prompts the following message while running it
NotAllowedError: Security settings prevent access to this property or method.
Doc.addWatermarkFromFile:9:AcroForm:watermark:Annot1:MouseUp:Action1
Can anyone please help me out how to get acces to the method addWatermarkFromFile ?Thanks George my code is working finally!Here it goes:
myTrustedMenu = app.trustedFunction( function( cDIPath, nSourcePage, nStart, nEnd, bOnTop, bOnScreen, bOnPrint, nHorizAlign, nVertAlign, nHorizValue, nVertValue, bPercentage, nScale, bFixedPrint, nRotation, nOpacity)
app.beginPriv();
this.addWatermarkFromFile(cDIPath, nSourcePage, nStart, nEnd, bOnTop, bOnScreen, bOnPrint, nHorizAlign, nVertAlign, nHorizValue, nVertValue, bPercentage, nScale, bFixedPrint, nRotation, nOpacity);
app.endPriv();
app.addToolButton({
cName: "watermark",
cExec:"myTrustedMenu ( '/C/Documents and Settings/All Users/Documents/My Pictures/Sample Pictures/logo_black.pdf',0,0,1,'False','True','True',app.constants.align.center,app.const ants.align.center,0,0,'False',.35,'False',0,.04) ;",
cTooltext:"watermark" -
We are trying to open a remote power-shell session from one azure machine to another azure machine and that is failing with the following error. Any ideas?
Observations: -
If the worker role is running under network service or local system, then it fails.
We emulated the same behavior from a stand-alone exe and that also failed when the exe was run under network service or local system.
If we run the same stand-alone exe from a user account, then it works.
Unhandled Exception: System.Management.Automation.Remoting.PSRemotingTransportException: Connecting to remote server sampleapprm.cloudapp.net failed with the following error message : Access is denied. For more information, see the about_Remote_Troubleshooting
Help topic.
at System.Management.Automation.Runspaces.AsyncResult.EndInvoke()
at System.Management.Automation.Runspaces.Internal.RunspacePoolInternal.EndOp
en(IAsyncResult asyncResult)
at System.Management.Automation.Runspaces.Internal.RemoteRunspacePoolInternal
.Open()
at System.Management.Automation.RemoteRunspace.Open()
at ConsoleApplication2.Program.Main(String[] args)Hi,
This error only show access is denied, and it is hard for me to deal with this issue, may be Windows Powershell forum or Windows Azure VM are good forums for you, could you give more details information to us for a better help if this issue
was related with windows Azure.
Best Regards
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. -
Error while running a page which contains a region
Hi ADF Experts,
I am having a jsff page fragment. The fragment has panelbox(with some content and button) and a panel group layout(which contains a region).
On click of the button the panelbox is disclosed to false and the region is to be rendered.
But on page load I am getting the below exception. Earlier the page was coming fine. After dragging the region I am getting this error.
Hierarchy is as below:-
<af:panelBox text="Search Filters" id="pb1" type="stretch"
inlineStyle="width:inherit; height:inherit;"
binding="#{pageFlowScope.TreeModel.searchFilterPanelBox}"
partialTriggers="cb3">
<af:commandButton text="Search" id="cb3" partialSubmit="true"
actionListener="#{pageFlowScope.TreeModel.searchorderProposal}"/>
</af:panelBox>
<af:panelGroupLayout id="pgl15" layout="scroll" binding="#{pageFlowScope.TreeModel.searchResultsDisplay}" rendered="false"
partialTriggers="cb3">
<af:region value="#{bindings.BTFSearchResults1.regionModel}" id="r1"/>
</af:panelGroupLayout>
The region contains
<af:panelGroupLayout id="pgl1" layout="scroll">
<af:panelGroupLayout id="pgl16" inlineStyle="width:1239px; height:inherit;"
layout="horizontal">
<!--some content-->
</af:panelGrouplayout>
onclick of the button the region is rendered as true and the disclosure of the panel box im setting as false.
But after adding the region im getting below error.
Caused by: java.io.FileNotFoundException: MDS-01500: The MDSObject /orderproposals.jsff is an XML document and cannot be loaded using StreamedObject API.
Thanks in advance,
RoyI'm not sure about this but using rendered is always a problem if you want to show show the element during a ppr (which is what you do AFAIK). Once a component has rendered='false' is removed from the component tree and can't be put back in there without a full page refresh.
Try using the visible property instead or use an af:switcher component.
Timo -
Error while running Java program which call a file upload servlet
Hi all,
I have a java program which calls a servlet and sends the file to be uploaded by the servlet. I used Jbuilder to create java program and servlet program. I compiled both the programs and compilation suceeded and my class files are avaialbe in
WEB-INF/classes/content directory. But now I am trying to run the Java program(this contains main method) from the command prompt, which should inturn call my servlet.(I have web.xml file inside WEB-INF dir). But I receive the following error
C:\tomcat5.5.15\apache-tomcat-5.5.16\webapps\content\WEB-INF\classes\content>java MultiContentSender
Exception in thread "main" java.lang.NoClassDefFoundError: MultiContentSender (w
rong name: content/MultiContentSender)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
3)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
My dir strcture is as below
TOMCAT_HOME/webapps/content/WEB-INF/classes/content/*.class
I am not able to figure out the error, can anyone throw some light on this issue.You are trying to invoke the class from the command prompt. My guess is that MultiContentSender contains a package, which means that you'll need to add your WEB-INF\classes directory to the classpath before it will work. Classes stored in this directory are expected to be invoked through tomcat, which builds it's own classpath.
Maybe you are looking for
-
Getting unique values from internal table
Hi Gurus, From time to time I hit this problem and so far I havn't found any nice solution. I've an internal table with several fields. I would like to get all unique values for one (or several) of these fields. However let say that this table has a
-
How does one continue to use Mail on the early MacBook Pro, Model 1,1, that is not upgradable to Lion? I have been running iCloud on my iPhone (OS5) and iMac (Lion) along with the MacBook Pro (OS Version 10.6.8) since November until now. Mail will
-
Creating a directory on a remote machine using a UNC path
Hi all, Is it possible to create a directory on a remote machine using a UNC path such as \\Server\Share\Directory? If so, how would i go about this? (Sorry for the newbie question, that's exactly what I am!) Thanks, Rob
-
like it says itunes wont add/load new movies i have to the libary
-
Problem with KM2MCOMBO-L SDR/DDR SocketA mobo
I recently purchased a KM2MCOMBO-L SDR/DDR SocketA mobo to upgrade a dead board which had been flashed with the wrong rom, unforunately the old board could not be easily recovered so this seemed the best way forward. When i installed it and booted th