OBIEE dynamically hide columns based on dahsboard guest
Hi allI have a requirement where I have different fields the same as table report (Qty 0, Qty1...) Qty 20 and Desc 0, Desc1... 20 / / DESC and a few other fields of the same type). Now the user wants a selection option where it can enter a value to display a set of fields or multiple as in if it between '1', he expects to see only Qty1, desc1 and rest hidden report and this selection option must be multi select. I don't know if it's feasible. If Yes can you please help me.
Thank you!!
I don't think you achieve this using the column selecto as you try to replace several columns in one and Yes, you will need to create several reports and place them into different sections, then use conditional statements to show/hide the based on the value of the variables of the presentation. Not an ideal way to do but it could be acheivable.
Tags: Business Intelligence
Similar Questions
-
Hide column based on the State in BI Publisher Excel Template
Hello
I have a requirement to hide a column based on certain conditions in the Excel of BI Publisher model. I am newbie for BI Publisher excel template. Anyone can provide some advice on this?
I need this emergency. Any kind of help would be very appreciated.
Thank you
Renu
Hi Renu,
Recently, I came across a similar requirement, and I went to without BEEP features to hide and show columns during execution, unlike the RTF.
But I did it in Excel model with the help of the Macro. It works fine for me.
Please see below
1. based on a cell value 'A', I have to hide the column
2 written a simple if statement in macro to get the value of 'A' and do the hide/show
3. you need to do this only in "ThisWorkbook" macro is executed when the excel output is open.
Thank you
Mani
-
Dynamically show/hide columns in the reports of the IR
Env
RDBMS: Oracle XE 11.2
Request Express 4.2.4.00.08
Hi all
I am bulding an open source oracle apex app to track aircraft using ADS - B technology.
I have somes types of units. for example (kilometers, miles, knots, feet and metres).
So, in the report of the IR, I want pick capable of showing a unit in time.
For example
Radio Group.
Ground speed: (*) km/h () Mhp (Knt)
Vertical speed: (*) ft/s (m/s)
Can anyone help to build a code or point a direction to get above result?
I tried already a thread, but did not work.
Apex: Display/hide report column with Radio button. 2 cents to Oracle by Christoph
Display / hide column IR dynamically
I have a limited knowledge of Oracle APEX.
Levi Pereira says:
I am bulding an open source oracle apex app to track aircraft using ADS - B technology.
I have somes types of units. for example (kilometers, miles, knots, feet and metres).
So, in the report of the IR, I want pick capable of showing a unit in time.
For example
Group of radio buttons.
Ground speed: (*) km/h () Mhp (Knt)
Vertical speed: (*) ft/s (m/s)
There are different ways to do this. Probably the easiest would be:
- Create lists of values (LOVs) for units.
- Add the elements of the Group of radio -based unity LOVs report interactive region (IR), by specifying one of the units as a default value.
- Present the radio group via the Items property of the Page to send IR region.
- Create multi-column report for each metric combination / unit.
- Control the display of the report columns (applies to IR, but also classic report columns) conditionally using value of element in the Expression 1 = Expression 2 conditions Expression 1 is the group element of relevant radio and Expression 2 unit LOV value corresponding to that used in the column of the report.
- Add a dynamic action on the evolution of the components of the radio to refresh the IR region.
A less obvious approach would also use LOVs, group radio elements and dynamic action of change/update as above, but only have one column for each measure in the report. The column value is calculated using an expression based on the value of the radio group, for example:
. . . /* Assuming base speed unit is km/h */ ground_speed * case :p1_ground_speed_unit when 'mph' then 0.621371 when 'kn' then 0.539957 else 1 end ground_speed . . .
The unit could be indicated in the column heading in the report referring to the element of the device by using a substitution of static text string:
Ground Speed (&P1_GROUND_SPEED_UNIT.)
-
Display / hide column IR dynamically
Hello
ApEx Oracle 10g and 11g 4.1.0.
I need to be able to dynamically hide or display columns in an interactive report, based on a value of element (radio buttons), without reloading the page.
I have two columns 'H' and 'Z' in my interactive report.
I have a question P9_COORD_SYSTEM (radio buttons) which can return 'H' or 'Z '.
And I want to show/hide the right according to the value of the column.
I tried to set conditional display of column "H":
-Condition Type: Point value / Expression 1 column = Expression 2
-1 expression: P9_COORD_SYSTEM
-Expression 2: H
But it is not working, even reloading the report in question of the modified value:
I can show/hide the columns using Javascript, of course, but when I change the pagination in the report I have to hide/show columns every time...$('#P9_COORD_SYSTEM').change(function() { gReport.search('SEARCH'); });
So it is not a solution...$('#P9_COORD_SYSTEM').change(function() { if ($v('P9_COORD_SYSTEM') == 'H') { $('#my_report').find('th[id="Z"], td[headers="Z"]').hide(); $('#my_report').find('th[id="H"], td[headers="H"]').show(); } else { $('#my_report').find('th[id="H"], td[headers="H"]').hide(); $('#my_report').find('th[id="Z"], td[headers="Z"]').show(); } });
Is there any solutions for this?
Thank you for your help.
Yann.Yann39 wrote:
Conditional display of column "H":
-Condition Type: Point value / Expression 1 column = Expression 2
-1 expression: P9_COORD_SYSTEM
-Expression 2: HHello
Also remove leading colon to the name of the element in the Expression 1
Kind regards
Jarihttp://dbswh.webhop.NET/dbswh/f?p=blog:Home:0
-
Hide columns in Table B, based on values LOV in another row of the table:
Hello
Jdev 12.2.1.0
I have two tables A and B and I hide columns b based on the value of row of table A LOV. For example, I have a line in A table that has a column with the x, y, z values lov. Now, if I select the row in the table has and change the LOV to x, I had to hide some of the columns in the table (B) is there a way to get this feature? Any help would be appreciated.
Thank you
Assume:
1 table a call "DepartmentId" column this column has LOV.
B 2-table a column "ColumnInB" this column will be visible depending on the value of "DepartmentId".
Try to do the following:
1 - from data controls, drag "DepartmentId" attribute and drop it on the page as inputText then together make this inputText to false (you can remove it, but don't forget the corresponding binding in pageDef. not deleted).
2. copy the value of the inputText which will be as "#{bindings." DepartmentId.inputValue}"and go to the"ColumnInB"column and visible property beyond the copied value.
3 - the ColumnInB visible will be the condition as:
4-set DepartmentId autoSubmit = 'true '.
5-set table partialTriggers table B has id and id of DepartmentId LOV
-
Hi all
I wonder if it is possible to hide the columns based on the sum of the column...
My table is set-like:
10th day of month-end 20th day
Jan 100.00 0.00
In the 20th day of the column, the value is 0.
If the value is 0, then I want to hide this column.
Is this possible?
Thanks in advance...My assumption, based on what you're trying to do, is to show only records where the 20th day is not zero, Yes? If so, then...
You can do this:
(1) you will need to create two reports. In the first report, add a concatenated column of three columns, the column "end of the month', '20th day' column and a column more makes the value for all the days in the very month when the 20th day is 0. The goal of this column is to produce a unique value on the 20th day is 0.
(2) filter this report when 20 days ago = 0. Then, this report contains only records where the 20th day is 0. Now, to "get rid of this column."
(3) build the second report with all the columns you want to see more of create the concatenated column exactly as in the first report. Place a filter on this column based on 'another demand' and filter this column concatenated from the first report. Once you build the filter, you can delete the column concatenated to your report.
Because of the filter based on another request, the records of the second report are only those where the 20th day = 0. But since the 20th day of the column is not in your report, you have indeed "hidden it.»
-
Hide the columns according to the guests?
Hello
I want to hide columns in a report according to the guests... For example, A, B, C columns in my report, I have and when I select a value for A starting prompt A display... If I select a value for one (all options), this column will shy away...
I tried to do with the preparation of different reports for each of them. But there is no useful for me...
Is it possible to do?Hi Onur.
Maybe Vincent can be of any help to your problem:
http://oraclebizint.WordPress.com/2008/03/20/Oracle-BI-EE-101332-choosing-multiple-columns-in-a-column-selector-varying-multiple-columns-in-a-report/
Good luck
Daan Bakboord
Scamander Solutions -
Advanced DataGrid - you click columns to hide/show based on the level of the child
I have a Flex application that displays an Advanced DataGrid with three levels in the tree. The default view displays a single column of data. When a child on the floor of the tree is opened, two additional columns are displayed. I want these columns to stay open as long as any kid on the floor is open. I can't find a way to make it work - I can get the columns to be displayed when the user clicks on the 2nd child of level, but I can't find a away from keep them visible until the last child at this level is closed (see my attached code). Is it possible to loop through all the items in the Collection of data to see which ones is open and access data associated to each?
Attached code (a few pieces that are not connected have been omitted).
Help, please.
Thank you.Found my answer on my own. I basically loop in the table in the ADG openItems, save the reference that corresponds to the lowest level that is open, then set visibility of each column based on this criterion.
-
How to dynamically add columns to the table
Hi all
I'm new to ADF and need help on sub condition.
We have created a ViewObject on the EMPLOYEE table that has under columns:
EMP_ID,
EMP_NAME,
DEPARTMENT,
COST_CENTER,
BUSINESS_UNIT
COUNTRY
GCODE
We need to create a page in the ADF with employee table to show only below the columns
EMP_ID,
EMP_NAME,
DEPARTMENT,
COST_CENTER
Later, if necessary user should be able to add other columns to the page dynamically.
Can you please advice on how to implement this feature.
Thank you.
Kind regards
Vidya
Hello.
There could be a simple solution, which is to use the component PanelCollection.
Drag ' drop your VO to a page and create a Table with all the attributes.
For columns that emp_id, emp_name, cost_center, set the Visible property to false.
Put the PanelCollection component on your page and drag your table inside.
When you run the page you will see the view menu in the upper left corner of the table above. You can show/hide columns in this menu.
-
Dynamically hide show Page elements
Dear all,
Im tring to dynamically hide and show the page element. I searched and found something but it does not work for me. IM using apex 4.1 and below are described the work I've done.
I have 5 fields iitems in my page (form).
-The Customer No.
-Edit
-First name
-First name
-Address
I want to hide the name, surname, address, based on the value to change. Let's say if the user selects "name Edit" then name must obtain visible while name & address hidden.
So I put this line onChange = "$f_Hide_On_Value_Item(this,'LASTNAME,'LN')" in the point EDIT page > Label > HTML table cell attributes "
But it does not not for me? Where am I wrong?
Thanks in advance.Have you seen the documentation? http://docs.Oracle.com/CD/E23903_01/doc/doc.41/e21676/javascript_api.htm#CHDHIAJB
I suggest you to use actions Dynamics http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21674/advnc_dynamic_actions.htm#HTMDB27020
-
Can I use hierarchical column-based action link?
Hi all
I used 11.1.1.6.2 OBIEE.
And I want to know can I use hierarchical column-based action link? I want to show the link based on some certain conditions...
I try to add conditions, such as the Department is equal to A, but after that I added, it shows me "Department is equal to", why?
Can someone give me some advice?
Kind regards
AnneHi Anne,.
It should work. How to add the link of action?. Click the icon + on the TreeView column in the criteria tab, lists all the columns in the hierarchy. Each column has its own column properties. Click on the properties of column-> tab Interaction Department hierarchy level and define your conditional action link.
Kind regards
DpKa -
Report view columns based on the selection of the month
Hello
I have an interactive report.
In my report, I show the columns below. Let's say the show for months salary of the EMP for this month
EmpID, ename, jan, Feb, mar, Apr, may, June, July, August, Sept, oct, nov, dec
I have two selection lists (to filter the report) in my interface. P1_MONTH and P1_YEAR. These have static LOVs.
Jan (Display) - 01 (Return)
(Display) - 02 Feb (Return) and so on.
I am facing problem while hiding under certain conditions the columns.
For example, if the user selects the month "Mar." Then the report should display
EmpID, ename, jan, Feb, mar
Another example, if the month is "Jun" then
EmpID, ename, jan, Feb, mar, Apr, may, June
So he must hide under certain conditions the columns based on selection.
I put the conditional 'view' in the column of the report for "expression of the ar-ticle/column value 1 = expression 2'.
P1_MONTH (in the expression 1)
+ 06,07,08,09,10,11,12 (in the expression for the month of June selection 2) +.
But doesn't the show/hide.
Am I missing something? Please correct me if I'm wrong.
I use APEX 4.1 & g 10 DB
Thank you in advance,
DanielThis
value of item/column expression 1 = expression 2
is equivalent to a PL/SQL expression, such as
:P1_MONTH = '06,07,08,09,10,11,12'
So maybe, select a PL/SQL expression condition and write something like that for the month of March - if I interpret correctly the your needs.
TO_NUMBER(:P1_MONTH) <= 3
Scott
-
Hello
How to hide the level of report but column avl in RPD in 10g
Thank youIt's called OBIEE Data Security - column-level security.
Reference:
http://obieeblog.WordPress.com/2009/01/15/OBIEE-data-security-column-level-security/
http://varanasisaichand.blogspot.com/2010/08/dataobjectcolumn-level-security-in.html -
Hide columns on tabular forms to Apex 4
Hello
I'm trying to hide the columns editable on a form in a table column by using the conditional display feature. I want to use a sql query and see if it exists and determine which columns should be editable. However, how to reference the primary key id hidden?
For example:
My question is how to reference the row id? I use apex_item.hidden(1,"row_id") and then use apex_application.g_f01?select * from myTable where id = <row id>
I use 4 Apex.
Thank you
MarkThe status of the column is column of the report as a whole and not for each line.
If you want to hide data columns based on the data row, you can use javascript to loop over each line and hide the contents of the table cell.
If you use the APEX_ITEM API to display the form in a table (not using Wizard), it's pretty easy
For example
SELECT case
when then APEX_ITEM.TEXT_AREA(p_idx => 1,p_value => ,p_attributes => 'readonly=readonly' ) else APEX_ITEM.TEXT_AREA(p_idx => 1,p_value => ) end COLUMN1 ,... -
Show hide columns generates error on the page if not found data
Hello
Has anyone ever encountered a situation where a page error when using the feature show hide column and no data is returned.
My region to report is based on SQL and when calling at the start page or when restrictions are no match all all the data that appears is the message "No data found" by default. The method used, I pulled Carl Backstrom (RIP) application.
< script type = "text/javascript" >
function html_HideBasedOnCheckBox (pThis, pThat) {}
if(pThis.Checked == true) {}
html_ShowCellColumn (pThat);
} else {}
html_HideCellColumn (pThat);
}
}
function getCellIndex (pRow, pCell) {}
If (document.all) {}
for (var i = 0; i < pRow.cells.length; i ++) {}
If (pRow.cells [i] == pCell) {l_Count = i}
}
} else {}
l_Count = pCell.cellIndex;
}
Return l_Count;
}
function html_HideCellColumn (pId) {}
var l_Cell = $x (pId);
var l_Table = html_CascadeUpTill (l_Cell, 'TABLE');
var l_Rows = l_Table.rows;
l_CellI = getCellIndex (l_Cell.parentNode, l_Cell);
for (var i = 0; i < l_Rows.length - 1; i ++) {}
html_HideElement (l_Rows.cells [l_CellI]);
}
return;
}
function html_ShowCellColumn (pId) {}
var l_Cell = $x (pId);
var l_Table = html_CascadeUpTill (l_Cell, 'TABLE');
var l_Rows = l_Table.rows;
l_CellI = getCellIndex (l_Cell.parentNode, l_Cell);
for (var i = 0; i < l_Rows.length - 1; i ++) {}
html_ShowElement (l_Rows [i]. Cells [l_CellI]);
}
return;
}
< /script >
The attributes of HTML form elements is: onclick = "html_HideBasedOnCheckBox (this, this.value)" "
The LoV for this box is static for a column.
This set works very well if the data is returned. It must have something to do with the topics defined in the SQL code and therefore are not displayed when no data is returned. The code is then try to hide or something that does not exist.
The part where he falls is during the setting of the variables:
function html_HideCellColumn (pId) {}
var l_Cell = $x (pId);
var l_Table = html_CascadeUpTill (l_Cell, 'TABLE');
var l_Rows = l_Table.rows;
l_CellI = getCellIndex (l_Cell.parentNode, l_Cell);
... and more specifically the last variable setting: l_CellI = getCellIndex (l_Cell.parentNode, l_Cell);
Does anyone know how I can get around this by using the method of SQL report i.e. Select col1 col2 "Column 1", "column 2" From myTable etc. or if it is possible to make up for it at the beginning that is
If NO_DATA
then
dont_hide/display_any_columns that_dont_exist
on the other
var l_Cell = $x (pId);
var l_Table = html_CascadeUpTill (l_Cell, 'TABLE');
var l_Rows = l_Table.rows;
l_CellI = getCellIndex (l_Cell.parentNode, l_Cell);
for (var i = 0; i < l_Rows.length - 1; i ++) {}
html_ShowElement (l_Rows [i]. Cells [l_CellI]);
}
return; ........
???
See you soon,.
MikeHi Mike,.
In fact, you can check the existence of the cell:
var l_Cell = $x(pId); if (l_Cell) { rest of the code to hide the column }
As long as l_Cell makes reference to a valid page element, then the if test passes and the rest of your code can work.
Andy
Maybe you are looking for
-
The 31.0 stub file could not be updated on my XP system but has managed to replace it with the full installation file. But Windows 7 refuses to update or replace. He gets to the extent where to extract the files and then stops.
-
WANT 7640: Download fails
It's disgusting. After buying a new HP ENVY 7640 and following the instructions, I tried the automatic download of the software.He won at the same point. Three times.Then, I entered this Support site, a source of alternative download.He won at the s
-
I created two tasks and assign channels programmatically. This happens in my vi initialization. I am looking for common tasks programmatically so that I can close them all in my close vi. I tried the DAQmxSystem property node - tasks, but it only
-
manually scan the values based on the multicolumn listbox
Hello I have developed a program that includes the area of multicolumn as shown below list DUT VGS_Start VGS_Step VGS_Stop VDS_Start VDS_Step VDS_Stop 1 0.1 0.05 0.2 0.3 0.05 0.4 I wan
-
Calculation of frame rates of acquisition image using the 7 Format
So I finally got my Basler firewire (IEE1394b) camera to capture images at his rate max (120 fps). But to do this, I need to use the '7' Format.... which is a bit confusing to me. When I use the '7' Format, I can't specify the frame (frames per seco