Delete data for a single dimension member
Is there anyway to delete all the data for a single dimension member from a particular cube?
olap version: 11.2.0.3
Nasar's approach should work, so I would use it so long as it performs well. But I have (several years ago) seen performance issues with CLEAR VALUES when it is applied to something smaller than an entire partition. So here is another method that also uses the FOR...BUILD construct. It clears the value of the PRICE measure in PRICE_COST_CUBE for PRODUCT = '48'. The cube has only two dimensions, TIME and PRODUCT, and I only want to assign to the leaf level of TIME, which is MONTH.
BEGIN
DBMS_CUBE.BUILD(Q'!
"PRICE_COST_CUBE" USING(
FOR
"TIME" LEVELS ("TIME"."MONTH"),
"PRODUCT" WHERE "PRODUCT".DIM_KEY = '48'
BUILD (SET PRICE_COST_CUBE.PRICE = NULL ))!',
PARALLELISM=>0,
ADD_DIMENSIONS=>FALSE);
END;
/You can increase parallelism here if your cube is partitioned. If you need to clear out other measures at the same time, then add additional SET command in the central block. E.g.
BUILD
SET PRICE_COST_CUBE.PRICE = NULL,
SET PRICE_COST_CUBE.COST = NULL
)After this step you can re-aggregate the cube to make the aggregate values reflect the change.
BEGIN
DBMS_CUBE.BUILD(Q'!
"PRICE_COST_CUBE" USING(
FOR
"TIME" LEVELS ("TIME"."MONTH"),
"PRODUCT" WHERE "PRODUCT".DIM_KEY = '48'
BUILD (SET PRICE_COST_CUBE.PRICE = NULL ),
SOLVE)!',
PARALLELISM=>0,
ADD_DIMENSIONS=>FALSE);
END;
/The simple assignment to NULL will generate a simple assignment in the OLAP DML.
PRICE_COST_CUBE_STORED=NAYou can force the code to loop over the existing composite by replacing NULL with something that evaluates to NULL, but involves the composite.
SET PRICE_COST_CUBEW.PRICE = NVL2(NULL, PRICE_COST_CUBE.PRICE, NULL)Here is the generated OLAP DML assignment.
PRICE_COST_CUBEW_STORED=NVL2(NA, GLOBAL.GLOBAL!PRICE_COST_CUBEW_PRICE
, NA) ACROSS GLOBAL.GLOBAL!PRICE_COST_CUBEW_COMPOSITE
Similar Messages
-
Exporting Data for a single set of books from Oracle Financials
I have a multiorg set-up with multiple set of books in an Oracle instance. I want to be able to export data for a single set of books into a new Oracle instance.
Any insight into how this can be done (without going through each of the tables and referential integrity constraints) will be of great help
thanks
anoopIt is a bit unclear what you are sending these POs to the other system for? Is it for matching to invoices there? Is it for receiving into inventory there?
Are these two entities belong to the same parent but on two different oracle apps databases?
In essence what do they do with the PO that you are sending to them?
Why do you think there will be intercompany invoicing?
Thanks
Nagamohan -
Flag deletion date for customer
Hello All,
I have a requirement to get the flag deletion date for a customer on a sales organization level in a report, maintained in XD03/VD03 -
Have written the below code.
The problem with this is that the date is not fetched sometimes for a particular sales org.
Could anybody suggest?
Regards
Varshayes there is a field which stores the last date for a customer transaction
Regards
PS: Be clear in your question. -
How to export data from Elimination Value dimension member by HAL HFM adapter?
Good day!<BR><BR>Is it possible to export HFM 4.0.5 data with HAL from the <Elimination> Value dimension member?<BR><BR>In 3.* versions it wasn't and there is Known Issue in the "HFM 3.* Adapter Read Me" file: "The Hyperion Financial Management Adapter exports data using the <entity currency> Value dimension member. The documentation erroneously states that there is a port available for the Value dimension"<BR>But there is not such point in the same file for HFM 4.0.5 AND there is Value port in the HFM 4.0.5. Adapter.<BR><BR>Thanks!<BR><BR>Regards,<BR>Georgy<BR>
In the first approch, try to change the exporting parameter type REF TO DATA.
Try like:
CLASS lcl_test DEFINITION.
PUBLIC SECTION.
DATA: t_mara TYPE HASHED TABLE OF mara WITH UNIQUE KEY matnr.
METHODS:
constructor,
get
IMPORTING
if_matnr TYPE matnr
EXPORTING
ea_mara TYPE REF TO data.
ENDCLASS. "lcl_test DEFINITION
START-OF-SELECTION.
DATA: lo_test TYPE REF TO lcl_test,
lr_data TYPE REF TO data.
FIELD-SYMBOLS: <fa_mara> TYPE ANY,
<f_field> TYPE ANY.
CREATE OBJECT lo_test.
lo_test->get(
EXPORTING
if_matnr = '000000000077000000' " << Replace Your Material
IMPORTING
ea_mara = lr_data ).
ASSIGN lr_data->* TO <fa_mara>.
ASSIGN COMPONENT 'ERSDA' OF STRUCTURE <fa_mara> TO <f_field>.
<f_field> = space.
WRITE: 'Done'.
CLASS lcl_test IMPLEMENTATION.
METHOD constructor.
SELECT * INTO TABLE t_mara
FROM mara
UP TO 10 ROWS.
ENDMETHOD. "constructor
METHOD get.
FIELD-SYMBOLS: <lfs_mara> LIKE LINE OF me->t_mara.
READ TABLE me->t_mara ASSIGNING <lfs_mara> WITH KEY matnr = if_matnr.
GET REFERENCE OF <lfs_mara> INTO ea_mara.
ENDMETHOD. "get
ENDCLASS. "lcl_test IMPLEMENTATION
Regards,
Naimesh Patel -
How to send multiple data for a single element
Hi All,
I have a requirement where I have to send multiple data for single element per single transaction. For example
Id details
1 abcd
1 efgh
1 def
Now, when I am selecting this ID from database, I have to get all the details in a single xsd like
<id>1</id>
---><details>abcd</details>
<details>efgh</details>
<details>def</details>
ThanksHi,
The following XSLT...
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="/">
<xsl:variable name="root" select="/"/>
<root>
<xsl:for-each select="distinct-values(/root/entry/id)">
<xsl:variable name="id" select="."/>
<entry>
<id><xsl:value-of select="$id"/></id>
<xsl:for-each select="$root/root/entry[id = $id]">
<details><xsl:value-of select="details"/></details>
</xsl:for-each>
</entry>
</xsl:for-each>
</root>
</xsl:template>
</xsl:stylesheet>Will work for a document like this...
<root>
<entry>
<id>1</id>
<details>detail1</details>
</entry>
<entry>
<id>1</id>
<details>detail2</details>
</entry>
<entry>
<id>2</id>
<details>detail3</details>
</entry>
</root>Hope this helps...
Cheers,
Vlad -
How to copy EXIF data for a single photo?
Hello,
I post photographs to a few different photo forums for community comment and critique. Including the basic technical data for each photograph is common and having to type it in manually is tedious. Is there a quick and easy way to copy or extract basic EXIF data (exposure, focal length, EV, ISO, exposure program, metering, make, model, lens) for a single photo to the clipboard? The information is all over LR I just can't determine how to get it out quickly.
Thanks for your help!
Best,
EricI don't see anyone provided you with an answer.
The hard way is to export the metadata to the file and use an external program. There are many programs that manipulate metadata. I haven't wanted to export it in the way you describe.
What operating system are you on? -
Load of EBS Supply Chain data deletes data for General Ledger
Hi,
we are trying to load data from EBS 11.5.10 to BIAPPS 7.9.6. We have loaded data to Financials Subject Areas (Budget, Financials - COGS, Financials - General Ledger, Financials - Payables, Financials - Receivables) using pre-defined execution plan Financials_Oracle 11.5.10 and data has been successfuly loaded and shown on dashboards.
Later we have loaded data into Supply Chain Subject Areas (Employee Expenses, Financials - Payables, Supply Chain - AP Invoices, Supply Chain - Purchase Cycle Lines, Supply Chain - Purchase Order, Purchase Receipt, Purchase Requisitions) using pre-defined execution plan Procurement and Spend: Oracle 11.5.10. After this load data are visible on Procurement and Spend dashboards but previously loaded data on Financials - General Ledger dashboards are missing.
So we have loaded data to Financials again which brought Financials data back to dashboards but data for Procurement and spend disappeared.
We have also trying to load all data using Complete Oracle 11.5.10 execution plan. After this load most of the dashboards for Financials and Procurement and spend are empty.
And finally we have created our own execution plans for Financials, Supply Chain and both and tried the same scenario. The results are the same. It seems to me that load of Financials data deletes Supply Chain data and vice versa.
Can somebody advice how to load data for Financials and Supply Chain together?
Thanks a lot, Petr
Edited by: user793851 on Oct 23, 2009 11:02 AM
I have to add new info: the all data are back and visible after the night. We didn't perform any actions. Does anybody know about some settings which can cause such behaviour?
Many thanks,
PetrTry the BI Apps forum: Business Intelligence Applications
-
How to flow data with in same dimension member
Hi all,
I am beginner to Hyperion Planning.
I working on an application which has following dimensions:
Dim 1 - Account Dimension
Sales Revenue
Sales Quantity
Sales Price
Dim 2 - Entity Dimension
Mumbai
Mumbai Center A
Mumbai Center B
Mumbai Center C
Bangalore
Bangalore Center A
Bangalore Center B
Bangalore Center C
Dim 3 - Product
SUV TOTAL
SUV1
SUV2
SUV3
SEDAN TOTAL
Sedan 1
Sedan 2
Sedan 3
Dim 4 - Version
Actual
Budget
Variance
I have created two data forms
Form 1 - To capture sales price at regional level(ex. Mumbai)
Form 2 – To transfer Sales price from region to center level (Mumbai Center 1) and capture sales quantity details and calculate sales revenue.
1) Sales Price – RO manager will enter Sales price across entire product line and dimension.
Entity
Version
Mumbai
Budget
Jan
Feb
Mar
Apr
May
Jun
SUV1
310
320
345
375
SUV2
SUV3
SUV TOTAL
Sedan 1
Sedan 2
Sedan 3
SEDAN TOTAL
2) Total Sales Revenue : An individual Sales Center manager will enter sales quantity numbers and sales price will flow from sales price form (from Region to all center coming under this region) and sales revenue will be calculated.
Following is an example of this web Form:
Entity
Version
Products
Mumbai Sales Center B
Budget
SUV1
Jan
Feb
Mar
Apr
TOTAL
Sales Quantity
500
250
750
100
1600
Sales Price
310
320
345
375
331.25
Sales Revenue
150000
80000
262500
37500
530000
Can any one please guide me how can I flow the sale price data entered in the Form1(Sales Price) - Mumbai region to From2(Total Sales Revenue)Mumbai Center A, Mumbai Center B and Mumbai Center C?
Do I need to change my dimension hierarchy or have to write any specific formula or business rule??
Thanks in advance.
KP
Apology for my poor EnglishHi all,
I am beginner to Hyperion Planning.
I working on an application which has following dimensions:
Dim 1 - Account Dimension
Sales Revenue
Sales Quantity
Sales Price
Dim 2 - Entity Dimension
Mumbai
Mumbai Center A
Mumbai Center B
Mumbai Center C
Bangalore
Bangalore Center A
Bangalore Center B
Bangalore Center C
Dim 3 - Product
SUV TOTAL
SUV1
SUV2
SUV3
SEDAN TOTAL
Sedan 1
Sedan 2
Sedan 3
Dim 4 - Version
Actual
Budget
Variance
I have created two data forms
Form 1 - To capture sales price at regional level(ex. Mumbai)
Form 2 – To transfer Sales price from region to center level (Mumbai Center 1) and capture sales quantity details and calculate sales revenue.
1) Sales Price – RO manager will enter Sales price across entire product line and dimension.
Entity
Version
Mumbai
Budget
Jan
Feb
Mar
Apr
May
Jun
SUV1
310
320
345
375
SUV2
SUV3
SUV TOTAL
Sedan 1
Sedan 2
Sedan 3
SEDAN TOTAL
2) Total Sales Revenue : An individual Sales Center manager will enter sales quantity numbers and sales price will flow from sales price form (from Region to all center coming under this region) and sales revenue will be calculated.
Following is an example of this web Form:
Entity
Version
Products
Mumbai Sales Center B
Budget
SUV1
Jan
Feb
Mar
Apr
TOTAL
Sales Quantity
500
250
750
100
1600
Sales Price
310
320
345
375
331.25
Sales Revenue
150000
80000
262500
37500
530000
Can any one please guide me how can I flow the sale price data entered in the Form1(Sales Price) - Mumbai region to From2(Total Sales Revenue)Mumbai Center A, Mumbai Center B and Mumbai Center C?
Do I need to change my dimension hierarchy or have to write any specific formula or business rule??
Thanks in advance.
KP
Apology for my poor English -
XSLT and XML - Splitting out address data for a single XML item?
Hi,
I am currently having to change my XSLT code for processing XML feeds from the NHS because the technolgy has been moved from SOAP-based to RESTful (both of which mean very little to me!). While most of the XML feeds display correctly I have been unable to resolve the following:
The address data seems to be located under a single item <s.addressLine> rather than <address1>, <address2> <address3> <address4> as in the previous setup. As a consequence of this I am unable to split out my address data into seperate address fields (in column 2 below). The code below ....
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:s="http://syndication.nhschoices.nhs.uk/services">
<xsl:output method="html" encoding="UTF-8"/>
<xsl:template match="/">
<table class="xslt_table">
<tr>
<th>1</th>
<th>2</th>
<th>3</th>
</tr>
<xsl:for-each select="atom:feed/atom:entry">
<tr>
<td><xsl:value-of select="atom:content/s:organisationSummary/s:name"/></td>
<td><xsl:value-of select="atom:content/s:organisationSummary/s:address"/></td>
<td><xsl:value-of select="atom:content/s:organisationSummary/s:address/s:addressLine"/></td>
</tr>
</xsl:for-each>
</table>
</xsl:template>
</xsl:stylesheet>
....generates the following result:
1
2
3
Royal Eye Infirmary
Apsley RoadPlymouthDevonPL4 6PL
Apsley Road
Mount Gould Hospital
Mount Gould RoadPlymouthDevonPL4 7QD
Mount Gould Road
Scott Hospital
Beacon Park RoadPlymouthDevonPL2 2PQ
Beacon Park Road
Peninsula NHS Treatment Centre
20 Brest RoadPlymouthDevonPL6 5XP
20 Brest Road
Derriford Hospital
Derriford RoadCrownhillPlymouthDevonPL6 8DH
Derriford Road
Nuffield Health, Plymouth Hospital
Derriford RoadPlymouthDevonPL6 8BG
Derriford Road
Plympton Hospital
Market RoadPlymouthDevonPL7 1QR
Market Road
St Barnabas Hospital
Higher Port ViewSaltashCornwallPL12 4BU
Higher Port View
Liskeard Community Hospital
Clemo RoadLiskeardCornwallPL14 3XD
Clemo Road
I would be very, very grateful for any thoughts and suggestions on what I might be able to do to resolve this.
Best wishes
SimonThanks dvohra
But in my servlet, I already have the transformer factory defined as follows
public class JDOMServlet extends HttpServlet {
private TransformerFactory tFactory = TransformerFactory.newInstance();
private ResultSet rs = null;
private StreamSource xsltSource;
private Templates template;
public void init(ServletConfig config) throws ServletException {
super.init(config);
ServletContext ctx = config.getServletContext();
try {
//Want to cache the stylesheet for future resuse
//then it doesnt have to be loaded constantly
URL xslURL = ctx.getResource("/WEB-INF/viewStudentDetails.xsl");
System.out.println(xslURL);
xsltSource = new StreamSource(new java.net.URL(xslURL.toString()).openStream());
//xsltSource = new StreamSource(ctx.getResourceAsStream("/Web-inf/viewStudentDetails.xsl"));
template = tFactory.newTemplates(xsltSource);
catch (Exception e) {
e.printStackTrace();
I think the key point is that, this transformation servlet worked fine, when all it was outputting was the xml data, styled in a table. As soon as I enter more table info, (i.e. for the banner and navigation bar), the null pointer exception pops up.
....a lost and puzzled jase....
Thanks again.
JS -
How can I calculate the number of members with data for a given Dimension
HiI want to be able to calculate the exact size of the data given the number of blocks in existence.I am trying to work out a way of estimating the effect of changing Dimensions from Spare to Dense and to see which Dimensions would be worth it.Currently I have Cost Centre and Reference Code dimensions. I know that roughly 90% of the Cost Centres are used against just one member of Reference Codes but the other 10% are against multiple Reference Codes.I also have a number of other dimensions and the problem I come up against is that when I change a Dimension from Sparse I really don't know how many blocks will be in existence at the end of it so I can't multiply this against the blocksize to predict the total datasize.Any thoughts (the artistic "suck it and see" solution is obvious but I'd like to cut down on experiments - they take too long)Thanks
You can do it manually if you like with code in the Error Console.
Copy and paste the code in the Code field in the Error Console and click the Evaluate button.
*Firefox/Tools > Web Development > Error Console (Shift+CtrL+J)
See http://kb.mozillazine.org/User:Dickvl/JavaScript_Error_Console#Expire_History_By_Days -
Find a delete date for FI parked invoice?
Hi,
Can any one tell me how to find the date when FI parked invoice is deleted? Any help will be appreciated.
ThanksSO VBRK-KURRF (exchange rate for FI) is taken from "pricing date" in standard?
Are you 100% sure? :
FIrst of all: there is no pricing date (PRSDT) on invoice header level
Second: I`ve got information from FI that VBRK-KURRF is taken from posting (billing date) VBRK-FKDAT
I have found also programs, there is provided folloving calculation formula:
LV60AA90
Currency conversion (WAVWR is in local currency so far)
ACTDATE = VBRK-KURRF_DAT.
IF ACTDATE IS INITIAL.
ACTDATE = VBRP-PRSDT.
ENDIF.
DA_WAVWR_HW = VBRP-WAVWR.
DA_WAVWR_KW00 = WAVWR_KW00.
DA_WAVWR_PCVP = WAVWR_PCVP.
LV60A036
Determine date
IF vbrk-kurrf_dat IS INITIAL.
ld_kurrf_dat = vbrk-fkdat.
ELSE.
ld_kurrf_dat = vbrk-kurrf_dat.
endif.
So what is the verdict? -
How do I restore data for a single APP? I don't want everything restored.
Starting over.....
Assume I've backed up everything: iTunes copies data and apps from the iPhone into 2 different locations in the PC.
Then assume I delete app XYZ from my iPhone.
If I connect to iTunes, reselect app XYZ and place it on the virtual iPhone image in say, page 3, then I press "Apply", the "sync" feature will restore/resinstall ONLY this single app, which is good. HOwever it doesn NOT restore the associated data that was created when I backed up. This is iTUNES stupidity.
HOW do I restore this data? Does "restore from backup" retore EVERYTHING that was backed up. If it does that's HORRIBLE.
The RESYNC feature should simply be CHANGED so it will restore DATA associated with any apps it is reinstalling.Does "restore from backup" retore EVERYTHING that was backed up.
Yes.
The RESYNC feature should simply be CHANGED so it will restore DATA associated with any apps it is reinstalling.
Send suggestions to Apple here -> http://www.apple.com/feedback/itunesapp.html -
Obtaining Metadata Browser data for a single collection within a catalog?
I have 8075 images out of 29000 in a catalog. These images are in
approximately 35 folders but are all tied to a single unique keyword. I
have moved the images to a new collection.
What I want is to have the Metadata browser query only the collection to
give me statistics on lens use, camera used, etc. I seem to be only able to
get information here for the entire catalog. Is there a way to have the
Metadata browser query only a portion of a catalog?
If not, how can I export this collection to a catalog so that I can query
the information?
LR 1.1, Vista,
Thank you
Rikk FlohrI noticed this too - really a non-starter to use the Metadata browser with a large catalog when you want a more 'local' search.
I keep coming back to the observation that it would be really helpful for the community of users if the LR team could maybe communicate a bit with the Bridge team, and get the benefit of the several iterations of the latter tool.
I still can't do all my work, effectively, in just LR. I switch back and forth between the two.
Is this a case of NIH syndrome in the LR team? -
I have the white screen of death, but am able to get into OS X utilitites. I have verifed disk and it's ok. I am trying to reinstall mavericks, but i don't have enough disk space. Dilemma is i can't get onto computer to delete files to create space.
Any suggestions?Upgrade iPhoto:
Go to the App Store and check out the Purchases List. If iPhoto is there then it will be v9.6.1
If it is there, then drag your existing iPhoto app (not the library, just the app) to the trash
Install the App from the App Store.
Sometimes iPhoto is not visible on the Purchases List. it may be hidden. See this article for details on how to unhide it.
http://support.apple.com/kb/HT4928
One question often asked: Will I lose my Photos if I reinstall?
iPhoto the application and the iPhoto Library are two different parts of the iPhoto programme. So, reinstalling the app should not affect the Library. BUT you should always have a back up before doing this kind of work. Always. -
Deleting comments for multiple dimension member selection
Hi all,
When using the package (using /CPMB/CLEAR) to delete data and comments (TASK(/CPMB/CLEAR_COMMENTS_FOR_CLEAR,ENABLETASK,1)), there seems to be a problem to delete comments when using a multiple member selection. When selecting <all> or a single dimension member for a given dimension, data and comments are effectively deleted. However, when selecting eg 2 members, the data is deleted, but the comments remain in the comment tables. Any ideas on how to solve this, without running the package x-times when comments on x members need to be deleted?
Kind Regards,
ChristopheHi,
I don't know whether your question is answered or not . Please look into the following which may be helpful to you.
As far as i know u can
1. Delete Comments selecting " ALL" member selection.
2. Delete comment selecting " SINGLE MEMBER " --> _Multiple member selection is not supported in NW._
Please look into the following SAP Note on this which may be useful to convince the client:
1372497 - BPC7NW: Behavior of Clear Comments package
Chaithanya
Maybe you are looking for
-
Error in writing to file encountered while applying patch 9.2.0.8
Hi, I encountered the error message below while applying Oracle 9.2.0.8 patch set using OUI on server running Oracle 9.2.0.7 and Windows 2003 Enterprise Edition SP2: Error in writing to file 'C:\oracle\ora92\BIN\orapls9.dll' [C:\oracle\ora92\BIN\orap
-
How to add custom user field in search result page
Hi, I want to display user defined field values in search users result page. For example, I am having USR_UDF_SSN user defined field. Now if i search users, the resultant table should display the default OOTB values (USER ID, FIRST NAME, LAST NAME, S
-
Router WRT54G Power led flashing!
hi, Somebody can help with this issue, I have a WRT54G router v.3.1 the power led is flashing and I can not access to configure the router, I tried everything, I tried using a static IP on my lan card and I can not access to doing a ping, I tried pre
-
Unable to open Data Schema in xml form builder
Dear team, i am trying to implement newsletter to my client for htis i have open formbuilder when i created a project and trying to open DataSchema to create child nodes i have double clicked on + sign but it is not at all opening Data Model option i
-
How to connect Oracle database through Microsoft ODBC?
My ODBC Configuration: DSN name is :db Username : india Server :db.world Now, i am trying to connect with oracle database through SQL*plus or TOAD. But, it is giving the following error. ORA-03121: no interface driver connected - function not perform