For Timo: Dynamically create pivot table binding
Hi Timo,
Long time ago you have this announcement on a thread:
"The solution for your use a 2013 DOAG case, I presented was to create binding table pivot out user defined attributes in the table."
For the defined attributes, VO is created dynamically and the pivot link.
The pivot link is exchanged during execution as well as the activation of the adequate VO Dynamics to get only the
necessary data for the pivot table in particular.
......
I can't give you a working example because it is too complex. I can make available slides, but they are in German. "
We have the same problem.
Can you please send me this presentation on: email address removed by the moderator - there is no private through this public forum consultation >
I can't find this Presentation on the Internet.
Maybe, if you have some examples of simple work, too.
Kind regards
Diana
Diana, you can get the DOAG2013_DynamicPivotTable_virtual7 blades | JDev & ADF Goodies
The sample is too complex to be made available through my blog.
Timo
Tags: Java
Similar Questions
-
Dynamically create a table of contents
I'm having a problem dynamically create a table of contents (table of contents). I set up the table of contents in my template, but apparently not otherwise than he does until I run the report during execution. I feel that the TOC can be built dynamically, but I do not see how this works. Any thoughts?
Group of LINE by TABLE_NAME
TABLE-NAME
"The data in the table.
page breakend LINE of TABLE_NAME
Here are the results before and after execution:
Table of contents
TABLE_NAME...........................................................................................................................Hi Patrick,
Take a look at the email I sent.
Simply enter the domain name like and do not use the form for this field.
-
dynamically create a table of containers
Hello
I'm am on 4.2 test bench and want to create an array of containers dynamically. The number of containers comes from the unit I tested. What are the steps needed to do this, the array element container contains 3 numbers and an ascii string.
I do this by using the SetNumElements method.
(1) create a customized data type for a container that contains strings and elements of your number
(2) add a local variable in your sequence, which is an array of the new type (and check the empty box)
(3) add a function call in your sequence similar to:
SetNumElements (Locals.LocalContainerArray, Locals.NumElements)
Locals.NumElements is a variable for the size of the array.
I hope this helps.
-
Calculates percentage columns in dynamic loose pivot table formatting in Excel
I have a simple report built using PivotTable (OBIEE 11.1.1.5.0)
1 measure and 1 dimension using PivotTable. and I have reproduced the metric column and change to the % column. (Display data as a percentage of the column). So far so good. Here's the snapshot
http://Tinypic.com/r/2s14xa9/7
Now I download the report in excel and all % values are messy. Here's what it looks like
http://Tinypic.com/r/bede90/7
I tried to play with the data formats etc... nothing works... I can't add a column to the metric column format as this will impact the derived column %.
Is this a bug? Pointers...
Thank youHello
I have recovery SR to My Oracle team they said this is to improve and provide the best formatting in Excel. the office 2010 and the next realease obiee11.1.1.6 is supportedThank you
Deva
-
Create a table of contents Interactive
I'm looking for the instructions for how to create a table of contents interactive which allows you to click on a title/chapter/etc, and he takes them to the location in the document specified. Just like the Adobe Handbook at this link.
https://helpx.Adobe.com/PDF/acrobat_reference.PDF
How can I do this?
It is something that must be done before the file is converted to PDF, if possible. In Acrobat is long and difficult.
However, if your file already contains bookmarks that point to the various sections in it, then they can be converted into a clickable table of contents, using a script.
-
Create the table with the environment variables
Hi all
When an event occurs, I would create a table by a planning procedure.
I can create a table with these last or similar syntax:
create table % s_ %t in select acme_ * from a;
I would use this syntax because this event could be spend more time per day and so I can check.
is this possible?
Thank you very much
Ciao
AlbertoAlbertofro wrote:
Hi all
When an event occurs, I would create a table by a planning procedure.
I can create a table with these last or similar syntax:create table % s_ %t in select acme_ * from a;
I would use this syntax because this event could be spend more time per day and so I can check.
is this possible?Thank you very much
Ciao
AlbertoTo dynamically create a table, you must use EXECUTE IMMEDIATE. If you want your table to be padded with timestamp name you can do it with the function TO_CHAR and SYSDATE.
An example
execute immediate 'create table acme_' || to_char(sysdate, 'DDMMYYYYHH24MISS') || ' as select * from a';
-
Hi all
I have a table with the subtype, DATAID, ORIGNALDATAID, DATE column.
Select dataid, orignaldataid table where subtype = 1 and the Date = August 1, 2010.
I have the above query statement. I need the dataid for further processing, but before the treatment is done. I need to check if the orignaldataid = 0, if yes, dataid remains of another dataid = orginaldataid. Before the list was move to another sql. But I intend to use sql nested for futher treatment, so I need the database to crunch the data instead of using java to change the data.
I was thinking creaating another table of virtaual in DB where it will automatically do this for me instead of having the column dataid and orginaldatid, it will juice dataid column. Then I can just query the virtual table.
Select dataid from virtualTable where subtype = 1 and the Date = August 1, 2010. Is this possible?I have a few questions to ask, because I'm not clear on what to do:
(1) of the virtual table, did you mean a temporary table or view Inline?
(2) is it an inevitable necessity for you to create another table just for fun a column?
(3) did you want a (kind-of-a-thing) wrapper around the original with the required columns table for java work on, in this case, a query online can be a good option similar to below:
create or replace view vw_table is select (case when orignaldataid = 0 then dataid else orignaldataid end) dataid from table where subtype=1 and Date=01-Aug-2010
You can use the select query as-is as a subquery.
HTH.
-
Exclude a measure the total general dynamic level 'Lines' of a pivot table
Experts,
Is it possible to exclude a measure the total general dynamic level 'Lines' for a pivot table?
Version - OBIEE 10g
Kind regards
LIBERATORNo, I mean not the dropdown list above when you edit the formula in the column. It of there on 11g but don't remember off the top of my head if it is in the same place on 10g.
Paul
-
How can I customize the font size for Pivot Table Section 11 g?
Hi all
I'm new to CSS customization, and I followed the suggestions to use tools like Firebug to look at the CSS styles applied to a particular item.
11 g, I have a report that uses rotating sections of the table to display the numbers associated with the Department in each Department and the sections. Using Firebug, I see that the titles of the Department are on police-size: 9px; by default. The HTML is:
< class = "PTSC OOLT" td style = "" are-size: 9px; ">"
I would like to change the font size default to the values of the Section of the Pivot Table so that it displays 11px-size of font instead of 9px for all reports.
Digging around, I don't see a way to do unless I have use custom styles custom.css and reference in each of my pivot views. Does anyone else have a suggestion how how I can change the default font size without having to create a custom.css entry? We have many existing reports that have been migrated over 10 g that I prefer not to go back and must add a reference to each view simple pivot.
Thank you.Hello
Please see:
http://www.Oracle.com/WebFolder/technetwork/tutorials/OBE/FMW/bi/bi1113/customizing_obiee11g/customizing_obiee11g.htm
and search for "Deployment of a Style Custom"Concerning
Young -
How to create the table with value list/map binding
I need to display some values in a tabular format. It is possible to create a table adf without having value binds to a VO object. I can make a table with a combination of list/map.
I want to change the format of display with minimum change in the application. I therefore seeks a change to a list/map and map with the table.
Here is the structure in that I need to post.
_______________________
| | Header1. Tete2 |
|_______|_______|_______|
| Txt R1 | value 1. Value 2.
|_______|_______|_______|
| Txt R2 | Value 3. value 4.
|_______|_______|_______|
All views is completely irrelevant. So I should not create a VO and add the VO object lines.
Published by: yannick June 10, 2011 11:34Yes, you can do it. Create a pojo with properties (column) that you want to display in the table and create a list of instances of the POJO and then you can fill your table using the list.
Sample:
//POJO public class SamplePojo { private String col1; private String col2; public SamplePojo(String col1, String col2){ this.col1 = col1; this.col2 = col2; } //add setter and getter methods } //Inside bean, prepare a list with pojo instances (Assume a getter exists for pojoList) pojoList = new ArrayList(); pojoList .add(new SamplePojo("Value1", "Value2"); pojoList .add(new SamplePojo("Value3", "Value4"); etc. //Inside jspx
HTH
Jean Lou -
How to dynamically create table names?
I need to dynamically create arrays with array variable names.
for example, something like this:
for (var n = 0; n < nodeContainer.length; n ++) {}
nodeObj = nodeContainer [n];
var name: String = nodeObj.nodeID;
table [name]: Array = new Array(); will create the table as "arrayName?
}
How?
Although MovieClip is a dynamic class, classes that extend it DO NOT INHERIT of dynamic features.
You'd become a big favor if you read the documentation:
http://www.Adobe.com/LiveDocs/Flex/201/langref/statements.html#dynamic
To be a class dynamic it must be explicitly defined as such. In your case, it should:
SerializableAttribute public class dynamic couple extends MovieClip
And, even once, you REALLY need to understand the AS3 syntax. I'm sorry for you teaches, but despite suggestions you insist on doing bad, although solutions are presented in the clearest way possible.
The line var myObject ["v_" + VNAME] = new Object(); is a total nonsense in terms of syntax. If you have read my previous message (s), you must write it this way:
var myObject:Object = new Object();
["v_" + VNAME] myObject = new Object();
-
Pivot table dynamic table - chart axis of the show as "percent".
Hi all
I have a pivot table is generated, with the lines as year/month and columns like web browser. However I only watch 5 albums used, browsers so that used columns are dynamic.
I would like to show the graph as a 'percentage of line. I know that I can turn this on the data in the table, but it does not filter although in the graph. Does anyone know how to get there? Can you add the total of a line and use it in a formula?
Thanks in advanceHello
Not sure how the PivotTable, however we have may be able to pull this back as a separate column in the criteria tab which you can then use.
What is your metric name?Lets say you have Time.YearMonth, browser, count
Add another column, change the fx for this column and use sum (time.yearmonth County) - this will give you the total amount for the year regardless of browser.
Add another column and simply count / sum (time.yearmonth County) * 100 to get the percentage of the total for the year - plays about with using them in the pivot or you might get away with a straight table view?Hope this helps, another solution would be to implement a shaved basic measure to the RPD.
Published by: Alastair_PeakIndicators on March 31, 2010 08:26
-
I need to create a table of contents in iPages but I want only one word for the title, not the line of holes. Or, how can I change the contents of the table? Thank you!
Yes, you can have a one word title, by assigning a paragraph style title to this one word. No, you cannot change the text in a Table of contents, but you can change paragraph style font attributes (line) and add for example, a head of points between the types of OCD paragraph and page numbers. No part of the table of contents will not provide hyperlinks in exported PDF documents.
When you look up in the menu bar, you can see the word iPages, or simply Pages. There is no product of iPages.
-
Creating a table of automatic indexing of loop for
Hello and greetings from a newbie to LabView,
In my program, I want to write several orders via VISA and read them in order. I created a table of command and auto-indexé to a loop for.
I want to receive a table of responses, in the order they were read of course. However, I'm not sure what is the best way to do it.
I'm sure that the solution is simple but have been unable to find one. I have attached the vi for reference. (VISA vi reading is part of the LabView unit driver), which works, but looks like a unmodular approach and inelegant.
Thank you!
Simple, you can auto-index the output!
-
Programmatically create ADF Table and binding.
Hello
I create the table and the columns programmatically using richeTableau and RichColumn. But unable to fill in the data in the table cells.
Here is an excerpt of the code used. I followed the specified discussion ADF of Create Table by program. but I am not able to work.kindly suggest to solve this problem.
RicheTableau tblObj = new RichTable();
TableValues = (ArrayList) getCompValue (wsValues, compId) list; contains a list of the HashMap object.
tblObj.setVar ("trow");
tblObj.setId ("tblDBrd");
for (int k = 0; k < tblColumns.length; k ++) {/ / tblColumns contains a list of name of column to display in the table}
RichColumn tblColumn = new RichColumn();
tblColumn.setVisible (true);
tblColumn.setId ("col" + k);
tblColumn.setHeaderText (tblColumns [k]);
UI RichOutputText = new RichOutputText();
ui.setId (compId + k);
"{[String expression =" #{row [] "+ k +"] ['"+ tblColumns [k] +"] ' ']} "; want to retrieve the value of #{rank [k] [columnname]}
ui.setValueExpression ("value", getValueExpression (expression));
addComponent (tblObj, tblColumn);
addComponent (tblColumn, ui);
}
tableModel = new SortableModel (tableValues);
tblObj.setValueExpression ("value", getValueExpression("#{backingBeanScope.dashboardBean.tableModel}"));
Thanks in advance.
Best regards
Arun
You need the table setValue. Take a look at these discussions: programmatically set another link to Table read-only ADF and http://stackoverflow.com/questions/22389813/change-the-displayed-value-in-adf-table to get a few first thoughts and feel free to come back if you get stuck somewhere.
Maybe you are looking for
-
Lost satellite L450-136 - scroll function
Hi all I seem to have lost the ability to scroll using the edge of the normal scroll OK. All ideas welcome
-
Measure the intensity of the flash using a photodiode
Hello world I want to measure the intensity of the flash of my flash lamp using a photodiode. Maximum repeat of the lamp flash rate is 500 Hz, the duration of the pulse ~ 2 µs. Right now I use a card counters/timers PCI-6602, so I have to buy new mat
-
I use two monitors to my SCADA application. Is there a way to change the position where the confirmation box popups so it doesn't have to be divided into two monitors?
-
Could not paste bitmap screenshot in Paint, paste the function not active
Vista paint non-active control V to paste the screenshot. Why?
-
EA4500 firmware upgrade failure and subsequent problems
I had a few problems of intermittent connection with my ea4500 so I decided to upgrade the firmware for the Smart Wifi. I lost my connection to about 90% and could not get the router to connect with my ISP since then. I am able to bypass it and go s