Is it possible to change the data of Pivot Table?
Hello,
I want to develop an excel add-in in .net and want to show the data to user using "Pivot Table".
Is there a way in which I can allow the user to change the cell values of the "Pivot Table" without changing the source data?
Any guidance is highly appreciated.
Thanks!
-Vinay Pugalia
If a post answers your question, please click "Mark As Answer" on that post or
"Vote as Helpful".
Web : Inkey Solutions
Blog : My Blog
Email : Vinay Pugalia
Hi Vinay,
As far as I know, it's not possible. We can only change those Pivot Table cells that belong to Row Label or Column Label. But we can't change the Value cells. You'll get some errors like "Cannot change this part of a Pivot Table report".
If you just want to display a report with some changes to the original Pivot Table report, I would recommend that you copy the data from the Pivot Table to another worksheet, then modify the values.
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.
Similar Messages
-
Is it possible to change the datatype of the Restricted Column?
Hi,
1. I created a Analytic View, and in the Analytic view applied the retricted Column.
I have restricted the column SALES REVENUE(Measure) based on the Attribute Column Country.
Have checkedin Include. When i validate the process, I get an error as -
"The aggregation type FORMULA can not be applied on calculated column RC_SALES of data type CHAR"
Here RC_SALES is my Restricted Column and not Calculated Column, but in the errors it shows vice versa.
2. Is it possible to change the data type of the Restricted Column. If so, where should i change it, I have tried in the Properties pane and also i have
tried within the semantics of the Analytic view. Within Semantic, the aggregation type is set as SUM by default.
Thanks and regards
SanjayHi,
In SQL*Plus, you can set the width of a DATE column the same way you do it for a VARCHAR2.
COLUMN dateacquired FORMAT A12
SELECT SYSDATE AS dateacquired
FROM dual;produces
DATEACQUIRED
29-JAN-09 -
Change the Data Type of a Standard Required Field
Hello Experts,
Need to know if is it possible to change the data type of a standard field. The field is marked as a required field.
For example: If a standard field is an Object Picker and I would like to change it to a string field. Is it possible? How can I do it?!
Many thanks,
Igor NakamuraHi Igor,
Since you cannot hide a required field, what you can do is move the standard required field to someplace less noticable (like the bottom of the page) and then use a validation script to set it to some benign value.
-Howie -
Changing the Data source in Business Objects XI
Hi,
Is it possible to change the data source(not universe) in runtime to generate business objects reports. I am using BOXI 3.1.
Below is the code I am using to change the universe in runtime. I would like to change this so that i can change the data source instead of changing the universe. My intention is to generate report from multipple database using same universe. Right now I am using multipple universes connected to multiple datasources to achieve this. I am using Report Engine SDK(Java).
if("Webi".equals(mDocKind))
// Added for multiple database support
DataProviders dataProvs = documentInstance.getDataProviders();
try{
//To support multiple queries in BO reports
for(int count=0;count<dataProvs.getCount(); count++){
DataProvider dp=dataProvs.getItem(count);
DataSource ds= dp.getDataSource();
infoUniverseObjects = getUniverseObject(infoStore,NewUniverseName);
infoUniverseObject = (IInfoObject)infoUniverseObjects.get(0);
String newDsCuid = infoUniverseObject.getCUID();
dataProvs.changeDataSource(ds.getID(), "UnivCUID=" + newDsCuid, true);
if(dataProvs.mustFillChangeDataSourceMapping())
// Re-map data source to target Universe objects
ChangeDataSourceMapping mapping = dataProvs.getChangeDataSourceMapping();
ChangeDataSourceObjectMapping[] maps = mapping.getAllMappings();
dataProvs.setChangeDataSourceMapping();
}//for dataProvs.getCount()
}catch(Exception e)
mLogger.info("BOReportObject","createReport","Inside multiple data providers loop"+e.getMessage());
Thanks in advance
Shameer
Edited by: Shameertaj on May 20, 2009 3:08 AMHi Shameer,
I think this is only possible with the Universe Designer SDK (which is only available in COM).
Please kindly refer to the API reference for the Universe Designer SDK for more details:
http://help.sap.com/businessobject/product_guides/boexir31/en/bodessdk.chm
Also, please note that changing the universe connection when viewing a document on-demand is not recommended because this could lead to possible issues.
For example:
Two users trying to view documents that uses the same universe at approximately the same time.
But user A wants to use connection X and user B wants to use connection Y.
This could lead to an error while openning the document or while refreshing/retrieving the the data.
Hope this helps.
Regards,
Dan -
Change the date of renewal?
Is it possible to change the date when my monthly plan is renewed? I just received an email saying there was something wrong with the payment. I don't get my salary until the 25th every month and my membership is renewed on the 24th and this month there wasn't enough money on my account. I want my account to renew on the 25th instead, otherwise this will probably happen again in the future. So, what should I do?
Hi ecaz
Unfortunately we don't have the option to change the renewal date.
If payment fails on the renewal date it will be automatically attempted again after 7 days.
The only other option would be to cancel your current membership and sign up again on a date that it more suitable for the renewal payment.
Kind regards
Bev -
How can I change the dates on many photos with a fix time of say 20s?
Before it was possible to change the date on many pictures scanned by adddind a fix increlental of time.
How can I now change the dates on many pictures taht I have renumbered to keep the same incremental?The seconds:
I just remembered - the time increment is set in Apple Script in seconds - the variable "minutes" is just a name for the value "60" and "hours" for "3600". Since "seconds" would have the value "1", there is no predefined constant "seconds".
If you want an increment of 30 seconds, simply write
set timeIncrement to 30
For example
on run {input, parameters}
(* copyright leonieDF *)
set timeIncrement to (1 * hours) + (2 * minutes) + 30
(* select at least 2 images in Aperture *)
tell application "Aperture"
activate
set imageSel to (get selection)
if imageSel is {} then
error "Please select an image."
else
tell (item 1 of imageSel)
set imageDate to value of EXIF tag "ImageDate"
--set imageDate to get the value of EXIF tag "ImageDate"
end tell
repeat with i from 2 to count of imageSel
set imageDate to imageDate + timeIncrement
adjust image date imageDate of images {item i of imageSel}
end repeat
end if
return imageSel
end tell
end run -
How to dynamically display the data from a table base on row selection of another table in ADF
Hi ,
I have a requirement in ADF. I need to change the data of a table based on row selection of another Table . Both the table have a Parent Child relationship between them. They have a common attribute say department_id.
For this I created bind variable in view object of employees table and wrote a where clause in the sql query using that bind variable. Then I created method for selection listener of department Table in java bean.
My method is following
public void onrowselection(SelectionEvent selectionEvent) {
RichTable richTable = (RichTable)selectionEvent.getSource();
CollectionModel tableModel = (CollectionModel)richTable.getValue();
JUCtrlHierBinding adfTableBinding = (JUCtrlHierBinding)tableModel.getWrappedData();
Object selectedRowData = richTable.getSelectedRowData();
JUCtrlHierNodeBinding nodeBinding = (JUCtrlHierNodeBinding)selectedRowData;
oracle.jbo.domain.Number newVal = (oracle.jbo.domain.Number) nodeBinding.getAttribute("DepartmentId");
Number pallet = newVal.bigDecimalValue();
System.out.println("Selected values " + pallet);
BindingContext bindingctx = BindingContext.getCurrent();
BindingContainer bindings = bindingctx.getCurrentBindingsEntry();
DCBindingContainer bindingsImpl = (DCBindingContainer) bindings;
DCIteratorBinding dciter = bindingsImpl.findIteratorBinding("EmployeesView1Iterator");//access the iterator by its ID value in the PageDef file
ViewObject vo =dciter.getViewObject();
vo.setNamedWhereClauseParam("DepartmentId", pallet);//enter your value
vo.executeQuery();
It is printing the selected value of department id from department table in the log. But it is not able to pass the value to employees view. It is showing the following error in the log
"Definition DepartmentId of type Variable is not found in EmployeesView1."
I will be very thankful if someone helps me to solve this errror or is there any other way to achieve the same requirement.
Thanks
NileshNote quite sure why you simply wont create a viewlink for the viewobject the tables are based on..
The viewlink attribute will be based on the departmentId and it's a simple master detail relationship which automatically uses ppr.
However, if both tables are on the same page; using your hack about;
On the underlying viewobject, define a viewcriteria e.g. "listById" and set your bind variable here.
I would bind table two to a RichTable component:
RichTable t2;
public void onrowselection(SelectionEvent selectionEvent) {
RichTable richTable = (RichTable)selectionEvent.getSource();
CollectionModel tableModel = (CollectionModel)richTable.getValue();
JUCtrlHierBinding adfTableBinding = (JUCtrlHierBinding)tableModel.getWrappedData();
Object selectedRowData = richTable.getSelectedRowData();
JUCtrlHierNodeBinding nodeBinding = (JUCtrlHierNodeBinding)selectedRowData;
oracle.jbo.domain.Number newVal = (oracle.jbo.domain.Number) nodeBinding.getAttribute("DepartmentId");
Number pallet = newVal.bigDecimalValue();
System.out.println("Selected values " + pallet);
refreshTable2(pallet);
BindingContext bindingctx = BindingContext.getCurrent();
BindingContainer bindings = bindingctx.getCurrentBindingsEntry();
DCBindingContainer bindingsImpl = (DCBindingContainer) bindings;
DCIteratorBinding dciter = bindingsImpl.findIteratorBinding("EmployeesView1Iterator");//access the iterator by its ID value in the PageDef file
ViewObject vo =dciter.getViewObject();
vo.setNamedWhereClauseParam("DepartmentId", pallet);//enter your value
vo.executeQuery();
private void refreshTable2(Number pallet){
RichTable x=getT2();
CollectionModel cm=(CollectionModel)x.getValue();
JUCtrlHierBinding jcb=(JUCtrlHierBinding)cm.getWrappedData();
BindingContainer bindings = bindingctx.getCurrentBindingsEntry();
DCBindingContainer bindingsImpl = (DCBindingContainer) bindings;
DCIteratorBinding dciter = bindingsImpl.findIteratorBinding(jcb.getName()+"Iterator");
ViewObject vo =dciter.getViewObject();
ViewCriteriaManager vcm=vo.getViewCriteriaManager();
ViewCriteria vc=vcm.getViewCriteria("listById");
vo.applyViewCriteria(vc);
vo.setNamedWhereClauseParam("DepartmentId",pallet);
vo.executeQuery();
AdfFacesContext.getCurrentInstance().addPartialTarget(getT2()); -
Is it possible to change the dimension order when extracting data from HFM?
Hello,
When accessing Consolidation/Extract/Data is it possible to change the dimension order of the extract rather than extracting the standard order?
I can see you can change the dimension order visually by going to "Reorder dimensions" but this does not carry through to the actual extract.
If its not possible using this method is there another method? Trying to avoid using smartview for this purpose.
Many thanks and kind regards,
RichHi,
No, it is not possible to change the order type.
-Paul -
I recently lost my iphone 4 and have an iphone3 on loan until I get upgrade in Aug. I want to sync my data - contacts most important - from my itunes account...is this possible? Is it possible to change the user ID on the borrowed phone to my ID?
There are no contacts in itunes.
Your contact should be on your computer in whatever program you have selected to sync. Just sync them to the new one.
Click Support at the top of this page, then click manuals
Changing the itunes account on nthe iphone is covered there as is restoring the iphone as new or from backup. -
i've ordered the iPad, but i need to change the date of delivery, how it could be possible? heeeelp!
does anyone know the e-mail of apple support?As I said, check the Apple Store site where you placed your order, in their help section there should be contact information. I only gave the USA number as an example (or if you were in the USA).
Oh, or, if you mean you ordered while in the US and are not there now - sorry, I don't know what else to offer. Looking at the online US store's "contact us" section, there is only phone numbers (which, as I say, is typical of how Apple does support). -
Hello is it possible to change IPTC datas whith an other photoshop CS 6 than the own?
hello is it possible to change IPTC datas whith an other photoshop CS 6 than the own?
hello is it possible to change IPTC datas whith an other photoshop CS 6 than the own?
-
Is it possible to change the requirement date of a component?
Hello Gurus,
When a non stock material is defined as a component of service order a requirement date is automatically determinded (RESBD-BDTER) on the current date. Does someone knows if one can be able to influence this field?
It means that I would like to be able to fill it by myself.
Kind regards
ChrisHi Paul,
As you said "
The requirement date is calculated as follows:
1. The start date (earliest scheduled start) of the operation minus
2. The goods receipt processing time of the component and minus or plus
3. The lead time offset for the component in the order
The above values (point 2 and 3) can be adjusted to manipulate the
delivery date."
I have checked for stock & non stock item, but this calculation is not working for work orders. only i can change the date with offset. i checked material master record and change the GR processing time and planned delivery time but its not working. Do you have any idea why its not working?
Thanks.
Shahyan -
Recently, I discovered I have two iCloud accounts. Is it possible to change the Apple ID for one of the accounts to match the other account, without losing the information from either account.
thanksWelcome to the Apple Community.
It's a little tricky to move data from one iCloud account to another but it can be done. But what makes you think you have 2 iCloud accounts. -
How to change the Data Foundation for an existing Business Element
My Issue:
I have quite a few reports that use the same Business View. The Business View has an under lying Data Foundation that uses a Dynamic Data Connection (DDC). I no longer want to use this DDC because production users are complaining they do not want to have to select a data source each time (multiple times when the report includes sub reports) they run/refresh their reports.
The Holy Grail:
I would like to change the Data Foundation that my Business Element layer is built upon and use another data foundation with identical tables, linking, and fields. The new data foundation would be using a production connection. This solves my immediate issue and has a great side benefit of providing a convenient way to promote reports from development to stage/test, to production and would not require production users to have to select which environment they want their report to run against.
I am logged in to BVM as administrator:
When I look at the Business Element layer Property Browser, I see a Data Foundation Property but is is disabled (such that it can not be changed).
Is there a way to change the Data Foundation that is used by an existing Business Element layer ?
I'd appreciate any help that someone can offer on this topic. Even if it is not possible and someone can shed some light on why this would not work or would not be a good idea, I'd be interested in learningTechnically No the system will not allow you to change as it is involved with many depreciation areas and change is not permitted for control reason.
You only need to retire the asset, reverse the postings, assign correctly and repost the values. -
Can we change the data type of a field based on the value of the field
HI Gurus,
My Requirement is as below -- Could you please guide me
in the Printable Adobe form -- for ex - as usual for dates fields in the Object Pallette the object type is a date/time field and for quantity/currency fields corresponding fields are taken
now in case the either the date, quantity or currency is initial in place of displaying 0.00 or empty date we need to display N/A (Not Applicable)
for this I would like to change the data type of the field
to put it simply --
we need to change the data type of date field from DATE&TIME to Char type to hold N/A or Quantity field to Char field to hold N/A
how can we realize this in SAP adobe forms
Thanks in Advace
Ramchander Rao.KHello Ramchander,
You cannot change the data type of the field at run time in Adobe forms because the type of field you choose at the time of design level is associated with the data type itself.
If you want to achieve your requirement, then your main idea should be to set the data type as CHARACTER itself while designing the field in the adobe form itself. CHAR field will comfortably hold the value of Calculation/amount field, Currency field, Amount, Date, Time HHMMSS, Unit Accuracy, Currency key, Floating point number, Numeric text, Client, Language and many other data types.
After designing the field as TEXT field in Adobe form you have two options.
Option 1:
Select the Date field initially as type TEXT field or CHAR field in Adobe forms.
Suppose the name of the field is TEXTFIELD1, then write the Javascript code on this field in Initialize event as below.
if ( this.rawvalue == null )
this.rawvalue = "N/A";
If the field is not blank, then it will show the date. Else it will show "N/A".
Option 2:
Select the Date field initially as type TEXT field or CHAR field in Adobe forms. Do the formatting part in ABAP itself. It will increase the performance. Avoid Javascript as much as possible.
Suppose you have a DATE variable l_dats of type DATS. Then take another variable l_date of type CHAR. Then write the below ABAP code.
MOVE l_dats TO l_date.
IF l_date IS INITIAL.
l_date = 'N/A'.
ENDIF.
Bind the l_date to the TEXT field in the form.
Even in this case, if the field is not blank, then it will show the date. Else it will show "N/A".
But I will suggest you to use Option 2 of keeping the AMOUNT, QUANTITY, DATE, TIME fields etc as CHAR or TEXT fields in Adobe form and do the required formatting in ABAP itself.
Maybe you are looking for
-
Problem with new page triggering in ADOBE Forms
Hi all, I am workin on a Purchase Order adobe form. I have a requirement to dispay Other stipulation text after completion of all the information. The text should be displayed on a fresh new page. I can able to display the text on new pa
-
HT2729 I can's synch TV shows from itunes to ipad.
Error showing is that this computer is not authorised but it is. So i deauthorised and reauthorised but they still wont transfer. i purchased the tv shows directly from the ipad:
-
Using PFI1-PFI9 on BNC-2090 to trigger recording on a PCI-MIO-16-XE-50
Hi there, I've got another question about triggering using the BNC-2090. Now I can get an output of a particular digital line from the DIO-96 I'm using using a ribbon connector connected to CB-50 Connector block. This connector block has individual l
-
How Can You Share Music and Keep the Song Details?
I've done a bit of research on this and I'm hitting a wall. I'm trying to figure out how to: 1) Burn a playlist from my computer into an audio cd 2) Rip the audio cd on my friends computer with the song details still intact These are personalized pla
-
Problem exporting to Excel it dumps right away. It's saying there is a possible problem with the LS Compatibility Plug In. Any ideas?