Pivot Table Data Fetching
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
Similar Messages
-
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:48Hi,
Try increasing the rangeSize of the iterator to some value like 150?
-Arun -
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 -
Regarding performance tuning for BSEG & BKPF table data fetch
Hi Friends:
Plz see the below select queries. This is really impacting the performance of my report. Plz suggest the steps to increase the performance of the report.Points will be rewarded.
Thanks:
FORM GET_DATA .
Selecting the Document number from BSEG table
SELECT BELNR BUKRS FROM BSEG INTO TABLE L_DOC_NO
WHERE BUKRS IN S_BUKRS
AND GJAHR = P_GJAHR
AND HKONT IN S_SAKNR.
IF SY-SUBRC <> 0.
MESSAGE ID 'ZTFI' TYPE 'E' NUMBER 006.
ENDIF.
CLEAR L_DOC_NO.
SORT L_DOC_NO BY BELNR.
Selecting the Document Number Based on the selection-screen.
SELECT BELNR BUKRS BUDAT CPUDT BLART MONAT FROM BKPF INTO TABLE
L_BKPF
FOR ALL ENTRIES IN L_DOC_NO
WHERE BUKRS = L_DOC_NO-BUKRS AND
BELNR = L_DOC_NO-BELNR AND
GJAHR = P_GJAHR AND
BUDAT IN S_BUDAT AND
MONAT IN S_MONAT.
IF SY-SUBRC <> 0.
MESSAGE ID 'ZTFI' TYPE 'E' NUMBER 006.
ENDIF.
*Fetch the Line Items
SORT L_BKPF BY BELNR.
SELECT BELNR BUKRS BUZEI HKONT SHKZG WRBTR FROM BSEG INTO TABLE
L_BSEG
FOR ALL ENTRIES IN L_BKPF
WHERE BUKRS = L_BKPF-BUKRS
AND BELNR = L_BKPF-BELNR
AND GJAHR = P_GJAHR
AND BUZEI BETWEEN '001' AND '999'.Hi,
Let me understand your code first.
The below code (the 2 selects) gets data from BSEG first and then gets data from BKPF table.
"*Selecting the Document number from BSEG table
SELECT BELNR BUKRS FROM BSEG INTO TABLE L_DOC_NO
WHERE BUKRS IN S_BUKRS
AND GJAHR = P_GJAHR
AND HKONT IN S_SAKNR.
IF SY-SUBRC 0.
MESSAGE ID 'ZTFI' TYPE 'E' NUMBER 006.
ENDIF.
CLEAR L_DOC_NO.
SORT L_DOC_NO BY BELNR.
"*Selecting the Document Number Based on the selection-screen.
SELECT BELNR BUKRS BUDAT CPUDT BLART MONAT FROM BKPF INTO TABLE L_BKPF
FOR ALL ENTRIES IN L_DOC_NO
WHERE BUKRS = L_DOC_NO-BUKRS AND
BELNR = L_DOC_NO-BELNR AND
GJAHR = P_GJAHR AND
BUDAT IN S_BUDAT AND
MONAT IN S_MONAT.
IF SY-SUBRC 0.
MESSAGE ID 'ZTFI' TYPE 'E' NUMBER 006.
ENDIF.
The below code, can't you avoid by taking all the fields required on your 1st select on BSEG table?
*Fetch the Line Items
SORT L_BKPF BY BELNR.
SELECT BELNR BUKRS BUZEI HKONT SHKZG WRBTR FROM BSEG INTO TABLE
L_BSEG
FOR ALL ENTRIES IN L_BKPF
WHERE BUKRS = L_BKPF-BUKRS
AND BELNR = L_BKPF-BELNR
AND GJAHR = P_GJAHR
AND BUZEI BETWEEN '001' AND '999'.
Please check the below blog on "Performance of Nested Loops" by Rob Burbank which would be really helpful.
/people/rob.burbank/blog/2006/02/07/performance-of-nested-loops
Hope this helps. Rwd points if helpful.
Thanks,
Balaji -
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 -
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. -
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. -
hi,
I'm fetching 10 datas from flat file to internal table. But my requirement is first column data is passed to table i need to select 5 column of data from my internal table.
Eg. column 1 = A1
column 2 = A2
column 3 = A3
column 4 = A4
column 5 = A5
column 6 = A6
i passed A1 data and next time i need to select A5. is it possible.
If any one knows let me give the solution..
regards,
babHi,
Have a look at this [Convert rows into columns|http://docs.google.com/Doc?id=dfv2hmgs_5d6bcxqgp&hl=en] if you are looking to convert rows of a internal table into columns
Regards,
Vikranth -
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 -
Sorting data by clicking on pivot table header in excel
Hi,
Do you have an elegant idea how to sort pivot table data, based on power pivot model,
by clicking on header (not by using the arrow on the first one).
I'm Using Excel 2013
Thank you in advance!
DinaYou could implement a solution using slicers:
http://www.powerpivotpro.com/2011/10/user-friendly-report-sorting-with-slicers/ -
Excel 2010 Pivot Table VBA Not Refreshing Table
My company recently upgraded from Excel 2003 to 2010. I had VBA written to take source data and convert it into a number of Pivot Tables on a number of worksheets. It has been working fine for years. After upgrading to 2010 the VBA crashed. I tracked it
down to the fact that when my code was making changes to the Pivot Tables (changing fields, filters, etc...) the pivot table on the worksheet had no data, but the fields were there. I can manually go to the pivot table and manually refresh and all the data
comes in.
So I tried adding the VBA code to refresh the pivot table, but the pivot tables will not refresh with data.
I tried:
ActiveSheet.PivotTables("WO Pivot").RefreshTable
and
ActiveWorkbook.RefreshAll
And these did not work.
I also tried recording a macro for the manual steps to refresh and got:
ActiveSheet.PivotTables("WO Pivot").PivotCache.Refresh
This does not work either.
The PivotTable name is correct, but I tried using the number as well, and the name works for other code manipulating the the pivot table.
e.g.:
With ActiveSheet.PivotTables("WOPivot").PivotFields("Task Title")
.Orientation = xlRowField .Position = 2
.Subtotals = Array(False, False, False, False, False, False, False, False, False, False, _False, False)
End
With Why isn't this working? Is there another way to refresh pivot table data in 2010?
Thanks. P.S. I've tried formating this so it is readable, but it comes out garbled. Hope this looks better.The solution above didn't work for me, but the following did the trick:
ActiveSheet.PivotTables("WOPivot").PivotCache.Refresh
By the way, I identified it by recording a macro, then going on the Pivot Table that needed refreshing and pressing F9 to refresh it. The line of VBA code above was the result.
Cheers,
Marco. -
Excel Pivot Table not working Office 2013 click to run
Hi
I have a user who is having an issue with Excel pivot tables.
Issue occurs when opening an old excel-file (created with Office 2007) and then saving it with another name (Save As).
When opened the next time, system gives attached error message when trying to update Pivot with "Alt + F5" command.
--> For some reason it wants to find something from that old excel file + Pivot is not updated.
Can anyone help?
Thanks
Dan SmithThank you George for your reply. The user tried the Analyze-->Change Data Source and this is what was found:
The original file name was ”Kaiken_syyskuu2014_2.xlsx”. (see the pic below)
When I have saved it as “Kaken_marraskuu2014”, it seems that all the pivots are still linked to “Kaiken_syyskuu2014_2”??
In earlier Office version this did not happen.
This excel file must be updated on monthly basis. There is tens of different pivots, so It would be quite nightmare to update the names for every Data Source one by one, every month (actually it is not possible to type name for the data
source, ranges/tables have to be selected manually).
These pivots are not re-created every month. Only the data source gets updated by pressing (Alt + F5)
This problems is solved if the pivot table data source gets updated also (=source is same than new file name) when you give new name for the file (=Save as).
I don’t see the point why pivots are still linked to old file, if you have already gave new file name for the entire excel-file.
I hope you can help.
Thanks
Br.
Dan
<v:shapetype coordsize="21600,21600" filled="f" id="_x0000_t75" o:preferrelative="t" o:spt="75" path="m@4@5l@4@11@9@11@9@5xe"
stroked="f"><v:stroke joinstyle="miter"><v:path gradientshapeok="t" o:connecttype="rect" o:extrusionok="f">
</v:path></v:stroke></v:shapetype><v:shape alt="" id="Picture_x0020_1" o:spid="_x0000_i1025" style="width:675pt;height:651.75pt;" type="#_x0000_t75"><v:imagedata o:href="cid:[email protected]"
src="file:///C:\Users\smithda1\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png">
</v:imagedata></v:shape>
Maybe you are looking for
-
How do I get a sound equalizer on Windows 7?
Hi there, I have a MacBook Pro late 2011 running Boot Camp Windows 7 Ultimate 64 bit. Now, when the built in speakers are playing sound, it runs just fine. When I plug in my speakers (Creative with Subwoofer), the bass basically shakes the entire hou
-
I have had the Master Suite CS5 installed on my Macbook Pro for about 3 years now no problems , now it has started asking me to accept the Licence agreement when I try to open any of the applications (Photoshop / iD / Ai etc) ....... but when I click
-
CCS3 3D rendering not working correctly
I create online virtual tours. These tours use HTML5 CCS3 to display the cube faced images as a spherical panorama. All my tours work correctly in FF10 on mac and PC, but testing in FF11 on PC has shown a problem. Here is an example link http://obero
-
Populating dynamic internal table
Hi All, I've created a dynamic internal table the issue is that the data is to be entered in it from 2 different tables so ... is their any way we can read the internal table field names ... or any other way to populate data in it ...
-
What is the best app for editing and using powerpoint on my ipad?
I just downloaded pages but cant seem to open my powerpoints in it. Is there a different app i should be using?