OBIEE AVGDISTINCT in RPD
Hi
I cannot find the AVGDISTINCT aggregate function in the drop down list in the RPD. I've looked in the properties of the physical database and it's not there either (things like 'COUNT_DISTINCT_SUPPORTED' etc.). The 11.1.1 docs include it, and I quote *"AVGDISTINCT*
*This function calculates the average (mean) of all distinct values of an expression. It must take a numeric expression as its argument."*
This is for 11.1.1.6.2.
I DO NOT want to do this in answers. I need it to be done in the RPD.
Any idea?
Thanks
Martin
What I really want to do is a calculation to work out a total by doing AVG(DISTINCT total)*COUNT(DISTINCT trnx)
It's a long story as to why it needs to be this way but I'll have a go at explaining. Our data is such that there are many many-to-many relationships - this is not a common industry. In a nutshell there can be multiple customers on a single transaction. Each of those customers can have multiple roles on that single transaction. It's way more complex than that but that's a start.
Eg.
CUSTOMER ROLE TRNX_NO TRNX_TOTAL
J. Smith xxxx 10 $100
P. Black yyyyy 10 $100
J. Smith xxxx 45 $100
J. Smith xxxx 145 $600
P. Black xxxx 55 $600
J. Smith zzzzz 10 $100
Now, they want to know how many transactions and the total a customer has been involved in.
CUSTOMER NUMBER_OF_TRNXS TOTAL
J. Smith 3 $800
P. Black 2 $700
Or roles
ROLE NUMBER_OF_TRNXS TOTAL
xxxx 4 $900
yyyyy 1 $100
zzzzz 1 $100
Or customers and roles
CUSTOMER ROLE NUMBER_OF_TRNXS TOTAL
J. Smith xxxx 3 $900
J. Smith zzzzz 1 $600
P. Black xxxx 1 $600
P. Black yyyyy 1 $100
Hopefully, I've got that all right. You can try any way you like but to not over state or under state the counts and totals, the only formula that works is AVG(DISTINCT trnx_total)*COUNT(DISTINCT trnx_no) . It works every time in SQL and would in the RPD if it was allowed.
If I use that formula in Answers it works fine, but I shouldn't have to. Should just be able to drag the pre-calculated column from the RPD!!
Similar Messages
-
OBIEE : Newly created rpd file not showing in the online mode in Admin tool
Hi,
I have recently installed OBIEE 10.1.3.4.2 and Oracle XE databse in a Windows XP (Professional version 2002 Service Pack 3) virtual machine on my Windows 7 machine.
1) I have create an rpd file in Admin tool (all three layers). But I can only load this rpd file in offline mode, not in online mode.
a)Saved the file sanjay1.rpd in c:\OracleBI\server\Repository directory
b)Updated the c:\OracleBI\server\config\NQSConfig.ini (commented out the existing Star entry and replaced it with Star = sanjay1.rpd, DEFAULT;),
c)Modified the C:\OracleBIData\web\config\instanceconfig.xml and made change to the CatalogPath entry (<CatalogPath>C:/OracleBIData/web/catalog/sanjay1</CatalogPath>)
d)Stopped and restarted OC4J, “Oracle BI Presentation Server” and “Oracle BI Server” services.
But I am still not able to load sanjay1.rpd in the Admin tool in the online mode. It is showing up only in the offline mode. What do I need to do load the file in the online mode.
2)The existing Start entry in NQSConfig.ini was Star = samplesales.rpd, DEFAULT before I updated it. But samplesales.rpd is not showing up in online mode either. When I am selecting File/Open/Online a popup is coming up with title "Open Online AnalyticsWeb" and prompting to enter Administrator password. I would like to know why samplesales.rpd was not showing up in online mode and where is AnalyticsWeb coming from.
Thanks
SanjayDear Muram,
Is did not work.
1)Wihile the servers were running I opened the rpd in offline mode. It displayed the message the file can only be opened in the Read-Only mode. I accepted the message, opened the file and clsoed it and exited from Admin tool. I stopped the 2 services “Oracle BI Presentation Server” and “Oracle BI Server” in that order, and restrated them in the reverse order. In the admin tool it is still showing in the offline mode only
2)I have as such no interest in AnalyticsWeb that is showing in the online mode. I did not create it, it must have been installed along with OBIEE. But I am curious where it is coming from. Because A)There is no rpd file for AnalyticsWeb in the Repository Directory B)Before I edited the NQSConfig.ini the default setting was samplesales.rpd. So AnalyticsWeb was never included in the NQSConfig.ini file C) samplesales.rpd was included in the NQSConfig.ini once, but it never showed up online.
Thanks
Sanjay -
OBIEE 10g/11g RPD as a Data Source - Driver Name for metadata imports
Hi,
I'm trying to use OBIEE's RPD as a relational source in Informatica 9.5.1 PowerCenter Designer. I have the ODBC connection to the OBIEE's BI Server and can connect to it. I'm using OBIEE 10.1.3.4.1 (I also need to do something similar with OBIEE 11g). I've posted this question to the Informatica forum as well.
In order to use OBIEE as a third-party relational data source, Informatica needs OBIEE's DLL for metadata imports.
I've tried, with no luck, NQSODBC.DLL & NQSDRIVER.DLL.
Does anyone know what DLL it might be? It could be an issue on Informatica's end as well.
Thanks.Hi,
For some more details, you can refer to the following document;
http://www.oracle.com/technetwork/developer-tools/discoverer/discoverer-metadata-conversion-assi-128504.pdf
My personal expreriences:
The Metadata Conversion Utility is an accellerator / assistant. It does not provide you with an end product. There is some additional handwork requiered. It could be a risk when you copy an old Oracle Discoverer environment. Shit in is shit out. Last but not least; There is not yet a workbook migration utility.
Cheers,
Daan Bakboord
http://obibb.wordpress.com -
OBIEE 11g online RPD change - do you have to restart servers
Hi,
After making ONLINE RPD changes in OBIEE 11G, do I still have to restart services from Enterprise manager?
Thanks for your time and help.Hi ssk1974,
No. Only when you make change offline, then you need to deploy the rpd and then restart bi services.
Regards,
Kalyan Chukkapallli
http://123obi.com -
Obiee Reports and RPD Migrations
Hi All,
Could you please any one help me the steps for OBIEE reports & RPD migrations/deployments from instance to other instance.
Ex:-
scenario 1 :- i changed the reports (or) developed the new reports at development server , now i want to move this to other servers like UAT / PROD
scenario 2 :- i changed the existing RPD (or) developed the new logics in RPD at development server , now i want to move this to other servers like UAT / PROD
please help me the with steps.
Thanks,
Surendra.Hello User,
You can do that in two methods:-
Method-1:-
i) FTPing the RPD and Webcatalog of DEV from Devinstancer to your Local Machine
ii) Again FTPing the Same RPD and WebCatalog from your local Machine to the UAT/Prod Server instance
iii) And modifying the NQSConfig and Instance Config accordingly.
Method-2:-
http://obiee-rk.blogspot.com/2012/01/migration-of-rpd-and-catalog-from.html
Let me know if u need any more info on this...
Thanks,
OBIEELearner. -
How to use CAST function in obiee 11g in rpd
Hai,
I am trying to use the cast fucntion in rpd in bmm layer for a new logical column that I have created and is giving me error compile message.
Can any one please help me out or find out what is wrong in the function I am using.
The expression I am trying to use is
( CAST ( "Chase Card Acquisition"."Fact Deposit"."Base Earn" as decimal(18,0) ) + "Chase Card Acquisition"."Fact Deposit"."Tot Bonus Earn" )Decimal is not a supported type in the logical layer. See:
http://docs.oracle.com/cd/E21764_01/bi.1111/e10540/sqlref.htm#BIEMG559
for supported types.
If you are casting as Int then do not specify the precision ('cast x as int' NOT 'cast x as int(y,z)'). Regards,
Robert -
Hi,
I have installed obiee 10g (10.1.3.4.2) in windows server 2008. After installing, when I tried to open the Admintool it is giving me the below error.
The application has failed to start because its side by side configuration is incorrect. Please see the application event log or use the command-line sxtrace.exe tool for more details
Restarting the machine also does not work. Presentation Services were not started. When tried to start the services, it is throwing error like asking to check the system log. Is this stopping Admin tool to open..?
What could be the wrong with presentation services. I havent changed anything. I have reinstalled and restarted the machine, still same problem
Please help...
Thanks in advanceHI,
I see there are totally 3 programs listed with the naming convention --
"'MS VC++ 2005 Redistributable(x64)"
"'MS VC++ 2008 Redistributable(x64) x86 9.0.30729.4148"
"'MS VC++ 2008 Redistributable(x86) x86 9.0.30729.4148"
I am not sure which one to uninstall and reinstall out of these listed programs.
Is this causing the issue to display error while opening the Admin tool ?
Please help with your inputs
Thanks -
Need help on OBIEE 11g. RPD or Analytics
Hello,
I have a requirement.. for which the data in columns(in database) needs to get counted based on conditions and should be displayed in Rows in the reports.
Example below
The data in the table is as shown below.. in columns
Eng_code Math_code Read_code
1 2 1
1 2 2
2 3 3
U 2 U
3 1 U
In the report the data should be displayed as below...
Total
Eng xxx
Math xxx
Read xxx
I dont have this Eng, Math, Read flags in the table and I have to derive them based on the columns. I'm trying to get this using a case like
case when Eng_code in ('1','2','3','U') then 'Eng'
when Math_code in ('1','2','3','U') then 'Math'
when Read_code in ('1','2','3','U') then 'Read'
But I'm getting only 'Eng' as the result. Any help would be greatly appreciatedHi User,
It seems to be you need a Count( Engg_Code), Count(Math_code), Count(Read_code) and show all of them Under same Column Total.
Create Logical column in Rpd to calculate those counts.
Logical column 1 -> Name it as 'Total Eng Codes' -> Count(Engg_code)
Logical Column 2 -> Name it as 'Total Math codes' -> Count(Math_code)
Similarily even for Read_code.
This shows count of those values like 200, 400, 600 individual.
But, if you want to show Like Eng 200, Math 400, Read 600.....
Then cast the same column using this one Concatenate (Eng ||Total Eng Code)
similarily, all the three.
Take a column Conc(Eng || Total Eng Code) custom name : Total.
Now, using union by similar request or else, by writing case statement read other two values.
Using similar request- Take intially, one column. (Apply union - click on combine similar request)
- Now take second column.
Similarly add as many number of columns as required -
Hi All,
I went through many topics on forums on how to upgrade the rpd and webcat from 11.1.1.5 to 11.1.1.6,it was mentioned that :
The obiee11.1.1.5.0 RPD,Catalog are supporting in obiee11.1.1.6.0 version. but should deployee it via Weblogic EM(FMW)
http://obiee11gqna.blogspot.com/2011/05/obiee-11g-deploy-rpd-create-new-catalog.html
I tried using the same rpd and webcat from obiee 11.1.1.5 and followed the above steps but after services are successfully started I cannot open the rpd in online mode it throws the error:
Successful completion of init block 'FndGetSecContext' is required.
could not connect to the bi server instance
and also on opening webcat its not accepting the paassword which earlier it had accepted.
Can someone please let me know what could be the cause for the above issues.
Thanks in Advance.
Regards,
AmritHi,
befor deploying your obiee11.1.1.5.0 RPD file just open as offile mode via obiee11.1.1.6. rpd then try check the
metadata gloable consistency (ctrl+k) then make sure no error i hope there is some issues on your init block its making problem just fix it then try deploy it and refresh GUID then try to login analytics it should work.
Note: there are some init block (I hope this init block FNDGetSecContext having problem just double check )
are failed just make sure and delete unused variables and init block and one more thing are u integrated with EBS?
thanks
Deva
Edited by: Devarasu on Jun 21, 2012 1:53 PM -
OBIEE 11g RPD and case study document required for practice
Hi OBIEE guru's,
Could you please help me by posting OBIEE 11g sample RPD and case study document for creating Answers and Dashboards.
I need to brushup my skills on creating Answers and Dashboards.
Thanks in advance.Satya,
have you looked at the sample app. This has many different cases and you can "play" with the data yourself. Quite powerful:
http://www.oracle.com/technetwork/middleware/bi-foundation/obiee-samples-167534.html
have fun
alex -
Cross subject area analysis in OBIEE 11 RPD
Hi,
Can anybody tell how to implement Cross subject area analysis in OBIEE 11g in RPD. What are the changes in OBIEE 11g wit respect to Cross subject area analysis when compared to OBIEE 10g.
Thanks,
AnileshHi,
Its same as 10g, but when applying filters, you can hide or unhide the filters.
http://prasadmadhasi.com/2012/01/30/working-with-multiple-subject-areas-in-obiee-11-1-1-5-0/
http://oraclebiee11g.blogspot.in/2011/01/querying-across-multiple-subject-areas.html
Using answers-
http://gerardnico.com/wiki/dat/obiee/multiple_subject_area
Please let me know further and hope this helped/ answered.
Regards
MuRam -
hi all,
iam new to obiee .
after creating rpd how the data will be updated daily..
suppose weekly data is updating then how it will be reflected in rpd.
is there any other way to update rpd except update row countI think you are getting confused due to the "row counts" feature. This is only there to give you an idea of how many rows the physical table has. It has no other meaning nor it needs to be updated for OBIEE to work. As Stijn say everything in the RPD is metadata and the underlying database(s) will be hit when the user executes a report, no matter what the row counts say in the RPD.
-
Running two rpd in obiee at same time in same machine.
can OBIEE run two rpd files at the same time?
if can, how to config it?
I need to run these rpds in a single machine so how is it possible.
could u plz sort out the issue.Yes,you can run two rpd files in single OBI server.But you need to have two different presentation server(machines) to access the web.
Star = paint.rpd, DEFAULT;
Star = Personal.rpd ;
while configuring the ODBC select the option -CHANGE DEFAULT RPD TO : type the RPD name.
This is simple and i don't see any performance or other issues -
Not getting connected to a data source in obiee 11g
Hi friends,
In OBIEE 11g I cannot able to import meta data into a new repository...
It is not connecting to data source for importing meta data
It throws the error like connection is failed....
I have also restarted the services and also checked for the odbc connectivity it is showing connection is
successful..
I also entered the corresponding details in TNS notepad...
These are the following details
TEST =
(DESCRIPTION =
(ADDRESS =
(PROTOCOL = TCP)
(HOST = 172.16.1.110)
(PORT = 1522)
(CONNECT_DATA =
(SID = TEST)
The data source name that i was given is ORCLBI for my reference...
Then why it is not getting connecting to the data source..Help me friends For importing tables to my repository as soon as it is connected to the data source...
Thanks
Harry...Hi,
Go through venkat reply in this...May help you..Re: Cannot connect to Database from the OBIEE 11g upgraded RPD
Regards,
Srikanth -
Can you create a group in the OBIEE Admin Tool (RPD) that has read only rights to the RPD? I want to grant access to the RPD to a group of users, but do not want them to be able to make any changes to the RPD. Is this possible?
hi,
Only a user who belongs to Administrators group can access/login to rpd there no question of having read only access to rpd
Thanks,
Saichand.v
Maybe you are looking for
-
Stereo Audio in from FCP to DVDSP
I can't seem to figure out how to create stereo audio when compressing from FCP5. My workflow... I export my timeline using compressor I pick and export such as DVD 150 minutes best I choose all so that I have MPEGS, AIFF and Dolby AC3 I generally do
-
Document Type: Purchase Order
Dear All, We have configured the following Document Type: NB - Standard PO UB - Stock transport ord. ZIMP - Import PO While creating the Purchase Order (ME21N), all these three Document Types are visible to all the Users for Transaction across all Pl
-
Inserting rows in table control(Module pool)!!
Hi, Pls provide me with some code sample for inserting rows in a table control (module pool)... Regards Gunjan
-
Can i create a button that allows users to insert a line into a table if neede more space
if so how in step by step please and thank you
-
Reducing tabs in the interaction widgets in captivate 6
Hi can someone tell me how to reduce the number of tabs in the interaction widgets. I am always presented with 4 with an option to increase when what I want to do is remove one or two of the buttons instead. Can someone please help as this is limitin