Pivot table data format type
Hi.
I was trying to make a simple crosstable report with this structure:
----------Name
ID-------Description
Example:
---------Name1------------Name2-------------Name3
ID1---Description1
ID2----------------Description2
ID3--------------------------------- Description3
But i can't, because it only appears numeric functions for pivot table data
How can i configure pivot table? Why is defined the pivot table data as a numeric field with functions summation, count, ......? Can't i show plain text of the description?
Edited by: user3284194 on 18-abr-2013 4:48
Hi,
Try increasing the rangeSize of the iterator to some value like 150?
-Arun
Similar Messages
-
Calculated Percentage Columns in Pivot Table loose formating in Excel
I have a simple report built using pivot table ( OBIEE 11.1.1.5.0)
1 Metric and 1 dimension using pivot table. and I duplicated the metric column and change it to % column.(Show data as % of column). SO far so good. Below is the snapshot
http://tinypic.com/r/2s14xa9/7
Now i download the report in excel and all the % values are messed up . Below is how it looks
http://tinypic.com/r/bede90/7
I tried messing with data formats etc..nothing works.. I cannot add a custom column format to the metric column since it will impact the derived % column.
Is this a bug ?Any pointers ..
ThanksHi,
Follow up this SR:
SR 3-5060435331: Calculated Percentage Columns in Pivot Table loose formating in Excel
Workaround: (not sure may be give a try)
also give a try like below one then try to download it may work.
In that % column -->add the below statement in the Custom CSS section of the column properties:
mso-number-format:"\@"
Refer snapshot here:
http://i53.tinypic.com/a09kqv.jpg
This will treat the data in the column as text while downloading to excel, hence retaining any leading or trailing spaces.
Thanks
Deva -
Updating pie graph with the pivot table data.
Hi:
I have two components, the first is a pivot table and second
of them is the pie graph, the two components were created in JDeveloper 11g
on the same page through the same view object, this view object was created through
a query.
I need to update the pie graph through the pivot table data.
ie, according to the data containing on the pivot table, to update the pie graph.Hi,
BPM can be used to validate and update tables. You can have a transformation step in BPM to validate, and either a JDBC or RFC adapter to update XI table...depending on if the table is an ABAP table or table create outside of ABAP using the vendor's dba tools.
As for sending file based on counter or timestamp in the name, you can develop a simple adapter user-module using java which can retrieve the file name(s) being processed. If the name satisfy the rules you have, then proceed, or else terminate the processing in the adapter.
Regards,
Bill -
ADF Pivot table - determining aggregation type based on dynamic value items
Hi,
I am trying to build a pivot table in ADF. The data-value rendered (bold section below) produces multiple data items dynamically.
<pivotTableDataMap>
<columns>
<item value="Name" label="Name"/>
<data aggregateDuplicates="true" defaultAggregateType="SUM">
<item value="Value" label="__NO_LABEL"/>
</data>
</columns>
</pivotTableDataMap>
Since, all these data item(s) are rendered dynamically and based their names, the aggregation could be SUM/AVERAGE etc...
Looking at the Pivot documentation, it says that I can use the 'aggregateType' property of the <item> element to override the 'defaultAggregateType' defined at the parent <data> element. Something like -
<data aggregateDuplicates="true" defaultAggregateType="SUM">
<item value="Sales"/>
<item value="Units" aggregateType="AVERAGE"/>
</data>
However in my case the <item> are getting populated dynamically, I cannot put the aggregate type using declarative approach.
Is there any other way where I can define the aggegrate type for this use-case?
Thanks
SachinHi,
I am trying to build a pivot table in ADF. The data-value rendered (bold section below) produces multiple data items dynamically.
<pivotTableDataMap>
<columns>
<item value="Name" label="Name"/>
<data aggregateDuplicates="true" defaultAggregateType="SUM">
<item value="Value" label="__NO_LABEL"/>
</data>
</columns>
</pivotTableDataMap>
Since, all these data item(s) are rendered dynamically and based their names, the aggregation could be SUM/AVERAGE etc...
Looking at the Pivot documentation, it says that I can use the 'aggregateType' property of the <item> element to override the 'defaultAggregateType' defined at the parent <data> element. Something like -
<data aggregateDuplicates="true" defaultAggregateType="SUM">
<item value="Sales"/>
<item value="Units" aggregateType="AVERAGE"/>
</data>
However in my case the <item> are getting populated dynamically, I cannot put the aggregate type using declarative approach.
Is there any other way where I can define the aggegrate type for this use-case?
Thanks
Sachin -
Table date format - How can I display Week 1, Week 2, instead of the date?
I would like to creat a table for my Gantt, that displays the week number unit, as I have as the middle tier in my timescale on the Gantt side of the view. I cannot find how to do this anywhere. I know I can change the way the date is displayed,
format wise, while in the table edit area, however one of the choices is NOT the week #. The data must exsist as the timescale displays it!
My goal is to creat a table that instead of showing the start date for a task, displaces the start week: i.e. Week 1, Week 2, ...ect.
Any help is appreciated,
Craig.Craig --
Bad news, my friend. What you want to do with the date format in the table cannot be done. The format you see in the Timescale bar is simply not an available date option in any table. Sorry.
Dale A. Howard [MVP]
VP of Educational Services
msProjectExperts
http://www.msprojectexperts.com
http://www.projectserverexperts.com
"We write the books on Project Server" -
How to prevent Pivot Table Data Source from being changed automatically?
I have an excel file that contains a Pivot Table that references a table within the workbook (Data Source = "MyTable"). When I save the file and copy it, the copy contains a reference to the original file. Instead of displaying, "MyTable",
it shows "OldFilename!MyTable" where OldFilename is the name of the original file, not the current file.
How do I prevent this from occurring. It is only doing this on my current machine, if I perform these steps on a different machine, the problem does not occur and the Data Source property stays the same as it should.
What setting(s) do I change to fix this problem?
Thank you in advance for your help!
MichaelHi Michael,
How about the issue now, is it solved?For the 'data model' feature,please refer to:
http://blogs.office.com/2012/08/23/introduction-to-the-data-model-and-relationships-in-excel-2013/
let us know if you have any additional questions or concerns.
Best regards,
Wind -
Greetings. I have problem with data fetching in pivot table.
I can see only 25 rows in it. Any ideas with my problem.Hi,
Try increasing the rangeSize of the iterator to some value like 150?
-Arun -
Pivot table data source keeps referring to old file name
Hi,
I am using Excel 2013 on Windows 8
I create a table, and insert a pivot table that use this table as data source
I close the excel and rename the file from "myfile.xlsx" to "newfile.xlsx, and then open it again
When trying to refresh my Pivot Table, I get the following Error:
"We couldn't get the data from 'Table1' in the workbook 'C:\myfile.xlsx' Open this workbook in Excel and try again."
i.e. it is still looking for table using the old file name.
I need to update the file every week, so having to manually go back and change source file name for every pivot is very time consuming and painful for me :-(
Please investigate and advise how to fix this ?Hi,
Based on my tested in my environment (Window 8.1 & Excel 2013), the error message pop up when a pivot table using an external data source. If you use the table as external data source, pivot table uses OLEDB to connect it, it'll refresh failed after
you changed the file name. It's by design.
Then, we may try the two workaround to avoid it:
1) Keep the data source table and pivot table in the same file.
2) Add the table to a connection, steps:
Click Data tab>Connection> Add> Browse more> Choose the file.
Please try to change in new file in property before you refresh the Pivot table.
Regards,
George Zhao
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs. -
Filter Pivot table data based on custom calculated item in obiee 11g
Hi,
I have requirement as below. Please provide your valuable suggestions
Please note that "Diff" is the calculated item using the formula "$2-$1"
Pivot table View:
Sales ID 20120207 20120220 Diff
1 0 0 0
2 100 0 -100
3 100 200 100
4 100 100 0
5 200 300 100
6 0 0 0
Requirement:
1) Filter rows where measure for both Effective dates(20120207 & 20120220) is equal to 0
2) filter rows where measure for effective date 20120220 is equal to 0 & measure for effective date 20120207 is not equal to 0
3) filter rows where diff is equal to 0
expected Output:
Sales ID 20120207 20120220 Diff
3 100 200 100
5 200 300 100
Please provide an workaround to implement in OBIEE 11.1.1.6.0
Thanks
Edited by: Nagendran Rajendran on Jul 19, 2012 11:42 AM
Edited by: Nagendran Rajendran on Jul 19, 2012 11:54 AMHi,
Many thanks for your Response.
Actually, I have only three columns in the *"Selected Columns"* Section of Answers and they are
Opportunity Id Effective Date Current
Effective Date is based on Dashboard Prompts with 2 Presentation Variables say Effective Start & End Date and that has been used in answers to have a Revenue Variation report for these 2 dates ONLY.
So, As per my Requirement,
1) I have created a Pivot table by having Opportunity ID in Rows Section, Effective Date in Columns Section and Current in Measures Section
2) Created a Calculated Item for Revenue Difference using the formula $2-$1
So, Everything worked fine so far.
and Next Requirement is to filter the rows from the Pivot results which i have mentioned in the post and they are
Pivot table View:_
Sales ID 20120207 20120220 Diff
1 0 0 0
2 100 0 -100
3 100 200 100
4 100 100 0
5 200 300 100
6 0 0 0
Requirement:_
1) Filter rows where measure for both Effective dates(20120207 & 20120220) is equal to 0
2) filter rows where measure for effective date 20120220 is equal to 0 & measure for effective date 20120207 is not equal to 0
3) filter rows where diff is equal to 0
expected Output:*
Sales ID 20120207 20120220 Diff
3 100 200 100
5 200 300 100
Please provide an workaround to implement in OBIEE 11.1.1.6.0
Edited by: Nagendran Rajendran on Aug 8, 2012 4:53 PM -
Have 2010 Excel Workbook with Named Tables and child Pivot Tables and several other support sheets. I want to make a 'working' file -- with only copies of these Named Tables and Pivot Table
structures, and then I would populate the copied Tables with the 'real data' and crunch the numbers I need in this new working file.
I need to use VBA for this transformation (which I've tried).
Problem -- Upon copying the Named Table [Table1] and Pivot Tables [Pivot11] and [Pivot12] to the new stand-alone file, WORKING.xlsm, the Pivot Tables only recognize the Tables in the source file (I.e. the data source for Pivot11 is C:\...\'SOURCE.xlsm'!Table1),
and not simply Table1 in the new stand-alone file.
Longhand changing of the Data Source for each Pivot Table [Table1] from 'C:\...\SOURCE.xlsm'!Table1 to simply Table1 seems to be disallowed from all angles.
Anyone have clean VBA code that will copy the parent Named Table and its child Pivot Tables to an external .xlsm file without the absolute links back to the original source file ?Hi Jon,
How do you change the data source?
Base on my test, we can change the data source by using this code below:
ActiveSheet.PivotTables("PivotTable1").ChangePivotCache ActiveWorkbook. _
PivotCaches.Create(SourceType:=xlDatabase, SourceData:= _
"[path]!Table4" _
, Version:=xlPivotTableVersion15)
To copy and paste the Named Table and Pivot Tables, we could use
Range.Copy and
Range.PasteSpecial method.
To check whether the Pivot Tables parent is specify Named Table, we could check
PivotTable.SourceData property.
Regards
Starain
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. -
I have a table that contains a rowset from my Oracle database. I am using a date time convertor to present the date and time as '051155Sep06'. I need the month to be represented as SEP, upper case - is there an easy way to do this?
Thanks
BrendanCraig --
Bad news, my friend. What you want to do with the date format in the table cannot be done. The format you see in the Timescale bar is simply not an available date option in any table. Sorry.
Dale A. Howard [MVP]
VP of Educational Services
msProjectExperts
http://www.msprojectexperts.com
http://www.projectserverexperts.com
"We write the books on Project Server" -
Export Pivot table data to a Excel file
Hi All,
I am using OBIEE 10.1.3.
In my asnwers I am displaying the Pivot view and want to export the results to a excel sheet.The dowlnoad option is not coming for Pivit view.
In case of compound view I am able to see the download option to export to excel sheet.
Please suggest.
thanksThe Compound Layout has a purpose and that is to display your report with the download optons you can "turn on," including "download to Excel." To answer your question of somehow enabling a "download link" from the Pivot Table view, sorry, you can't do that. However, here's what you can do:
In Answers, use the Compound Layout view to download the pivot table. If the Compound Layout view is used for other purposes and you need only the pivot table view to download (as a report designer) and you really need this functionality, then create a duplicate of the Compound Layout and put only your pivot table in it. Now you can download.
If you are talking about dashboards, then use the Properties>Report Links from the Properties button of the report and check off "download." Again, if your Compound Layout is used for other purposes (and requires other views in it), then drag the report into another section of the dashboard and in Edit Dashobard, click on the Properties of the report>Show View>Compound Layout:2 that you created in the previous paragraph. Enable downloading on this and you can download only the Pivot table. -
Ok I have a data base that for some reason dates are stored
in a varchar field. the dates in the field look like this 20060809
which is supposed to be 09/08/2006. Well I want to display the
dates like that (mm/dd/yyy). But when I jus the date format of
mm/dd/yyy I get something like 08/16/56824. So How can I display
20060809 to read 09/08/2006?
I appreciate any help! Thanks!20060609 is not a standard date style that CF date functions
can
understand. You will need to parse this into it's components
and either
use them directly or create a date object with them for
future use. Our
dates are often in this format so we have to do this all the
time.
<cfscript>
DateVal = 20060809;
yearVal = left(dateVal,4);
monthVal = mid(dateVal,5,2);
dayVal = right(dateVal,2);
writeOutput(dayVal & "/" & monthVal & "/" &
yearVal);
dateObj = createDateTime(yearVal, monthVal, dayVal);
writeOutput(dateFormat(dateObj, "dd/mm/yyyy");
<cfscript> -
Write SQL query to transform into Pivot table data
Hi Guru,
How to write sql to transform this data
DATADATE EQPID SUCCESS_RATE
2007-06-01 AA-01 89.796
2007-06-01 AA-02 89.655
2007-06-01 AA-03 92.683
2007-06-01 AA-04 96.61
2007-06-02 AA-01 80.645
2007-06-02 AA-02 87.5
2007-06-02 AA-03 95.556
2007-06-02 AA-04 98.551
To the below table:
DATADATE AA-01 AA-02 AA-03 AA-04
2007-06-01 89.796 89.655 92.683 96.61
2007-06-02 80.645 87.5 95.556 98.551
Grand Total 170.441 177.155 188.239 195.161
Thank you.
Regards,
Kellylike this?
SQL> with t as (
2 select '2007-06-01' DATADATE, 'AA-01' EQPID, 89.796 SUCCESS_RATE from dual union all
3 select '2007-06-01', 'AA-02', 89.655 from dual union all
4 select '2007-06-01', 'AA-03', 92.683 from dual union all
5 select '2007-06-01', 'AA-04', 96.61 from dual union all
6 select '2007-06-02', 'AA-01', 80.645 from dual union all
7 select '2007-06-02', 'AA-02', 87.5 from dual union all
8 select '2007-06-02', 'AA-03', 95.556 from dual union all
9 select '2007-06-02', 'AA-04', 98.551 from dual
10 )
11 select datadate
12 , sum(decode(rn,1,success_rate,0)) "AA-01"
13 , sum(decode(rn,2,success_rate,0)) "AA-02"
14 , sum(decode(rn,3,success_rate,0)) "AA-03"
15 , sum(decode(rn,4,success_rate,0)) "AA-04"
16 from (
17 select t.*, row_number() over(partition by datadate order by eqpid) rn from t )
18 group by rollup(datadate);
DATADATE AA-01 AA-02 AA-03 AA-04
2007-06-01 89.796 89.655 92.683 96.61
2007-06-02 80.645 87.5 95.556 98.551
170.441 177.155 188.239 195.161NH -
How to update ADF VO object to refresh the data in ADF Pivot table
I need to know how to update the View object so that the date in pivot table is refreshed/updated/filtered.
here are the steps I performed to create ADF pivot table application using VO at design time.
1) created a collection in a Data Control (ViewObject in an ApplicationModule) that provides the values I wanted to use for row and column labels as well the cell values (Used the SQL query)
2) Dragged this collection to the page in which wanted to create the pivot table
3) In the pivot table data binding editor specified the characteristics of the rows (which attribute(s) should be displayed in header), the columns (likewise) and the cells.
Now, I have a requirement to update/filter the data in pivot table on click of check box and my question is how to I update the View object so that the date in pivot table is refreshed/updated/filtered.
I have got this solution from one of the contact in which a WHERE clause on an underlying VO is updated based upon input from a Slider control. In essence, the value of the control is sent to a backing bean, and then the backing bean uses this input to call the "filterVO" method on the corresponding AppModule:
but, I'm getting "operationBinding" object as NULL in following code. Please let me know what's wrong.
here is the code
Our slider component will look like
<af:selectBooleanCheckbox label="Unit" value="#{PivotTableBean.dataValue}"
autoSubmit="true" />
The setDataValue() method in the backing bean will get a handle to AM and will execute the "filterVO" method in that, which takes the NumberRange as the input parameter.
public void setDataValue(boolean value) {
DataValue = value;
BindingContainer bindings = getBindings();
OperationBinding operationBinding = (OperationBinding)bindings.getOperationBinding("filterVO");
Object result = operationBinding.execute();
The filterVO method in the AMImpl.java will get the true or false and set the where Clause for the VO query to show values.
public void filterVO(boolean value) {
if (value != null) {
ViewObjectImpl ibVO = getVO1();
ibVO.setWhereClause("PRODUCT_TOTAL_REVENUE(+) where rownum < 10");
ibVO.executeQuery();
}Did you define a filterVO action in your pagedef.xml file?
You might want to read on how to access service method from a JSF Web Application in the ADF Developer Guide for 10.1.3 chapter 8.5
Maybe you are looking for
-
Dear all There is scenario for Asset-Building in legacy data......for building there are many line items...for e.g. 1. Building is purchased 2. then some addition in this asset(with other date) etc. Now how to upload this assets in the system..... r
-
My name and Email being in a song
I'v bought a CD form amazon while ago. In iTunes i was going to put the album art in until i saw it have my name and email i don't know how this happened but i want to remove my name and email from this as i don't feel comfortable with it on music.
-
Macbook pro 15" mid 2012 non retina display flickering
My macbook pro 15" non retina mid 2012 (got it 15 days ago) is flickering on any website in Safari. Any reason why is like that? Adding screenshot of example (gmail and Facebook) http://shrani.si/f/2q/kE/9ex36nw/screen-shot-2013-01-25-a.png http://sh
-
Deleting Hard Drive for sale of computer
Hi Everyone.... I have a old iMac G3 Desktop computer which I want to sell....... It has on it 10.4 (not sure which version as I haven't fired it up in a while.....) I would like to erase the hard drive (of all applications, music, photos etc) and le
-
How do i restore my reading list in 38.0b8
when i did the upgrade from38.0b7 to 38.0b8 my reading list went away. I'm running windows 7 ultimate and windows 10 tech preview build 10061