OBIEE 11 g dynamic column headings
I have guest months (1,2,3...)
NK
I fixed that with a dummy work around
created a new prompt and pass values of the previous message and put this quick as a filter on the dashboard (dashboard properties).
and used this new prompt variable as a header for the report
He worked
Thank you
NK
Tags: Business Intelligence
Similar Questions
-
OBIEE dynamic column headings based repository Variables
Hello
How can we provide variable name of the repository (from RPD) as column headings in reports (presentation Services).
Can you please suggest me how to do it?
Thanks in advance...
RAM
Hello
You can use the following link.
Oracle Business Intelligence 11g: OBIEE 11 g dynamic column headings
I used the variable presentation here, you can substitute the variable repository. The difference is that you don't need to create variable presentation, instead you use repository variable there.
If you are not clear with this, pleas come back. I'll write a new message on your problem.
-
You will need to run a report on the budget for the past 3 calendar years. I can produce the report but has difficulty to print the column position properly review this report need to run each year. Is it possible to appoint the year on appropriate using bi publisher and APEX V4 column header?
Oracle: 10G
ex:
If the report runs this year: column must be 2010,2009,2008.
If the report is run next year: column name must be 2011,2010,2009
.....
Thank you.
Tai
Published by: tai84 on October 27, 2011 12:27Oops, Yes, the password has expired. I have reset. Try again... same settings.
I was not aware of the position PL/SQL column type. You can specify in the 'Report of the attributes' tab in your area. At the top of this page, there is a section of Type "headings". If you click on the option button "PL/SQL", it displays a text box field to specify PL/SQL code to determine the column headers. This is what is used in my sample application. It calls the function 'GET_QUERY_COLS', you can find the SQL Workshop of my sample workspace area.
A brief description of what is happening in my example...
In my area "Dynamic motion", I run a dynamic SQL query because the values of the year for the columns are unknown. It runs the report of dynamic query and stores the dynamic query to the P1_REPORT_QUERY point. Then, this value of the element is passed in the function GET_QUERY_COLS that returns the name of the column, that I need. Of course, I have the user selects a range which essentially defines the columns, I need.
Thank you
Mark -
OK, so I know I can use the names of dynamic column headings. Is it possible to use the colspan HTML option to combine just the column headings? Is it possible to add an extra header above the standard report header line to offer options of 'grouping '?
Here's what I'm trying to do:
I don't want to generate the report using PL/SQL commands and htp.p (), unless there is no other choice. I can probably get away with the creation of the text elements to display/region above the report, but these look tacky in comparison.[ What Time did the delay occur ][ Total Time of Delay ][ nbsp; ] [ Hr ][ Min ][ AM/PM ][ Hrs ][ Min ][ Reason for Delay ]
Think you look at the model of the region and not the report model.
Go to share components-> models-> reports should be down at the bottom.
Trent
-
I use
DB 10g Release 10.2.0.1.0
Oracle 6i 6.0.8.8.3 reports
in the table below.
How can I have the dynamic columns 'fault' in reports in the order of its highest value of occur_times.
and a view that gives me no reports (formats below).
CREATE TABLE dem
(trid NUMBER (9.0),)
tr_date DATE,
point VARCHAR2 (10),
failure VARCHAR2 (5).
occur_times NUMBER (9.0))
/
INSERT INTO dem
VALUES
(1, 26 - JAN 2016', 'MC', 'AB', 3)
/
INSERT INTO dem
VALUES
(2, 26-JAN 2016', 'MC', 'FM', 2)
/
INSERT INTO dem
VALUES
(3, 26 - JAN 2016', 'MC', 'SO', 5)
/
INSERT INTO dem
VALUES
(4, 27 - JAN 2016', 'MC', 'AB', 8)
/
INSERT INTO dem
VALUES
(5, 27-JAN 2016', 'MC', 'FM', 2)
/
INSERT INTO dem
VALUES
(6, 27-JAN 2016', 'MC', 'SO ', 1).
/
Commit
/
example1
"Report of input parameter: count 26 January 2016 ' to 26 January 2016"
Output format of report
point defects Total SW AB FM
------- ---------------- ---- ----- -----
MC 10 5 3 2
e.g.2
"Report of input parameter: count 26 January 2016 ' January 27, 2016"
Output format of report
point defects Total FM SW AB
------- ---------------- ---- ----- ----- 21 11 6 4 MC
in example1 in date range, the flaws in the order of its value max occur_times is FM SW, AB,
but in e.g.2. in view of the date range default by order of its value max occur_times is AB, SW, FM
THE FAULT of MAX VALUE should take precedence i.e. dynamically in the reports.
concerning
teefu
Lahore, pakistan.
You must create the parameter in the oracle reports. When the report of the form calling create the parameter list and then pass the required parameter.
SELECT the item,
fault,
Sum (occur_times) tot_times,
ROW_NUMBER() over (ORDER BY SUM (occur_times) DESC) rn
DEM
WHERE the fault ("AB", "FM", "SW")
AND tr_date BETWEEN TO_DATE(:p_dt1,'dd-Mon-yyyy') AND TO_DATE(:p_dt2,'dd-Mon-yyyy')
GROUP BY item, fault
;
-
Dynamic columns based on the user login
Dear Experts,
Is it possible to display the columns dynamically according to the connection of the BI Publisher user?
For example, if the report of RTF model has 10 columns in total and if I connect with a user named "abc", I should be able to see, say 6 columns containing information about the user "abc".
And if I have connection with "xyz", I should be able to see, say 7 columns containing information about the user "xyz".
I will be able to assign to which column should be displayed to the user who?
If there is a way to achieve this scenario, please let me know as soon as possible, since there is an urgent need.
Your help will be very appreciated.
Thanks in advance!
Yes, using: xdo_user_name in the SQL data model, you can get the details for user identification.
Then use this model column RTF for display of the dynamic columns.
Example:
Select: xdo_user_name as USER_ID of the double
In RTF
Column header Column data -
Creating a dynamic column editable
I tried to make my dynamic columns as editable. The problem is that my dynamic columns are nested.
Now editable column works fine when I have diff columns with a different name. For example, col1, col2, col3 (not nested)
Or I nested columns like "pass"(parent) given two columns col1 and col2. ".
But, when I use them in a dynamic of columns in which all of them have the same name, in the example below, each with the same name 'col', I can change all of them, but the textfield never faded away, when I click on ENTER.
Suppose I have an editable column with col name:
and cellfactory as:for (final CategoryTypeVO type : typeList) { TableColumn<ItemVO, Integer> col = new TableColumn<ItemVO, Integer>(type.getTypeName()); col.setMinWidth(100); col.setEditable(true); col.setCellFactory(cellFactory); col.setOnEditCommit( new EventHandler<TableColumn.CellEditEvent<ItemVO, Integer>>() { public void handle(TableColumn.CellEditEvent<ItemVO, Integer> t) { ((ItemVO)t.getTableView().getItems().get( t.getTablePosition().getRow())).getListType().get(type.getTypeId()).setQuantity(t.getNewValue()); } }); quantity.getColumns().add(col); }
and Editing class asfinal Callback<TableColumn<ItemVO, Integer>, TableCell<ItemVO, Integer>> cellFactory = new Callback<TableColumn<ItemVO, Integer>, TableCell<ItemVO, Integer>>() { public TableCell call(TableColumn p) { return new EditingCell(); } };
Now what happens is this thing works fine if I separate columns with distinct names. But when it comes to dynamic columns, it fails, once I have edit a cell, the text field never leaves his place. It gets stuck in the cell. Any help!class EditingCell extends TableCell<ItemVO, Integer> { private TextField textField; public EditingCell() {} @Override public void startEdit() { super.startEdit(); if (textField == null) { createTextField(); } setGraphic(textField); setContentDisplay(ContentDisplay.GRAPHIC_ONLY); textField.selectAll(); Platform.runLater(new Runnable() { @Override public void run() { textField.requestFocus(); } }); } @Override public void cancelEdit() { super.cancelEdit(); setText(String.valueOf(getItem())); setContentDisplay(ContentDisplay.TEXT_ONLY); } @Override public void updateItem(Integer item, boolean empty) { super.updateItem(item, empty); if (empty) { setText(null); setGraphic(null); } else { if (isEditing()) { if (textField != null) { textField.setText(getString()); } setGraphic(textField); setContentDisplay(ContentDisplay.GRAPHIC_ONLY); } else { setText(getString()); setContentDisplay(ContentDisplay.TEXT_ONLY); } } } private void createTextField() { textField = new TextField(); //textField.setText(getString()); textField.setText("0"); textField.setMinWidth(this.getWidth() - this.getGraphicTextGap()*2); textField.focusedProperty().addListener(new ChangeListener<Boolean>() { @Override public void changed(ObservableValue<? extends Boolean> arg0, Boolean arg1, Boolean arg2) { if (!arg2) { commitEdit(Integer.parseInt(textField.getText())); } } }); textField.setOnKeyReleased(new EventHandler<KeyEvent>() { @Override public void handle(KeyEvent t) { if (t.getCode() == KeyCode.ENTER) { commitEdit(Integer.parseInt(textField.getText())); } else if (t.getCode() == KeyCode.ESCAPE) { cancelEdit(); } } }); } private String getString() { return getItem() == null ? "" : getItem().toString(); }
Published by: abhinay_a on January 21, 2013 12:31 AMDo not know what is the problem in your code, but it is easier to use TextFieldTableCell than building your own TableCell from scratch.
This change to the example I posted in How to create a tableview for this? works for me:
package itemtable; import javafx.application.Application; import javafx.beans.value.ChangeListener; import javafx.beans.value.ObservableValue; import javafx.scene.Scene; import javafx.scene.control.ChoiceBox; import javafx.scene.control.TableColumn; import javafx.scene.control.TableColumn.CellDataFeatures; import javafx.scene.control.TableView; import javafx.scene.control.cell.PropertyValueFactory; import javafx.scene.control.cell.TextFieldTableCell; import javafx.scene.layout.BorderPane; import javafx.stage.Stage; import javafx.util.Callback; import javafx.util.converter.NumberStringConverter; public class ItemTable extends Application { @Override public void start(Stage primaryStage) { final DAO dao = new MockDAO(); final ChoiceBox
choiceBox = new ChoiceBox (); choiceBox.getItems().setAll(dao.getCategories()); final TableView - table = new TableView
- (); // Make table editable: table.setEditable(true); final TableColumn
- nameCol = new TableColumn
- ("Name"); nameCol.setCellValueFactory(new PropertyValueFactory
- ("name")); nameCol.setCellFactory(TextFieldTableCell.
- forTableColumn()); final TableColumn
- priceCol = new TableColumn
- ("Price"); table.getColumns().addAll(nameCol, priceCol); choiceBox.getSelectionModel().selectedItemProperty() .addListener(new ChangeListener
() { @Override public void changed(ObservableValue extends Category> observable, Category oldValue, Category newValue) { table.getItems().clear(); priceCol.getColumns().clear(); for (final Type type : newValue.getTypes()) { final TableColumn - col = new TableColumn
- (type.getName()); col.setCellValueFactory(new Callback
, ObservableValue >() { @Override public ObservableValue call(CellDataFeatures - cellData) { Item item = cellData.getValue(); if (item == null) { return null; } else { return item.priceProperty(type); } } }); // Make column editable: col.setEditable(true); col.setCellFactory(TextFieldTableCell.
- forTableColumn(new NumberStringConverter())); priceCol.getColumns().add(col); } table.getItems().setAll(dao.getItemsByCategory(newValue)); } }); BorderPane root = new BorderPane(); root.setTop(choiceBox); root.setCenter(table); Scene scene = new Scene(root, 600, 600); primaryStage.setScene(scene); primaryStage.show(); } public static void main(String[] args) { launch(args); } }
Edited by: James_D January 22, 2013 07:22
- table = new TableView
-
Adding dynamic columns to datagrid at the beginning of the datagrid
Hello friends,
There is a datagrid that is static. and I m adding a dynamic column. It is added at the end of the static data grid
but I want to add dynamic at the begning of the datagrid column can someone help me on this.
Thanking you,
Kind regards
Gallot
datagridfeeamount.dataProvider = new ArrayCollection (event.result.rows.row) collection;
the word 'new', after that the = was supposed to be red and larger
-
Dynamic columns in dashboard prompt
Hi all
I have to 'TOP' dispay & dynamic value 'BOTTOM' in the drop-down list of the dashboard invites the creation of a dynamic column value in the drop-down list prompt dashboard? I'm trying to create in writing view sql result but not getting does not correctly according to the selection of HIGH and low, I must make a report changesSELECT CASE WHEN 1=0 THEN ExistedPresentationColumn ELSE 'TOP' END FROM SubjectArea
UNION ALL
SELECT CASE WHEN 1=0 THEN ExistedPresentationColumn ELSE 'BOTTOM' END FROM SubjectArea
-
Missing cells in the table of dynamic columns
Hello
I am creating a table using dynamic columns. Here's an example simplified data that I use:
< sales >
... < drive >
... Honda < brand > < / brand >
... < color > green < / color >
... < / car >
... < drive >
... Nissan < brand > < / brand >
... < color > blue < / color >
... < / car >
... < drive >
... Honda < brand > < / brand >
... < color > blue < / color >
... < / car >
< sales >
I am grouping the brands for the lines, and I want a number of colors as my dynamic column. I find myself with a table that looks like this:
----------------------------------------------------------------------------------
Brand | Blue | Green |
----------------------------------------------------------------------------------
Honda | 1. 1.
----------------------------------------------------------------------------------
Nissan | 1
--------------------------------------------------------
Since there is no green Nissan, a cell not created so I find myself with a hole in my table. Ideally, I would want a cell containing 0 to be in this space.
Is it possible, or to all the least have a cell in this space, so I did not have a table with gaps?
Thank you!Hi cc22
If you have a look at these. http://winrichman.blogspot.com/search/label/cross%20tab
you will identify yourself,its simple... If this is not the case, let me know.
-
Help by calling the dynamic columns in anonymous blocks
my code:
DECLARE
col1 VARCHAR2 (20): = "City";
BEGIN
I'm in (select * from xbd.cus_ord where rownum < 10)
LOOP
- I would call col1 dynamically here in my outings DBMS.
DBMS_OUTPUT. Put_line (i.col1);
END LOOP;
END;
/
The code above I tried to call a dynamic column. How can I do that.
I Heve been tried differently using EXECUTE IMMEDIATE. It still does not work.
THX,
VIDECLARE col1 VARCHAR2(30) := 'object_name'; TYPE REF_CURSOR IS REF CURSOR; refCursor REF_CURSOR; text VARCHAR2(4000); BEGIN OPEN refCursor FOR 'SELECT ' || col1 || ' FROM all_objects WHERE ROWNUM < 10'; LOOP FETCH refCursor INTO text; EXIT WHEN refCursor%NOTFOUND; DBMS_OUTPUT.PUT_LINE(text); END LOOP; END; /
-
Extraction of dynamic columns in table
I have table with 1000 rows and 200 columns. The columns have additional suffix IE
Table = 'X '.
Columns = ID, A, B, C, D1, D2, D3... D200
I would like to get the values of each column so that I can treat them accordingly.
OPEN c1 to SELECT * FROM X
LOOP
C1 FETCH BULK COLLECT INTO l_dies;
FOR indx IN 1... l_dies. COUNTY
LOOP
FOR indx to 0... 200
LOOP
colStr: = l_dies (indx). || » D'|| INDX; <-trying to dynamic column of concat name, but it gives an error.
Dbms_output.put_line ('indx =' | indx |) 'col = value' | colStr);
END LOOP;
END LOOP;
END LOOP;
Maybe it's not the right way, but just an example of what I want to achieve.
Thanks in advance.http://asktom.Oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:1035431863958
Visit this link especially the very first post of Tom (Proc print_table).
I hope this helps.
Concerning
REDA
-
Freeze the column headings in OBIEE 11.1.1.7
Hi Experts,
I have reports with a lot of columns, but the report is not easy to check.
When a user scrolls to the bottom of the report, the column header need to stay in place and move only the data rows.
I applied the next configurations but I do not see the changes. http://shivabizint.WordPress.com/tag/scroll-bar-in-OBIEE/
How can I freeze columns?
I think that it will work on the Version of IE greater than 8.
Thank you
AJ
-
Center the column headings in obiee 10g
Hello
I need to center the column headers for all columns in a report.
For the rest of the reports, it should be by default.
Is it possible to align the column focused without going through the column headers and modify the properties...
Thanks in advance...
Sankat.Hello
You can do one way.
The option called - import formatting of another analysis.
How to proceed:
Create a column and changes of position of column format and save this report then GO--> your main report--> tab Select results--> below option called set import in form, another analytical use, this option will apply in your report, format column changes all the columns.
Note: Have you tried the "formatting of another analysis to import" button in the upper left corner of the view of layout? Make all your changes of format in an analysis. Then when everything is finalized, import them in other analyses.
Hope this helps
Thank you
Satya -
OBIEE 11 g: freeze the column headings?
Hello experts,
I'm still new to 11.1.17 and my boss wants to be frozen, just like in excel components of the report. Someone if there is an easy way to do more through the instanceconfig.xml? Only through the analysis
I thought go 11.1.1.6 maybe things have improved. Anyone with a full step by step instructions?
You will surely enjoy assistance
In 11.1.1.7.0 view--> table in the style section properties table
Select "display as 'Fixed with scrolling of content headers' option if you don't need just trun disable and enable paging of data content.
Thank you
Angelique
Maybe you are looking for
-
I have a photosmart 2610 all-in-one it works perfectly fine when I connect through my usb cable. the only thing is that I have 3 computers at home and who are used mainly for school work.when I arrived to my printer, everything has worked until recen
-
Cannot connect by Satellite P100-283 to a projector
I must have missed a driver when I reinstalled my satellite. It does nothing when I press F5 func, can someone give me a clue as to which driver I'm missing? / Lars
-
New iPhone 6s cannot set up blue tooth
its Configuration Bluetooth connection do?
-
Download the latest version of iTunes with Windows 10
I can not download the latest version of iTunes with windows 10 to my laptop. I get the following message "the feature you are trying to use is on an unavailable network resource" I don't know what that means. Any suggestions?
-
Security Center Windows won't power up - error: could not start the Security Center Service
Windows Security Center does not, when I try to turn it on there an error message says "Cannot start the Security Center Service". There is an icon on the bottom of my screen of windows security alert, I don't know if my computer has a virus, but I s