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.

Tags: Business Intelligence

Similar Questions

  • OBIEE 11 g dynamic column headings

    I doubt I should do some dynamic column headings in OBIEE 11 g

    I have guest months (1,2,3...)

    but in the report I want column header to be something as if showing 1 do Jan...

    How to achieve this and is for the column headers!

    Thank you

    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

  • Dynamic column headings

    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:27

    Oops, 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

  • dynamic columns selection based on login in BI answers

    Hello

    I have a dimension with manager level 1 to 10, based on the user login, I want to display the table with the column (level 1 or level n) dynamically (ex: If the user is in the n level manager, display the level n with other data column in the table). P.S. There are over 10000 + users, so I can not customize each user.
    can you please let me know if this is possible and how?

    Thank you very much

    You can use the function indexcol to that effect.
    http://download.Oracle.com/docs/CD/E12096_01/books/AdminTool/admintool_SQL15.html

    In the document, you have an example of hierarchy.

    Success
    Nico

  • Custom report column headings

    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:
    [  What Time did the delay occur ][ Total Time of Delay ][  nbsp;             ]
    [   Hr   ][   Min   ][   AM/PM   ][   Hrs   ][   Min    ][ Reason for Delay   ]
    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.

    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

  • hide an entire column based on variable presentation?

    Has anyone tried to do this? If the user selects all records guest I want to display the analysts assigned to those records. If the user selects a specific analyst, I want to show the column of the analyst. I know I can null out or show analyst based on variable presentation but what about hide entire column?

    If this is not possible, has anyone tried to use conditional formatting to hide the entire column?

    Strange. It works for me. We will focus on this report and make sure that nothing is missing.

    The interim report has two columns, the column of the analyst and the MAX column (RCOUNT (1)), Yes?

    There is a filter on the column analyst defined according to the presentation of the prompt variable, Yes?

    You have another filter on the column MAX (RCOUNT (1)) set to "is greater than 1", Yes?

  • 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

  • dynamic columns

    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

    ;

  • The use of the repository variable date in filter expression

    Hi gurus

    I get the error using repository variable date in filter expression. I use the formula below

    filter (with the HELP of Fact.calls"Sun Time".) ("' Fiscal months end date" = VALUEOF ("month_start"))

    I am getting below error

    The formula syntax is not valid.
    [nQSError: 10058] A general error occurred. [nQSError: 43113] The message returned by OBIS. [nQSError: 22024] A comparison is performed between incompatible types. (HY000)
    Publ. SQL: SELECT filter (fact. Calls by using "Sun Time" ". Fiscal months end date"= VALUEOF ("month_start")) 'call DATA.

    Then I tried the below format I still get the error

    filter (with the HELP of Fact.calls"Sun Time".) "" Fiscal month end date "= DATE'(VALUEOF ("month_start"))") "

    The formula syntax is not valid.

    [nQSError: 10058] A general error occurred. [nQSError: 43113] The message returned by OBIS. [nQSError: 46047] DateTime (VALUEOF("month_start")) (VALUEOF("month_start")) value does not match the specified format. (HY000)

    Publ. SQL: SELECT filter (using "Sun Time" Fact.Calls. ("' Fiscal months end date" = DATE '(VALUEOF ("month_start"))') 'call DATA.

    Please let me know what I'm missing or what is the correct syntax of same using the repository of date variable.

    Thanks in advance

    Concerning

    @li

    filter (with the HELP of Fact.calls"Sun Time".) ("' Fiscal months end Date" = CAST (VALUEOF ("month_start") date))

    Try this

    mark, if this can help

  • 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:
    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 cellfactory as:
    final Callback<TableColumn<ItemVO, Integer>, TableCell<ItemVO, Integer>> cellFactory = new Callback<TableColumn<ItemVO, Integer>, TableCell<ItemVO, Integer>>() {
                        public TableCell call(TableColumn p) {
                             return new EditingCell();
                        }
                   };
    and Editing class as
    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();
               }
    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!

    Published by: abhinay_a on January 21, 2013 12:31 AM

    Do 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 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

  • Dynamic image displays based on Yes / No value

    Dynamic image displays based on Yes / No value

    I´d like to have a picture showing, according to a specific value (y/n)

    .. Sorry need help.

    I have can´t get it workin...

    < img <? PHP $status = "n";

    If ($status == 'y') {}

    "echo"src ="stecker_on.png" alt = "yes" ';

    } else {}

    "echo"src ="stecker_off.png" alt = "no" '.

    } ? > height = "71" width = "101" / >

    The STI image shows not... ideas?

    All I get is a text showing:

    height = "71" width = "101" / >

    Thank you very much!!!

    That error could only say that you implemented my suggestion correctly, or there is a pre-existing error on your page.  The code I gave you is correct.

  • 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 changes
    SELECT 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
    
  • can we use repository variables in bi publisher as in answers

    can we use repository variables in bi publisher as in answers

    If possible, how

    Yes,

    but you should use Oracle BIEE as data source in order to use the variable in the repository

    you will need to follow the following syntax: valueof ("variable")

  • 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.

Maybe you are looking for