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 AM
Hi,
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
Similar Messages
-
Hide rows in Pivot table Calculated Items in OBIEE 11g
Hi All,
I have requirement to show values in Pivot table such that values are divided into two sub totals and also shown in Grand Total.
For Sub Total 1, all the rows can be shown with Sub total value. But for Sub Total 2, only Total value is to be shown but not all the rows. How this requirement can be done?
I tried to hide the rows in Sub total 2, but its effecting entire table so those rows are removing from Sub total 1 aswell which should not happen.
Have look in below table for more clarity. My output should be as shown in Table 2 not as in Table 1.
Table 1:
Q1
Q2
Q3
Q4
Geography
Type
Asia
T1
100
200
300
400
America
T2
110
210
310
410
Europe
T1
120
220
320
420
SubTotal1
330
630
930
1230
Asia
T1
10
20
30
40
America
T2
15
25
35
45
Europe
T1
20
30
40
50
SubTotal2
45
75
105
135
Grand Total
375
705
1035
1365
Table 2:
Q1
Q2
Q3
Q4
Geography
Type
Asia
T1
100
200
300
400
America
T2
110
210
310
410
Europe
T1
120
220
320
420
SubTotal1
330
630
930
1230
SubTotal2
45
75
105
135
Grand Total
375
705
1035
1365
Any ideas how this can be done??
Thanks for your time.Hi,
Thanks for the reply.
Here Subtotal will sums up the rows basing on other column (Dimension).
SubTotal 1 sums the rows basing on the another dimension( value A and value B). SubTotal 2 sums the rows basing on aother values(values C and values C.
I understand the above solution, but that is not enough to my requirement as I need to show Regions for Subtotal 1, but not for Subtotal 2. And these Subtotals are based on another column (other than Regions).
Hope this is clear now. -
How to pick the data based on customer number
Hi All ,
greets....
i have a requirement to select the data based on customer number and then do furthur processing .
example:
this is some 10 dcouments in customer nr:v1000
and 20 documents in customer v2000 in a internal table how to select that,
thank s in advance.thier is an internal table which is having some 1000records.
and their is 6 customers.
in which i should pick the data based on customer number.
how to write a code for that? -
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 -
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 -
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. -
Formatting metrics in a pivot table differently based on a unit of measure
I have a generic metrics table with columns for METRIC NAME, UNIT OF MEASURE, ACTUAL VALUE, BUDGETED VALUE, and PRIOR YEAR VALUE. Each metric has a unit of measure associated to it, and I need to be able to format these metrics differently in the same field based on that unit of measure.
For example, I may have an actual value for a "cost per unit" that needs to be formatted in dollars to 3 decimal places (Unit of measure = USD3) while another metric may be a simple "number of items" that needs to be formatted as numberic to 0 decimal places (NUM0).
Has anyone ever formatted the same column in OBIEE with different data formats depending on the unit of measure needed? I know I can conditionally format the cell with colors or images, but I haven't figured out how to change the data format in a table or pivot table.Hi,
I've read all the tips that are offered in this forum. I tried all the solutions provided here, but I can not get the grand total formatted conditionally, what I get is the following error nell'answer:
DXE compiler error. No table 'GTGT' found in DXE. Source name: DxeAPI. XML: None
Error details
Codici di errore: YV3KVTDM
Location: saw.hypercube.dxeApi, saw.httpserver.processrequest, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool.socketrpcserver, saw.threads
I'm use the version: OBIEE 11.1.1.6.2
Anyone have any ideas for me?! -
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. -
Conditional formating in a pivot table field based on another field
Hello All,
I have a pivot table with fields like Division, Day, Current DayTotal, Previous DayTotal. I have to set the background color of CurrentDayTotal field based on PreviousDayTotal. I searched all the blogs and they say Crossconditional Formatting is not possible in 10.1.3.4 pivot table.
Conditional formatting works fine with the same field but not with a calculated field. I have tried these two options (Java Script and setting XML in Advanced tab) on a similar solution based on Grand Total.
Conditional formtting in Grand total
But not able to make it work for my current situation. Can you help.
Regards,
-SriniHi,
I've read all the tips that are offered in this forum. I tried all the solutions provided here, but I can not get the grand total formatted conditionally, what I get is the following error nell'answer:
DXE compiler error. No table 'GTGT' found in DXE. Source name: DxeAPI. XML: None
Error details
Codici di errore: YV3KVTDM
Location: saw.hypercube.dxeApi, saw.httpserver.processrequest, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool.socketrpcserver, saw.threads
I'm use the version: OBIEE 11.1.1.6.2
Anyone have any ideas for me?! -
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 -
EA1 - Filter on table Data Tab
entering a statement into the filter on the data tab of a table works fine. However, once you click on another tab - e.g an SQL Worksheet / saved Script or Other table, then click back, the statement you entered will have magically disappeared.
Windows XP SP2
10g (AFAIK 10.2)
Message was edited by:
Rab_McAI also think applying the filter on leaving the tab isn't really desired behaviour; the user should apply explicitly hitting ENTER.
Right now, you could start entering a filter, reconsider half way, change tabs, and you'd get an error about the wrong filter syntax.
Additionally, this (and any other) bad filter is saved to the new (and loved) filter history. It would make sense only logging working filters, right?
Thanks,
K. -
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. -
BAPI or Function Module to get MSEG table data based on PO Number (EBELN)
Hi
1. Is there any BAPI / Function Module to get PO details based on Plant and PO date?
2. Is there any BAPI / Function Module to get Material document details(MSEG data) based on PO number?
Thanks
NarendraHi,
check the Bapis Givem below
BAPI_PO_GETITEMS
http://abap.wikiprog.com/wiki/BAPI_PO_GETDETAIL1
you will get the detail.
Regards -
Pivot Table, "Insert Page Break After Each Item" Setting Only Works for the First Item Change
I have a flattened pivot table generated from Powerpivot and I would like to insert a page break for each change in the row item.
When I use the pivot table Field Settings>Insert Page Break After Each Item, Excel inserts the first page break then returns to normal pagination for the rest of the output.
Is there another setting required to maintain the page breaks after the item change?
Thanks.We are experiencing the same problem. Did you ever find a solution?
Maybe you are looking for
-
Mail 1.2 - Outgoing messages are not sent, just pile up in outbox.
Hi - My Dad is in Maryland and has an iMac with Mail 1.2 (he won't let me upgrade him!). His outoing smtp keeps defaulting to an old .mac account of mine, rather than to his earthlink account. Then they all just pile up in his outbox. When I try to w
-
HP PSC 2355 all-in-one Carriage Jam - No paper jam found
HP PSC 2355 all-in-one unresolved carriage jam, with no paper jam found. I searched with flashlight through the back. Windows 7 64bit. Printer just out of 3 years in storage. Twice I was able to bypass the problem and print a single page, but then
-
Dear Gurus When I was updating the manual check updation in FCH5 , system gives the error message Lot 0037 is full and does not have a next lot Message no. FS548 Can anyone give me the valuable inputs Regards Sri
-
hi
-
RMI Clustering/Load Balancing
I want to be able to access a stateless application deployed in an IAS 10g cluster, with a remote client using RMI and have the RMI requests load balanced and failed over between the cluster. The application doesn't use EJBs. Can anybody tell me how