Show/ Hide Tables in SSRS based on Multiple Parameters
Hi
Is it possible to show/ hide multiple different tables based on a multivalued parameter? I have 6 tables and I want 1 or 6 displayed dependent on what is selected from the multivalued parameter.
When I add the IN operator and select multivalues, I get the following error:
I have an expression set in the Visibility tab in the tablix to:
=IIf(Parameters!Name.Value =
"Name",
false,
true)
and in the filters tab, I have a filter on the name so the data is filtered only by that name so it can display the different categories in the different tablix.
Can anyone advise on how to achieve it so I can use the multivalued parameter option to display 1 or more tables?
thanks!
Hi
Is it possible to show/ hide multiple different tables based on a multivalued parameter? I have 6 tables and I want 1 or 6 displayed dependent on what is selected from the multivalued parameter.
When I add the IN operator and select multivalues, I get the following error:
I have an expression set in the Visibility tab in the tablix to:
"Name",
false,
true)
and in the filters tab, I have a filter on the name so the data is filtered only by that name so it can display the different categories in the different tablix.
Can anyone advise on how to achieve it so I can use the multivalued parameter option to display 1 or more tables?
thanks!
=IIf(Parameters!Name.Value =
Hi,
Use Join function in the RDL and hide them for whatever values you want to.
=Join(Parameter!paramname.value,",")
Thanks,
FunBI
Similar Messages
-
Show/Hide DVT Admin Menu Based on Entitlements
Hi,
We're using the DVT framework provided in Weblogic Portal 10.3.2 to create My Page functionality within our portal project. Part of the requirement is to offer limited functionality to non-admin users.
For example:
Portal Level Customization Menu
- Show/Hide based on entitlements (we tried setting an entitlement of the Main page Book, and that worked, however after that we were unable to see the Customize Menu for any child Books/Pages)
- Limit entries based on entitlements
Book Level Customization Menu
- Limit menu entries based on entitlements
- Restrict the ability to rename book based on entitlements
Page Level Customization Menu
- Limit menu entries based on entitlements
- Restrict the ability to rename page based on entitlements
Portlet Level Customization Menu
- Limit menu entries based on entitlements
- Restrict the ability to rename portlet based on entitlements
We've been able to eliminate DVT functionality for entire Books and Pages based on entitlements, however we can't find a way to provide limited functionality as described above.
Any suggestions on how to accomplish this?
Thank you.Sorry about the confusion. What I meant was, I tested with both setting entitlement and DA roles (separately) and found that the usecase you are describing works. BTW, you are right in that only visitor entitlement roles effect dvt functionality. I just wanted to check if setting DA roles wasn't causing some undesirable behavior.
Back to the issue you are having, I am assuming you are talking about setting a 'view' entitlement for 'role1' on the primary book and logging in as a user that is not in 'role1' but has 'edit' rights on a child page or book of the primary book. In that case you shouldn't be able to see anything since you don't have view rights to the main book. If that is not the case, can you provide details about your setup?
Here is what I tested and found working. Set an 'edit' entitlement for 'role1' and a 'view' entitlement for 'role2' on the primary book. When logged in as a user from 'role2' I cannot see the 'Customize' gear icon on the primary book but I can see the gears on child books, pages and portlets. I tested the usecase with non-primary books and that works too.
Thanks -
Show/Hide Group in SSRS 2012 Chart
Hi,
How can i hide/show chart category group in SSRS 2012?
Thanks in advance
Paramesh GHi Paramesh G,
According to your description, you want to know how to control visibility of horizontal axis labels, right?
When we create a chart, tick marks and labels are displayed by default on axes. You can adjust the way that they are displayed by using major and minor tick marks and labels. To eliminate clutter in a chart, you can display fewer axis labels or tick marks
on the horizontal (category) axis by specifying the intervals at which you want categories to be labeled, or by specifying the number of categories that we want to display between tick marks. We can also set labels to be hidden. To achieve your goal, please
refer to the following steps:
In design surface, right-click x-axis and open Horizontal Axis Properties dialog box.
Click Labels in left pane, check Hide axis labels check box.
Click OK to save the settings.
The screenshot is for your reference:
If you have any more questions, please feel free to ask.
Thanks,
Wendy Fu -
How to hide table in bo based on userresponse selection
Hi,
I have a requirement in my webi report i have to reports Table1 and Table 2 ( Two blocks)..
And we have two date Prompts like D1 and D2 both are optional prompts. 1) If user enter D1 date appear table1 and table 2 should be hide same way
2) If user enter D2 date appear table 2 and table 1 should be hide..
Pls give any suggestions to achieve this problem...
Regards,
GHi Bhargav,
Suppose let us think, these are the two blocks,
Now Right clik on Table/Block 1, Hide -- Hide When - Write the Below Formula
Right Click on Table/ Block 2, Hide -- Hide when -- =IsNull([Demo Date])
Apply and Ok. -
Extrusion Sales price based on multiple parameters of the Finished Material
Hi Gurus,
Scenario: Extrusion Industry- Finished Material price to be calculated, based on the following parameters:
1. Basic Price of the Finished Material
2. Alloy Market Price
3. Temper Price
4. Type of Finish based Price
5. Length ordered based price
A. Customer wants the Sale Price of the Finished Material to be sum of 12345.
B. Customer wants to Change the Basic price for few Customers.
C. Customer wants to Change the Sale Price of the Finished Material based on the Market fluctuations with respect to the Alloy used in the production of the Finished Material.
How to address, this type of Scenario ? Those who have come across similar scenarios in Extrusion Industry can share their experiences ?
Do we need to go with Variant Pricing ? If so, do we need to go with KMAT or FERT ?
Thanks & Regards
Sreekanthhi,
1. Basic Price of the Finished Material
Kondition xxx1 Access : 1. Kunnr / Matnr ex ( B )
2. Matnr
2. Alloy Market Price
Kondition xxx2 Access : alloy - price
with formula over the weight of the Material
3. Temper Price
Kondition xxx3
4. Type of Finish based Price
Kondition xxx4
5. Length ordered based price
Kondition xxx5 with Formula over the length
6. Summ of 1 - 5
7. xxx6 Manual Price with exclusion of xxx1 to xxx5 for C - manual Price
or
xxx7 Rabatof sum 6 for the scenario c -- for scenario c, there is to less information, what there should be done.
so far, i dont see a reason for variant pricing.
hans -
SHOW / HIDE - line series using checkbox
how do i show & hide a line series based on checkboxes?
tried applying series id- doesn't seem to work!
Any Body!thanks that worked oddsy,
now im facing problem to show the hidden series through
actionscript
im doing something like this:
while generation i hide the series
pasting the function for reference:
public function addSeries(series:Array, yField:String,
id:String, color:uint,dp:ArrayCollection,vis:Boolean):void
var ls:LineSeries= new LineSeries();
var stroke:Stroke = new Stroke()
ls.yField = yField;
ls.xField="ts"
ls.dataProvider=dp
stroke.color = color;
stroke.weight = 1.5;
ls.setStyle("lineStroke", stroke);
ls.alpha=.8
ls.visible=vis
ls.id=id
var temp:Array = series;
temp.push(ls);
series = temp;
mychart.series = series;
thru action script i try this : if checkbox selected do -
> mychart.series[0].visible=true ,
mychart.series[1].visible=true....so on
but it doesn't show the series! what shud i do? -
How to hide table column based on country molga value
Hi Experts,
I am doing some enhancement in ess application. I want to hide table column based on country code i.e. Molga value.
I want to hide coulm for only Japan country reset of them i need to be show those coulmn.
Could you please provide me a sample code.
Regards
ChakriHi Chakri,
Your setting the table value that time you will get the Country Code.
1.Create the attribute like Country_Column_Visible Data Type bind the com.sap.ide.webdynpro.uielementdefinitions.Visibility this value you need to bind the table country column.
2.In Table You need to check the country code Japan is available you need follow this below sample code.
for(int i=0;i<tablesize;i++)
tablesithValue=wdContext.nodeTable().getTablenode(i);
if(null != tablesithValue.getcountrycode)
if(tablesithValue.getcountrycode.equalsIgnoreCase("Japan"))
wdContext.currentxxxxElement.setCountry_Column_Visible(WDVisibility.NONE);
}else
wdContext.currentxxxxElement.setCountry_Column_Visible(WDVisibility.VISIBLE);
Use the above code you condition it will work.I hope it will help you.
BR,
Durga -
How to show/hide total based on selected column in column selector
Hello,
Is there a way to show/hide the total based on what column is selected in the column selector? Or alternatively to hide the total based on the column selected? I'm using OBIEE 10g.
Basically, I have a pivot table with a handful of row variables and one measure. Then I allow the user to select the column variable. The default is to have nothing, which I have achieved using the hidden/dummy column trick (Re: How to add new columns by using Multiselect However, if my pivot table is set to have a total, I now get 2 columns that are the same. When the user selects any other choice (e.g. gender), I would want to see Male, Female and the total. Something like this:
Default:
Count
East 10
West 20
Total 30
Gender:
Male Female Total
Count Count Count
East 6 4 10
West 14 6 20
Total 20 10 30
Any thoughts?
Thanks!I recommend using view selector instead of column selector
-
Want to update data in a view based on multiple tables
Hi
I am facing a problem i want to update data in tables using a view. As that view is based on multiple tables so i am unable to update data. i came to know we can update table from view only if view is based on single table. so if anyone knows any alternative please let me know.
Thanx
DevinderDevinder,
The table can be updated through a view based on multiple tables, if and only if the table is a "key preserved" table. Rather than explaining myself, i avoided the burden of typing by finding the material in Oracle Docs and pasting it for you :-)
If you want a join view to be updatable, all of the following conditions must be
true:
1. The DML statement must affect only one table underlying the join.
2. For an INSERT statement, the view must not be created WITH CHECK
OPTION, and all columns into which values are inserted must come from a
key-preserved table. A key-preserved table in one for which every primary
key or unique key value in the base table is also unique in the join view.
3. For an UPDATE statement, all columns updated must be extracted from a
key-preserved table. If the view was created WITH CHECK OPTION, join
columns and columns taken from tables that are referenced more than once
in the view must be shielded from UPDATE.
4. For a DELETE statement, the join can have one and only one key-preserved
table. That table can appear more than once in the join, unless the view was
created WITH CHECK OPTION.
HTH
Naveen -
How to make a layer from the ADF pivot table invisible , show-hide column-row-data
Hello all ,
I need to create a pivottable with ADF 12c for reporting purposes.
I have a table or view with 10 items of type VARCHAR2 , C1,C2,C3,C4,C5,C6,C7,C8,C9,C10 and 10 items of type NUMBER N1,N2,N3,N4,N5,N6,N7,N8,N9,N10
The items of type VARCHAR2 are for Column and Row areas and the items NUMBER are for Data Areas
I want to create a jsf page with one empty pivottable and in code Show or Hide the items in the Column area , Row area , Data area
Con you send me a small sample ?
I test with this code that i find in oracle OTN but not work.
<dvt:pivotTable id="pt2" value="#{bindings.WebPivotDataView1.pivotTableModel}" var="cellData"
varStatus="cellStatus" splitMode="enabled"
binding="#{backingBeanScope.CmfPivotBean.pivotTable}"
>
<dvt:headerCell>
<af:switcher facetName="#{cellData.layerName}" defaultFacet="Default" id="s1">
<f:facet name="DataLayer">
<af:outputText value="#{cellData.label}" id="ot1"/>
</f:facet>
<f:facet name="C01">
<af:outputText value="#{cellData.dataValue}" id="ot2"/>
</f:facet>
<f:facet name="Default">
<af:outputText value="#{cellData.dataValue}" id="ot3"/>
</f:facet>
</af:switcher>
</dvt:headerCell>
<dvt:dataCell>
<af:switcher facetName="#{cellStatus.members.DataLayer.value}" defaultFacet="Default" id="s2">
<f:facet name="N01">
<af:outputText value="#{cellData.dataValue}" id="ot4">
<af:convertNumber groupingUsed="false"
pattern="#{bindings.WebPivotDataView1.hints.N01.format}"/>
</af:outputText>
</f:facet>
<f:facet name="Default">
<af:outputText value="#{cellData.dataValue}" id="ot5"/>
</f:facet>
</af:switcher>
</dvt:dataCell>
</dvt:pivotTable>
DCBindingContainer bindingContainer = (DCBindingContainer)ADFContext.getCurrent().getRequestScope().get("bindings");
CubicBinding cubicBinding = (CubicBinding)bindingContainer.findCtrlBinding("WebPivotDataView1");
CubicEditor cubicEditor = cubicBinding.getCubicEditor();
cubicEditor.removeLayer(DataDirector.ROW_EDGE, 0); //remove 1st row edge
cubicEditor.removeLayer(DataDirector.COLUMN_EDGE, 0); // remove 1st column edge
cubicEditor.removeDataItem(0);
CubicDefinition def;
def = cubicBinding.getProjection();
LayerDefinition layerDefinition = new LayerDefinition("C3");
cubicEditor.addLayer(DataDirector.ROW_EDGE, 0, layerDefinition);
LayerDefinition layerDefinition2 = new LayerDefinition("C4");
cubicEditor.addLayer(DataDirector.COLUMN_EDGE, 0, layerDefinition2);
DataItemDefinition def3 = new DataItemDefinition("N1");
cubicEditor.addDataItem(def3);
AdfFacesContext.getCurrentInstance().addPartialTarget(pivotTable);
Can you help me if is possible to create a pivottable binding to a one ViewObject and in code show/hide or compose the layout of the pivottable ??
I search in google and OTN oracle and not find any code.
Only find the code of the samples that is very complex for me , the code of the samples create the PivotTableModel from one Array , and i want to binding from one ADB BC ViewObject.
Thanks in advanceThe solution I presented for your use case an DOAG 2013 was to create a pivot table binding out of user defined attributes from the table. For the defined attributes a VO is dynamically created as well as the pivot binding. The pivot binding is then exchanged at runtime together with the activation of the dynamic VO needed to only get the data needed for the particularly pivot table.
Your solution using the CubicEditor is hard to implement due to the missing documentation. This was the reason I did not follow this approach, However it's not impossible (done it on a very small scale).
None of the solution are what I call simple. They are complicated, complex and in part not supported solution (exchanging the pivot table binding at runtime need to use internal classes, which is not supported).
I can't give you a working sample as it's too complex. I can make the slides available, however they are in German.
Timo -
Show/Hide JSF field based on SelectOnceChoice using Model Driven List
Hello All,
I have a use case where I want to show or hide fields based on values populated in SelectOneChoice. I have View master and View Lookup, master has a field named product which displayed selectiononechoice of product name built using lookup view as accessor. I am storing id of lookup type inside product column. Based on a product name say "abc" I want to hide subsequent fields. Can anyone please tell me how to implement this?
I am using ADF 11g version 11.1.2.
Thanks,
DipalIf I understand you correctly, you are trying to show/hide subsequent fields based on the value selected from a selectonechoice?
Did you try using partial triggers and EL for setting the rendered attribute on subsequent fields and setting autosubmit to true on selectonechoice?
Kristjan -
Show / hide field based on text in another field
Hi,
I'm trying to make one of my fields reactive to what is the text generated in another field.
At the moment I have this under calculate using custom javascript:
var Mask = this.getField("Course").value;
if(Mask == 'Swimming') this.getField("Code").display = display.visible;
else this.getField("Code").display = display.hidden;
Whereas Course is the field that is changing and Code is the one that will show/hide based on content of Course.
Any help?Hi Everyone,
After doing trials with simple calculations it still wasn't working and so I've figured out what the problem is - the document was being exported but with the data being pre-populated from an SQL database in which during the export it all happens at once, not a chain effect so when the export happens it was filling "Code" before "Course" had any info in it...
The fix was basically having to create a different field in the SQL source itself for an independent field on the pdf form. -
Show/Hide tabs in top level navigation of a role based on assigned services
Hi,
I have an interesting requirement. I have created an overview page in abap web dynpro which has links to various services.
Based on the r3 roles assigned to the user, we need to show/hide the services in the overview page and top level navigation.
I can show/hide the views in the overview page but the links on top level navigation are created in the portal frontend by creating worksets, iviews, etc.
Is there a way I can show or hide these worksets which are defined in the role on top level navigation?
In a nutshell, can i update the visible/invisible property of a java workset from a call in abap web dynpro?
Regards,
SumeetPlease refer the framework page [http://help.sap.com/saphelp_nw70/helpdata/en/02/c7918e9fca44519701c47028a053fd/content.htm|http://help.sap.com/saphelp_nw70/helpdata/en/02/c7918e9fca44519701c47028a053fd/content.htm]
What i meant was that you can do a custom TLN like this
[http://help.sap.com/saphelp_nwce711core/helpdata/en/42/fd515a2aa95277e10000000a1553f7/content.htm|http://help.sap.com/saphelp_nwce711core/helpdata/en/42/fd515a2aa95277e10000000a1553f7/content.htm]
Seems to me java/jsp is more appropriate than doing it via WDA.
ANother way that you might look into this is Application integrator which again java programming effort needed. -
Error while trying to view the details table from Show/Hide icon
What we are having is two tables, Outer and Inner, having Outer VO and Inner VO,outer VO is linked with inner VO. Now when I am trying to view the inner table
through Show/Hide icon to see the details of the table ,I am getting an error like ...
The record with primary key values {2280} could not be found in view object MisForecastHeadOfiiceAM.InnerTableVO_OuterInnerVL_InnerTableVO.
I want to know how this error can be resolvedHi Abdul,
We are not getting error while searching. As said earlier
While search for the first time > We could see proper results in out table and Even show/hide is working fine and display correct data in Inner table
When searching for the second time with different criteria > We could see proper results in outer table and on clicking show/hide (to view inner table data), we are getting error.
The record with primary key values {2280} could not be found in view object AM.ViewLinkVL_InnerTableVO
From the error message, we found that its trying to get the row (of inner table) pertaining to first search results and not for the outer table row in context to second search results. -
Show/Hide a column in a Table region
I have search page which queries the data and displays the records in a table region. We need to have an option to show or hide a non-database column at the end of the each row in the table. If the checkbox is selected, the last column should appear and if checkbox is deselected it should get disappeared.
I have used a transient attribute in the VO and using that transient attribute trying to show the text field when the checkbox is selected. For ex, if the search returns 6 rows - if you select the checkbox of the first row , the last column "CTS" gets displayed without any issues but if you select the other rows (without checking the first row), the CTS column is not displayed.
The column is getting displayed only IF you select the checkbox of the first row and try it other rows. If you try to select the checkbox of other rows without selecting the 1st row, it doesnt show the CTS column.
AM has the PPR event
=============
public void CheckOnClick(String v_chkBox,String SalesContact,Boolean executeQuery)
System.out.println("Enters Checkbox event()");
USSContactMainVOImpl pVO= getUSSContactMainVO1();
Row poRow[]=pVO.getFilteredRows("Chkbox","Y"); // get all the selected rows
for(int i=0;i<poRow.length;i++ )
Row rowi=poRow;
System.out.println("Value:" + rowi.getAttribute("Chkbox") );
rowi.setAttribute("CTSEngineer_TR",Boolean.TRUE); // transient attr
//end of CheckOnClick()I just referred to the Dev Guide and understand that we can use the identifier of the PPR event source row (Page 262) but still the issue persists.
String rowReference = pageContext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
I have a rawtext as the first column( its just a dummy column since the PPR event is not getting fired if the checkbox is the 1st control/column) and the 2nd column is the check box which has a PPR event. The PPR event fires whenever the check box is selected or deselected but surprising the text field gets editable only if the 1st row is clicked.
Changed code is as always - not sure why the table shows/hides the text column only if the 1st column is selected. Will appreciate any help.
PFR:
===
if ("OnSelect".equals(pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM)))
OAApplicationModule am = pageContext.getApplicationModule(webBean);
System.out.println("The AM name is "+am);
Boolean executeQuery = BooleanUtils.getBoolean(false);
String str1 = pageContext.getParameter("Check_Box");
String v_SalesContact = pageContext.getParameter("SalesContact_qry");
//1401
String rowReference = pageContext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
Serializable[] parameters = {str1,v_SalesContact,rowReference,executeQuery };//1401
Class[] paramTypes = { String.class,String.class,String.class,Boolean.class };//1401
am.invokeMethod("CheckOnClick",parameters,paramTypes);
AM(PPR Event)
==========
public void CheckOnClick(String v_chkBox,String SalesContact,String rowReference,Boolean executeQuery)
OARow rowx = (OARow)findRowByRef(rowReference);
if (rowx !=null){
System.out.println("row ref");
System.out.println("reo fref"+ rowx.getAttribute("CTSEngineer_TR") );
rowx.setAttribute("CTSEngineer_TR",Boolean.TRUE);
Edited by: MyOAF on Jan 14, 2010 6:25 AM
Edited by: MyOAF on Jan 14, 2010 6:26 AM
Maybe you are looking for
-
DB Connect DataSource PSA records and DSO records are not matching...
Dear All, I'm working with SAP NetWeaver BW 7.3 and for the first time, I have loaded from Source System DB Connect. I have created a DataSource and pulled all records and found 8,136,559 records in PSA. When I designed and created DSO with Key Field
-
How to access previous page in a database
Hi, I am using struts now and MySQL as my database. the problem is, I dont know how will I show the first page up to the last page of my database, using previous and next. My database consists of employees details, I want to show 10 rows of employees
-
My Ipad Air is not showing in my itunes account, after I have gone through all the steps and download all my information from my previous ipad
-
User exit for MIRO while saving
Hi I need to validate the Company code in Txn MIRO with the company code of the PO that's been processed Is there any user-exit which gets triggered while saving the document in txn MIRO. I know the following BADI INVOICE_UPDATE gets triggered while
-
How to import contacts from apple mail
I am using apple 10.6.2 How do I import my contacts from Apple mail? I can export a csv file but verizon does not seem to like it.