Aggregation table - Diffrent agg levels for base table and agg table
Is it possible to have Different aggregation level for base table and Aggregation. Say sum on a column in AGG table and Count for the same column in Fact table.
Example
Region,Day_product,sales person, customer are dimensions and Call is a fact measure
FACT_TABLE has columns Region, Day, Product, Sales person,Customer, Call
AGG_TABLE has columns Region, Month,Product, call
We already have a Logical Table definition for the fact table say FACT_CALL
We have a Logical column called No of customers.
For the Data source as FACT_TABLE Formula for the column is "Customer" and Aggregation level is count distinct.
But agg table we already have a calculated column call TOT_CUSTOMERS. which is been calculated and aggregated in the ETL.
IF we map this to the logical column we have to set the formula as TOT_CUSTOMERS and we need to define aggregation type as SUM as this is at REGION, MONTH AND Product level. But OBI does not allow to do so.
Is there a work around for this? Can you please let us know.
Regard
Arun D
The way BI server picks up the table that would satisfy the query is through column mappings and contents levels. You have set the column mappings to TOT_CUSTOMER, which is right. When it comes to aggregation, since its already precalculated through ETL, you want to set the aggregation to SUM. Which I would say - is not correct, you can set the aggregation to COUNT DISTIMCT which is same as that of the detailed fact. But set the content levels to month in date table, and appropriate levels in region etc., So now BI Server will be aware of how to aggregate the rows when it chooses the agg table.
Similar Messages
-
Documentation on Integration Scenarios for BAS-PV and DES
Hi,
Is there any documentation on the Integration Scenarios for BAS Postal Validation, and Duplicate-Check and Error-Tolerant Search for ECC 5.0?
What we have is only for R3 4.6, and the behavior of business partners for ECC 5.0 is very much different as compared to R3 4.6.
Thanks!The newest release of the sharepoint kit called internally (ipoint) should work fine with java infoview. I haven't set this up my self and you may need to open an incident with support to verify if Edge supports the newest sharepoint kit.
Regards,
Tim -
Architecture for base Product and customized versions of product
Hello
We have a product written in Flex.
We have several customers who have this product. The product is customized to each customer. When starting a new project, we copy the project of a customer who had similar requirements, and then make further changes.
We have this idea to have a base product layer and then have a customization layer where we can place project and customer-specific fuctionalities. Also: when we update the base product, these updates can be incorporated into the customized versions.
I wonder how can you accomplish this in Flex?
Thank you,
Juan EstebanDeveloping a good plug-in architecture is *hard*.However, it's definitely worth it. The best approach will depend on exactly what you want to do. At the high level, you can:
1. Write the base application and load plug-in modules, and allow them to changes aspects of the application behavior or style
2. Turn your base application into a core application logic library and a (separate) custom component library, and turn each customer implementation into a new project that leverages these.
If you use dependency injection (e.g., SmartyPants or SwiftSuspenders), you can allow (1) a fairly flexible manner of interacting with the application without depending on gynormous "context" objects. You just need to perform injections on the loaded plugins, and they can pick up any dependencies without having to worry about anything else.
Whether (1) or (2) makes more sense will depend on exactly what you're trying to do, but in general, (2) is more flexible while (1) is somewhat simpler (and generally less per-implementation work). -
Different Sound Levels For Key Pad And Incoming Ca...
I have a Nokia Lumia 520.
How do I set the volume differently so that I have:-
A quiet tone (say level 1/30) when I type numbers into the key pad for dialling numbers AND
a louder ring tone for incoming calls (say level 15/30).
Thanks in advance for any replies.garym11 wrote:
trip_to_tokyo wrote:
I don't find a, "read the manual" a helpful answer.
I did NOT give the link to the Users Guide as an answer to your question!!
I gave it as another source of information for you to learn more about your phone.
I gave step by step info. Try it.
Some people appriciate the help they get here, some do not.
As far as I can see your proposed solution:-
What do you want to do?
To turn off keypress sound?
tap settings > ringtones+sound > uncheck 'key press' in 'play a sound for'
- fails testing for the following reasons:-
1. There is no:-
play a sound for
- option in the:-
ringtones+sounds
- list which appear as follows in my screen:-
SETTINGS
ringtones + soun
Ringer
Off
Vibrate
Off
Ringtone
Macro
get more
New text or IM
Nokia message
New voicemail
Nokia email
2. I am not trying to:-
To turn off keypress sound?
3. What I am trying to do I have already stated in my first posting:-
How do I set the volume differently so that I have:-
1. A quiet tone (say level 1/30) when I type numbers into the key pad for dialling numbers AND
2. a louder ring tone for incoming calls (say level 15/30).
Thanks in advance for any replies.
Attachments:
nokia_lumia_520_issue_two_1.docx 13 KB -
Problems using different tables for base class and derived class
I have a class named SuperProject and another class Project derived from
it. If I let SchemaTool generate the tables without specifying a "table"
extension, I get a single TABLE with all the columns from both classes and
everything works fine. But if I specify a "table" for the derived class,
SchemaTool generates the derived class with just one column (corresponds
to the attribute in derived class). Also it causes problems in using the
Project class in collection attributes.
JDO file:
<jdo>
<package name="jdo">
<class name="Project" identity-type="application"
persistence-capable-superclass="SuperProject">
<extension vendor-name="kodo" key="table" value="PROJECT"/>
</class>
<class name="SuperProject" identity-type="application"
objectid-class="ProjectId">
<field name="id" primary-key="true"/>
</class>
</package>
</jdo>
java classes:
public class Project extends SuperProject
String projectSpecific
public class SuperProject
BigDecimal id;
String name;
tables generated by SchemaTool:
TABLE SUPERPROJECTSX (IDX, JDOCLASSX, JDOLOCKX, NAMEX);
TABLE PROJECT(PROJECTSPECIFICX)
Thanks,
Justine ThomasJustine,
This will be resolved in 2.3.4, to be released later this evening.
-Patrick
In article <aofo2q$mih$[email protected]>, Justine Thomas wrote:
I have a class named SuperProject and another class Project derived from
it. If I let SchemaTool generate the tables without specifying a "table"
extension, I get a single TABLE with all the columns from both classes and
everything works fine. But if I specify a "table" for the derived class,
SchemaTool generates the derived class with just one column (corresponds
to the attribute in derived class). Also it causes problems in using the
Project class in collection attributes.
JDO file:
<jdo>
<package name="jdo">
<class name="Project" identity-type="application"
persistence-capable-superclass="SuperProject">
<extension vendor-name="kodo" key="table" value="PROJECT"/>
</class>
<class name="SuperProject" identity-type="application"
objectid-class="ProjectId">
<field name="id" primary-key="true"/>
</class>
</package>
</jdo>
java classes:
public class Project extends SuperProject
String projectSpecific
public class SuperProject
BigDecimal id;
String name;
tables generated by SchemaTool:
TABLE SUPERPROJECTSX (IDX, JDOCLASSX, JDOLOCKX, NAMEX);
TABLE PROJECT(PROJECTSPECIFICX)
Thanks,
Justine Thomas
Patrick Linskey [email protected]
SolarMetric Inc. http://www.solarmetric.com -
Can I enable menu for base document and target document for user forms
Hello friends
I want to add Base and target document functionality for our addon
but when i do this
oform.EnableMenu("5899", True) ' 5899 is menu uid for target document
i got this exception
Menu - Not found [66000-27]
Is there another way around
Thanks in advance ....
AtulAtul try adding this to ur form Xml schema and specify the userdatasrc(bold text) for the form as well..
<item uid="10000329" type="113" left="475" tab_order="0" width="90" top="481" height="19" visible="1" enabled="0" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific AffectsFormMode="1" TabOrder="0">
<ValidValues>
<action type="add">
<ValidValue value="A/R Credit Memos" description="14" />
</action>
</ValidValues>
<b><databind databound="1" table="" alias="SYS_312" /></b>
</specific>
</item>
<item uid="10000330" type="113" left="380" tab_order="0" width="90" top="481" height="19" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute />
<specific AffectsFormMode="1" TabOrder="0">
<ValidValues>
<action type="add">
<ValidValue value="Sales Quotations" description="23" />
<ValidValue value="Sales Orders" description="17" />
<ValidValue value="Deliveries" description="15" />
</action>
</ValidValues>
<b><databind databound="1" table="" alias="SYS_313" /></b>
</specific>
</item> -
Bex Patch level for Windows 7 and SAP GUI 710
Hi,
We have the machine with following config:
O.S - Windows 7
SAP GUI - 710
MS Office 2007
When a user logs into Bex Analayzer, clicks on Add-ins he gets an error message in German.
Same kind of problem was encountered with Office 2003, but MS fix 907417 solved the problem.
But i am not able to find any such fix for Office 2007.
Can anyone tell me what should be the patch level of Bex in this case?Hi,
What is the exact error message you are getting?
Thanks
Riyez -
More than one summary level for a matrix with group
Hello friends at www.oracle.com ,
I have a report where I need to create a summary level for each row and column. In the Report wizard, it works finely, creating the summary for the 1st matrix group level.
However, if I have some extra matrix group levels - that is, a 2nd or a 3rd level -, it seems that Reports doesn't create its summary levels.
How can I create other summary levels at the matrix, outside the inner matrix?
Best regards,
Franklin Goncalves Jr.Hello petpandian,
I have a little example that intends to demonstrate what I really need. Hope it is clear enough.
(Below you can see the output I am looking for)
..................MONTH/YEAR
CITY REGION 04/2005.....05/2005
AA.....BB......$ 10,00.....$ 15,00
...............$ 11,00.....$ 16,00
Totals for BB: $ 21,00.....$ 31,00
..................MONTH/YEAR
CITY REGION 04/2005.....05/2005
AA.....CC......$ 30,00.....$ 11,00
...............$ 40,00.....$ 15,00
Totals for CC: $ 70,00.....$ 26,00
Totals for AA: $ 91,00.....$ 57,00 <-- Totals separated for each region and month/year.
As you can see, I need a matrix with group(s) around it. 1st group level is the city (AA), and I have its regions BB and CC. After showing BB values, I have BB totals for each month/year. Same applies to CC totals.
However, I expect that these results can be showed for its outside group (in this example, CITY AA), and what I have in return is the sum of all values in a single field:
Totals for CC: $ 70,00.....$ 26,00
Totals for AA:.....................$148,00 <--- The sum of all totals: it's not separated as above.
I think I should have a matrix inside a matrix, so I would have totals for each region, and totals for each city, separating by its regions and month/year.
The only solution I found was to calculate it manually via PL/SQL and inserting it into a temporary table. However, I think it is not the ideal solution because PL/SQL instructions have to handle the totals, something that Reports should do, and that's why I need help.
Your help will be greatly appreciated. Thanks in advance.
Best regards,
Franklin Goncalves Jr. -
Setting transaction isolation level for jDriver Oracle/XA
edocs (http://e-docs.bea.com/wls/docs70/oracle/trxjdbcx.html#1080746) states that,
if using jDriver for Oracle/XA you can not set the transaction isolation level
for a
transaction and that 'Transactions use the transaction isolation level set on
the connection
or the default transaction isolation level for the database'. Does this mean that
you shouldn't try to set it programatically (fair enough) or that you can't set
it in the weblogic deployment descriptor either? Also anybody got any idea what
the default is likely to be if you are using
an Oracle 9iR2 database?Ian,
The default for Oracle (any version) is ReadCommitted. The only other
isolation level Oracle supports is Serializable but it's implemented in
such a way that you will be allowed to continue until commit time and
only then you might get an exception stating the the access for that
transaction could not be serialized.
I don't know for the jDriver but if you use the Oracle Thin XA driver
even if you set the isolation level in your descriptor you will get an
exception from Weblogic. It is a Weblogic bug and you can contact
[email protected] to get a patch.
Regards,
Dejan
IJ wrote:
edocs (http://e-docs.bea.com/wls/docs70/oracle/trxjdbcx.html#1080746) states that,
if using jDriver for Oracle/XA you can not set the transaction isolation level
for a
transaction and that 'Transactions use the transaction isolation level set on
the connection
or the default transaction isolation level for the database'. Does this mean that
you shouldn't try to set it programatically (fair enough) or that you can't set
it in the weblogic deployment descriptor either? Also anybody got any idea what
the default is likely to be if you are using
an Oracle 9iR2 database? -
The device failed to calibrat the laser power level for this media
Hi,
Does anyone knows what this means:
"the device failed to calibrat the laser power level for this media"
And, any selutions for it?
Thinks.
EdPure voodoo, but heck, it's worth a try!
Just to simplify:
Open System Preferences.
Click on "International"
Under "Languages": Drag any of the other languages to the top,
then drag English back to the top.
Set "Order for sorted lists" to English
Set "Word Break" to English (United States, computer)
Close System Preferences
Restart computer
Thanks Greg! -
Unconsistency concerning level adjustment, master display and proofing
I'm opening a new thread on this since the other one (here) is already marked as answered claiming that Aperture 1.5.4 solves the problem, when in fact it does not. Here is my problem description which I also just submitted as a bug report:
Without any adjustments made, the display of the working copy does not match the display of the master image. The most prominent feature of this difference is that the shadow areas appear lighter in the master.
Now checking the level adjustment box, but without actually moving any slider there, already changes the appearence and histrogram of the working copy. It appears now to be the same as the master. Unchecking the box darkens the shadows again most the time, but not always.
With an unchecked levels box and in fullscreen mode with the film stripe automatically hidden, moving the mouse to the filmstrip so that it appears sometimes has the same effect on the image as checking the levels box, but not always.
Also, enabling onscreen-proofing with the color profile of the monitor (which effectively should change the working color space to that profile) makes the master image appear to be the same as the working copy without the level adjustment box checked.
To summarize, we have the following correspondecies
Light shadows:
- master display with onscreen-proofing disabled
- working copy without any adjustments, but level box checked
- sometimes working copy in fullscreen mode with mouse over automatically hidden film stripe
Dark shadows:
- master display with onscreen-proofing using the monitor display
- working copy without any adjustments, level box unchecked
I use a Canon 300D in RAW mode. Since exporting and displaying images in a viewer seems to show the "light shadows" version, my first idea for a work-around was to select all images without level adjustments and add a "null-adjustment" to them (level box checked, but sliders not moved). Unfortunately, there does not seem to be a way to make this kind of selection automatically (e.g. by using a filter), or am I missing something here? Any ideas on this are highly appreciated.
Message was edited by: bblankenburg
Message was edited by: bblankenburgewaller wrote:
I bet you are fighting with Pulseaudio. KDE now pulls it in and uses it (IIRC).
Pulse audio allows the control of audio levels on a source by source basis. The master volume and balance are set in Pulse audio. Amixer output is just one of the sources available, and the volume setting is the relative volume of the source, but pulseaudio defines the maximum level for each source and scales it accordingly.
Try emerging pavucontrol and see if the controls in there make any sense. It also provides audio level meters on a source by source basis (They really don't behave like broadcast Vu or Peak-power meters -- but that is not terribly important)
Well after reading this I checked to see if pulse was installed but the only thing that was listed as being installed was libpulse. It doesn't seem like pulse audio is installed, so I don't think this is my issue. -
Best RAID configuration for storing Datafiles and Redo log files
Database version:10gR2
OS version: Solaris
Whis is the best RAID level for storing Datafiles and Redo log files?Oracle recommends SAME - Stripe And Mirror Everything.
In the RAC Starter Kit documentation, they specifically recommend not using RAID5 for things like voting disk and so on.
SAN vendors otoh claims that their RAID5 implementations are as fast as RAID10. They do have these massive memory caches...
But I would rather err on the safer side. I usually insist on RAID10 - and for those databases that I do not have a vested interest in (other than as a DBA), and owners, developers and management accept RAID5, I put the lead pipe away and do not insist on having it my way. :-) -
Item level tabstrip to me51n and me54n
Hi,
I need to add a tab strip at item level for tcode ME51N and ME54N.
This tab will contain 1 field which will show stock info
Kindly let me know if there is any badi existing for the same along with the procedure.
Thanks in advance
AjayHi,
please find some BADIs for ME51n transactions.
ME_PROCESS_PO
ME_PROCESS_PO_CUST
ME_PROCESS_REQ
ME_PROCESS_REQ_CUST
ME_MEREQ_PARKING
ME_REQ_HEADER_TEXT
Thanks -
Required to create a script for base table update using XMLSTORE package.
Hi can anybody provide me some help full suggestion on how to update base table using XMLSTORE package.
I created a simple script for Employee table and can able to do the basic operation like Insert and update on the table.
Query is as follow's
DECLARE
insCtx DBMS_XMLSTORE.ctxType;
rows NUMBER;
xmlDoc CLOB :=
'<ROWSET>
<ROW num="1">
<EMPLOYEE_ID>922</EMPLOYEE_ID>
<SALARY>1801</SALARY>
<HIRE_DATE>17-DEC-2007</HIRE_DATE>
<JOB_ID>ST_CLERK</JOB_ID>
<EMAIL>RAUSSJACK</EMAIL>
<LAST_NAME>JACK</LAST_NAME>
<DEPARTMENT_ID>20</DEPARTMENT_ID>
</ROW>
<ROW>
<EMPLOYEE_ID>923</EMPLOYEE_ID>
<SALARY>2001</SALARY>
<HIRE_DATE>31-DEC-2005</HIRE_DATE>
<JOB_ID>ST_CLERK</JOB_ID>
<EMAIL>PATHAK</EMAIL>
<LAST_NAME>PRATIK</LAST_NAME>
<DEPARTMENT_ID>20</DEPARTMENT_ID>
</ROW>
</ROWSET>';
BEGIN
insCtx := DBMS_XMLSTORE.newContext('EMPLOYEES'); -- Get saved context
DBMS_XMLSTORE.clearUpdateColumnList(insCtx); -- Clear the update settings
-- Set the columns to be updated as a list of values
DBMS_XMLSTORE.setUpdateColumn(insCtx, 'EMPLOYEE_ID');
DBMS_XMLSTORE.setUpdateColumn(insCtx, 'SALARY');
DBMS_XMLSTORE.setUpdateColumn(insCtx, 'HIRE_DATE');
DBMS_XMLSTORE.setUpdateColumn(insCtx, 'JOB_ID');
DBMS_XMLSTORE.setUpdateColumn(insCtx, 'EMAIL');
DBMS_XMLSTORE.setUpdateColumn(insCtx, 'LAST_NAME');
DBMS_XMLSTORE.setUpdateColumn(insCtx, 'DEPARTMENT_ID');
-- Insert the doc.
rows := DBMS_XMLSTORE.insertXML(insCtx, xmlDoc);
--COMMIT;
DBMS_OUTPUT.put_line(rows || ' rows inserted.');
-- Close the context
DBMS_XMLSTORE.closeContext(insCtx);
END;
SELECT employee_id, LAST_name FROM employees WHERE employee_id = 114;
DECLARE
updCtx DBMS_XMLSTORE.ctxType;
rows NUMBER;
xmlDoc CLOB :=
'<ROWSET>
<ROW>
<EMPLOYEE_ID>114</EMPLOYEE_ID>
<LAST_NAME>PRABHU</LAST_NAME>
</ROW>
</ROWSET>';
BEGIN
updCtx := DBMS_XMLSTORE.newContext('EMPLOYEES'); -- get the context
DBMS_XMLSTORE.clearUpdateColumnList(updCtx); -- clear update settings
-- Specify that column employee_id is a "key" to identify the row to update.
DBMS_XMLSTORE.setKeyColumn(updCtx, 'EMPLOYEE_ID');
rows := DBMS_XMLSTORE.updateXML(updCtx, xmlDoc); -- update the table
DBMS_XMLSTORE.closeContext(updCtx); -- close the context
commit;
END;
Nowi want little modification on this above query like as i am passing static XML tags and i want it to pick the dynamic XML from web and use the XMLSTORE for the update.
and also for complex XML having 2-3 levels how this query needs to be changed.As i am new to this Oracle utillity any help from xepert will be a great help for me.
ThanksNowi want little modification on this above query like as i am passing static XML tags and i want it to pick the dynamic XML from webFrom a Web Service?
You'll need UTL_HTTP or HttpUriType interface to send the request and receive the XML response.
Search in the forum, there are already a lot of useful examples available.
and also for complex XML having 2-3 levels how this query needs to be changed.DBMS_XMLStore is OK for readily processing a canonical XML format (/ROWSET/ROW/COLUMN structure or alike).
However, if you have to deal with a more complex structure, you either have to :
- use a target object table that matches the XML structure
- preprocess the input document using XSLT to transform it to canonical format
That's why DBMS_XMLStore is not appropriate for multilevel documents, especially if they contain nested repeating groups.
In this case, XMLTable is a more flexible way of parsing the XML and process it relationally at the same time.
Depending on the size of the document, performance may be improved with schema-based object-relational storage.
For more help, please post a new thread in the {forum:id=34} forum, with the following information :
- database version (select * from v$version)
- a sample XML document (the complex one)
- DDL of your target table
- mapping between XML elements and columns (ie which tag goes to which column?)
- an XML schema (if you have one) -
Logical level for logical fact table sources
it is clear that for fact aggregates, we should use the Content tab of the Logical Table Source dialog to assign the correct logical level to each dimension.
question is : is it mandatory to assign even for non-aggregates fact tables the logical level for each dimension (which normally should be set to the most detailed level of each dimension) ? is it any known issue if "logical levels"in content tab are not set ?
the reason I'm asking this is a strange bug I have (I'm not going to discuss it here) and then only workaround seems to be NOT setting the logical levels (on content tab) for logical fact table sources.
thank you !If levels are not set: By default levels are considered as lowest level
It should not matter if you set or not
Generally we set for facts explicitly when we are using Aggregate tables.
Your current issue might be a case by case; I would suggest to check implicit fact, any table mapped to the source to force a join etc
Mark if helps
Let me know how it helps
Edited by: Srini VEERAVALLI on Feb 5, 2013 8:33 AM
Any updates on this?+_
Edited by: Srini VEERAVALLI on Feb 14, 2013 9:09 AM
Maybe you are looking for
-
what's this? Working on a Macbook Air 2011
-
IWDTabStrip cannot be resolved or is not a type
I receive the following error: IWDTabStrip cannot be resolved or is not a type and IWDTab cannot be resolved or is not a type If I choose organize imports, but nothing changes. if (wdContext.currentAdviceElement().getRequestType().equals("TA")) {
-
If I've made a song with remixed loops, can I post it on SoundCloud to share with facebook friends and stuff? Regarding this statement from the software license agreement: "...however, individual audio loops may not be commercially or otherwise distr
-
MTE class for the monitoring SAPDB systems (tcode DB50)
Hi! I would like to set up the monitoring of tcode DB50. Here I would like to check, whether the monitors DB50 --> Problem analysis --> SQL performance --> Command monitor as well as DB50 --> Problem analysis --> SQL performance --> Resource monitor
-
Request flow in struts portlet
Hi , I am new to portlet development Please validate this. I have launched my index page through a struts portlet. I am trying to call another action from my index page (which is not a portlet ,it s just a struts action). Should this action must be c