Clear / Purge selected values in dashboard
Hello Gurus!
I'm currently working on Dashboard BI4.1 (SP2) connected with BEX queries.
After adding a new query, we need to fill the prompt to run it. I have few prompts, included one based on the profit center which is mandatory.
I'm using a prompt selector to display the hierarchy to the users. This prompt is link to 4 others queries.
So far so good...
When I saved it and export to the launchpad, it keeps the values (for all prompts) that I filled in the query browser.
-->Do you know how to purge the prompts ? like in Webi?
I change the preferences to uncheck "Save Query Result with document"... without success.
Thanks for your help!
PS: sorry but I don't find any topics about this basic question!
Hello,
In the query browser, go to edit prompts. You need to uncheck the entry for 'Retain last values'.
Regards,
Shwetha
Similar Messages
-
How to clear the selected values in the JCombobox
Hi All,
Can you please tell - how to clear the selected values in the JCombobox
I have four dropdowns in my application, When I click "CLEAR" button, what ever the values selected in the four drop downs should go off and view as "SELECT" in all the dropdowns.In addition to the above you should also check out [Combo Box Prompt|http://www.camick.com/java/blog.html?name=combo-box-prompt] which makes it easy to display the default prompt.
-
[SOLVED] - Clear SelectManyChoice selected values
I am using JDeveloper 11.1.1.3.
I have a selectManyChoice on multiple pages throughout my app. Some selectManyChoice utilize the same Iterator.
Scenero 1 :
I go to a page A, select values from the selectManyChoice drop down, and click a commandButton to execute code in the backing bean (to iterate over the selected values and build a whereClause).
I then navigate to page B (which utilizes the same Iterator). The selectManyChoice drop down, on Page B, has the same values checked that were checked on page A.
Scenero 2 :
If I select values on page A and do not click the commandButton, then the values are NOT checked when I navigate to page B.
How do I clear checked values in a selectManyChoice drop down?
Edited by: Kennith B on Mar 16, 2011 12:17 PM
Edited by: Kennith B on Mar 16, 2011 12:17 PMI was nulling out the selected values using the setValue() on the component; however, the selected values were still being displayed on the screen. To actually null out and make the selected values disappear from the screen , I had to set the value binding of the selectManyChoice (#{bindings.Category.inputValue}) to null. The code is below:
<b>Code in JSFUtils</b>
public static void setExpressionValue(String expression,
Object newValue) {
FacesContext ctx = getCurrentFacesContext();
Application app = ctx.getApplication();
ExpressionFactory elFactory = app.getExpressionFactory();
ELContext elContext = ctx.getELContext();
ValueExpression valueExp = elFactory.createValueExpression(elContext, expression, Object.class);
valueExp.setValue(elContext, newValue);
}<b>Code in backing bean</b>
public void doClear_action(ActionEvent actionEvent) {
JSFUtils.setExpressionValue("#{bindings.Category.inputValue}", null);
}<b>Code in JSPX</b>
<af:selectManyChoice value="#{bindings.Category.inputValue}"
label="Category"
binding="#{backingBeanScope.backing_reports_openDispatchRequests.smc1}"
id="smc1"
contentStyle="width:800.0px;"
valuePassThru="true">
<f:selectItems value="#{bindings.Category.items}"
binding="#{backingBeanScope.backing_reports_openDispatchRequests.si1}"
id="si1"/>
</af:selectManyChoice>
<af:commandButton text="Clear"
binding="#{backingBeanScope.backing_reports_openDispatchRequests.cb3}"
id="cb3"
actionListener="#{backingBeanScope.backing_reports_openDispatchRequests.doClear_action}"/>Also, the value binding needs to be initialized on page load when switching between pages that utilize the same Iterator . When values are selected and the clear button is not clicked, then the values will be displayed on all pages that utilize that Iterator.
To correct this, the following code needs to be added to the accessor of the selectManyChoice component:
public RichSelectManyChoice getSmc1(){
JSFUtils.setExpressionValue("#{bindings.Category.inputValue}", null);
}Edited by: Kennith B on Mar 16, 2011 12:39 PM
Edited by: Kennith B on Mar 16, 2011 1:01 PM -
Clear the Prompt values in dashboard page
Hi Experts,
In our Dashboard page has 5 different table view report with Prompt option for each reports and clear filters option, when I click the any clear filter option it affect all the (5) prompts.
But I want to clear for each prompts separately, is it possible means pls tell me how to fix this issue.
Thanks in advance
Balaa...In implementing Clear button functionality, I think your using PersonalizationEditor.removeDefaultSelection (provided with samplesales).
This logic is similar to Clear Selections in Page Options. So, upon clicking this (both) it will refresh total page.
As far as I know, it can be implemented if we can able to identify section id. (too advanced).
You can get more information about the BI inbuilt methods defined in Java Script file.
Path: *{BIInstallDir}\OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res\b_mozilla\dashboards\personalize.js*
Note: Careful if your trying to make any changes. Better to have a backup of it. -
Automatic "Clear my Selections" (script provided)
Hi everyone,
I didn't find anything useful on the Internet apart from creating a "Clear my Selections" button (not so friendly for the user): using jQuery I've been able to create a small script that enables you to automatically clear the selections of a dashboard if you're coming from a dashboard that is not itself (otherwise it'll refresh continously). Here you can find the script:
<script src="yourserver\jquery-1.4.2.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
var r = document.referrer;
if(r != "http://yourserver/analytics/saw.dll?Dashboard")
return PersonalizationEditor.removeDefaultSelection(false);
</script>
Just add it in a Text dashboard object and remember to use the "HTML content" flag!
Hope this helps someone who had similar issues.
Regards,
Alberto
Edited by: Alberto Vaghi on 29-giu-2010 8.32
Edited by: Alberto Vaghi on 29-giu-2010 8.32ok, below is the script i am using in Textbox Dashboard object on my dashboard:
<html>
<head>
<script src="http://ajax.microsoft.com/ajax/jquery/jquery-1.4.2.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function);
function()
var r = document.referrer;
if(r != "http://hs3piwm29:9704/analytics/saw.dll?Dashboard")
return PersonalizationEditor.removeDefaultSelection(false);
</script>
</head>
</html>
Suppose i have three Tabs(say : A, B and C). In A Tab I am having dropdown prompt having two values. So what i want is that whenever i visit Tab A from any of the Tab X,Y Zee. That prompt get clear automatic and set default value. It should not show the previous selected value. hope this scenario helps you to understand my problem.
It will be good for me if you send me ur email address. We can have a conversation over there. if possible you can give me a call at +91-9213626363 or +91-9560926363 my name is Mohammad Rafi Ansari or tell me your no i will call you.
Thanks & Regards
Mohammad Rafi Ansari -
How to get the value of multi-select in the Dashboard Prompt
I have a multi-select prompt in the Dashboard Prompt, what I want is, how do I know that user has choose one value,
for examle, for some reasons, if user didn't choose any value, then I will set one column in answer as "customer office" , if user choose one value, then the column in answer will be "customer name".
any comments, thanks.Hi,
first define the presentation variable for the required column prompt. ex: PV
Then in report level set the filter for that column = @{PV}{customer office}. here u have to give default value as "customer office", so by default the report in dashboard will show customer office even though the user does not select any value from dashboard prompt.
Mark If Helpful/correct.
Thanks. -
Clearing the displayed value for a SELECT-OPTION
How do I clear the displayed value of a SELECT-OPTION?
I have 2 SELECT-OPTIONs on my screen (standard basic report program screen). I use code like this to populate the drop-down boxes for each one.
=====
AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_prgrp-low.
PERFORM fill_prgrp_values.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_prctr-low.
PERFORM fill_prctr_values.
=====
The value the user picks for the first SELECT-OPTION will affect what values I put in the drop-down list for the second SELECT-OPTION.
If a user enters a value for the second SELECT-OPTION, and then goes back and changes the value of the first SELECT-OPTION, then I want to do two things:
1. Create a new set of values for the drop-down list for the second SELECT-OPTION (no problem; working fine);
2. Clear the displayed value from the second SELECT-OPTION that the user entered previously. That value became invalid when the user picked a new value for the first SELECT-OPTION.
How do I clear that second displayed value?
I have tried CLEAR and REFRESH for the second variable using the formats s_prctr, s_prctr[], and s_prctr-low. They will erase the values of the internal table or part(s) of it, but the displayed value stays on the screen.
I need to clear out the displayed value so the user will either leave it blank or enter or select a new value.
I am using F4IF_INT_TABLE_VALUE_REQUEST to build the drop-down lists, and it works fine, but I do not see any function module to clear the displayed value off the screen.
Thanks for your help.Sorry, but calling DYNP_VALUES_UPDATE did not work. This is how I coded it.
fld_reset_rcd-fieldname = 'S_PRCTR'.
fld_reset_rcd-stepl = sy-stepl.
CLEAR fld_reset_rcd-fieldvalue. " re-initialize s_prctr
CLEAR fld_reset_rcd-fieldinp. " what goes in here?
APPEND fld_reset_rcd TO fld_reset_tbl.
CALL FUNCTION 'DYNP_VALUES_UPDATE'
EXPORTING
dyname = 'ZFI_GL_BALANCE_NGL'
dynumb = '1000'
TABLES
dynpfields = fld_reset_tbl
<Added code tags>
I have discovered that CLEAR and REFRESH of s_prctr will clear it somewhat. If I enter multiple values, ranges, etc., they will all be cleared, EXCEPT for the one single value that is displayed on the main screen. It is not cleared and it remains if you push the button to display the pop-up to enter ranges, etc.
To devrath.sampat -- Thanks for your example for building the drop-down list, but that is not the problem I am having. I am already able to build it just fine.
To repeat my problem, if I:
1. first enter / select a value for the first SELECT-OPTION s_prgrp
2. then enter / select a value for the second SELECT-OPTION s_prctr
3. And finally go back and select a new value of the first SELECT-OPTION s_prgrp from its drop-down list,
when I do, the program needs to clear the value displayed on the main screen for the second SELECT-OPTION s_prctr (any additional values, ranges, etc., are cleared by CLEAR and REFRESH, if I go look; but not the value shown on the main screen).
Edited by: Scott Crosby on Feb 14, 2012 4:20 PM
Edited by: Suhas Saha on Feb 15, 2012 12:03 PM -
Dynamic Drop-down list - selected value can't be cleared ...
1. check out the following code of a dynamic drop down list using cursor :-
DECLARE
-- DROP-DOWN LIST OF ALL DEPARTMENTS
TEMPNUMBER NUMBER(2) := 2 ;
-- Because we've to initialize the list
-- at least with 1 item.
CURSOR C_DEPT IS
SELECT DEPT_ID FROM DEPARTMENT;
BEGIN
ABORT_QUERY ;
CLEAR_LIST('DEPTLIST');
FOR TEMP IN C_DEPT LOOP
ADD_LIST_ELEMENT( 'DEPTLIST', TEMPNUMBER, TEMP.DEPT_ID, TEMP.DEPT_ID );
:SRBLOCK.LST := TEMP.DEPTNO;
-- prev. line set the newly selected value
TEMPNUMBER := TEMPNUMBER + 1 ;
END LOOP;
END;
2. problem is as we've to atleast initialize with one list item... that item can't be cleared with CLEAR_LIST.
3. how can i actually clear that and still use cursor. because i've searched forum for this thing and found all those code not working ... for my project ...
4. quick help needed ...Hi Omar,
I have solution for you
To populating or refreshing the lists you can use
two procedures:
One of them - generic, which can be used for all types of list
Another is specific which contain a SQL statement to retrieve the data for
particular list.
1. Specific procedure:
PROCEDURE GET_DEPARTMENT_LIST
IS
sql_stat VARCHAR2(32767);
ret_code NUMBER;
BEGIN
-- SQL Statement for Drop-down List
-- (must have two columns for label and value - both VARCHAR2)
sql_stat := ' SELECT DEPARTMENT_NAME,TO_CHAR(DEPT_ID)'
||' FROM SCHEMA.DEPARTMENT';
POPULATE_MY_LIST('BLOCK.DEPARTMENT_LIST',sql_stat,ret_code);
END;
2. Generic procedure:
PROCEDURE POPULATE_MY_LIST
(item_name VARCHAR2,
sql_stat VARCHAR2,
out_code OUT NUMBER)
IS
rg_id RECORDGROUP;
rg_name VARCHAR2(100);
ret_code NUMBER;
item_id ITEM;
BEGIN
item_id := FIND_ITEM(item_name);
IF ID_NULL(item_id) THEN
out_code := -1;
RETURN;
END IF;
--Creating Record Group with Unique Name
rg_name := 'RG_'||SUBSTR(item_name,INSTR(item_name,'.',1)+1,LENGTH(item_name));
--Checking Record Group Name for existance
rg_id := FIND_GROUP(rg_name);
--If Group does exist - delete it
IF NOT ID_NULL(rg_id) THEN
DELETE_GROUP(rg_id);
END IF;
--Creating Record Group
rg_id := CREATE_GROUP_FROM_QUERY(rg_name,sql_stat);
ret_code := POPULATE_GROUP(rg_id);
IF (ret_code <> 0) THEN
out_code := ret_code;
RETURN;
END IF;
POPULATE_LIST(item_name,rg_id);
IF NOT FORM_SUCCESS THEN
out_code := -2;
RETURN;
ELSE
out_code := 0;
END IF;
DELETE_GROUP(rg_id);
END;
Hope it help.
Dmitry -
Count the number of values selected in a Dashboard prompt
Hi,
I have a requirement to show the count of the number of values selected in a Dashboard prompt. How to do that?
Thanks in advance.Hi,
Please follow below steps;
1. create a report(which will show the number of value selected)-
Pull the dimension column in criteria on which the prompt is created, make this column as IS PROMPTED. Edit the FX and put the expresion as; Count(*)2. In report pull narrative view add your custom text like "Number of prompt selected are @1". (@1 is nothing but he count of prompt selected.)
3. Put this report on the dashboard which has prompt.
Mark correct/helpful if it helps.
Regards,
Kashi
Edited by: K N Yadav on 28 May, 2013 2:01 AM -
Getting selected value from Listbox
Hi,
I have populated my listbox on the selection screen using the function module VRM_SET_VALUES.
How do I get the value which is selected from the list box.
Where is the selected value in the listbox stored.
Thanks,
AbhishekThe code I used is:
Another issue is that whenever I select any value in the listbox it is not displayed on the screen. It becomes blank again.
PARAMETERS: p_prin AS LISTBOX VISIBLE LENGTH 30 USER-COMMAND sele.
DATA: i_printers TYPE STANDARD TABLE OF frprlist,
wa_printers TYPE frprlist.
DATA: l_name TYPE vrm_id,
i_list TYPE vrm_values,
l_ctr TYPE i VALUE 0,
wa_value LIKE LINE OF i_list.
CLEAR: wa_value.
Get printers
CALL FUNCTION 'RSPO_FRONTEND_PRINTERS_FOR_DEV'
EXPORTING
device = p_print
TABLES
list = i_printers
EXCEPTIONS
no_list = 1
list_truncated = 2
name_not_found = 3
OTHERS = 4.
IF sy-subrc EQ 0.
Populate to drop down box
l_name = c_prin.
LOOP AT i_printers INTO wa_printers.
l_ctr = l_ctr + 1.
wa_value-key = l_ctr.
wa_value-text = wa_printers-prname.
APPEND wa_value TO i_list.
CLEAR wa_value.
ENDLOOP.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = l_name
values = i_list
EXCEPTIONS
id_illegal_name = 1
OTHERS = 2.
IF sy-subrc NE 0.
Do nothing
ENDIF.
ENDIF.
CLEAR: l_name, l_ctr, wa_value, i_list. -
How to clear the variable value in session store?
I'll try to build form for search. There are LOV and
search button on form. When user don't select anything then push
search button, I'd like the report to show query everything. I
mean the report will show like condition where id like '%'.
And I send variable between form to report by using session
store.
I select nothing in LOV but value that return by LOV is
not null. It's in stead of old value of LOV.
Please tell me.. How to clear the variable value in
session store? I'd like to set it to null. If you have greater
way to do like this, please tell me.
Thank you.Please suggest on this..
Thanks. -
Prompts visible on the basis of the selected value of initial prompt
I have some reports in which multiple queries option is provided at UI by using no of prompts.. Now some of the prompts are visible on basis of the selected value of initial prompt. That means If value of prompt A is x than prompt B is displayed and if value of prompt A is y than Prompt C is displayed, which of the prompt(B or C) is displayed depends on value of prompt A.
how can we achieve this.Kindly help
prompts visible on basis of the selected value of initial promptHi,
This isn't possible at report level. If you mounted your reports on a dashboard, your dashboard prompt could contain prompt a, b and c. Users can then choose to populate any of the prompts they require rather than having to hit "next prompt" all the time.
Thanks
Oli @ Innoveer -
How to capture the selected values of the filter?
Hi Everybody
I have created a dashboard using a 4 column filter. It all works well - no problem.
I now need to enhance the functionality of the dashboard which needs the selected values of each of the parameters of the filter. As far as I know, the selections of the fiilter columns are not "Inserted In" any cell, only the data values of the corresponding row not including the filter columns are inserted in the "Inserted In" row, is there a way to capture the values of the filter column selections in some cells on the spreadsheet?
An early response from you all shall be highly valued.
Also, does anyone know which is the current equivalent version of Xcelsius to the old Xcelsius Workgroup version. This Xcelsius Workgroup version supported the "XML Integration Dynamic Refresh" wherein you didn't have to reinserted the updated Excel spreadsheet into Xcelsius have an updated dashboard - as long as the corresponding XML files were updated with the latest data, the exported dashboard would refresh.
Best regards
Deepak AgarwalAlong with the PBO and PAI event, add a POV event in the flow logic of the screen
DEMO_DROPDOWN_LIST_BOX -is a good demo example.
PROCESS ON VALUE-REQUEST.
FIELD structure_name-field_name MODULE create_dropdown_box.
In the report :
MODULE create_dropdown_box INPUT.
SELECT carrid carrname
FROM scarr
INTO CORRESPONDING FIELDS OF TABLE itab_carrid.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'CARRID'
value_org = 'S'
TABLES
value_tab = itab_carrid
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
IF sy-subrc <> 0.
ENDIF.
ENDMODULE.
In the layout, assign a Function Code , for eg : 'SELECTED' to the listbox and lets say name of the field is SDYN_CONN-CARRID. So in the PAI module,
MODULE user_command_0100 INPUT.
CASE ok_code.
WHEN 'SELECTED'.
MESSAGE i888(sabapdocu) WITH sdyn_conn-carrid.
ENDCASE.
ENDMODULE.
sdyb_conn-carrid will contain your selected field -
Constraining Values in Dashboard Prompts
Hi,
I have a question about constraining values in dashboard prompts. Do all fields need to come from the same table as I am finding constraining values is not working where I am selecting some values from different tables:
For example
Start Date - Fact Table
End Date - Fact Table
Salesperson - Org Dim
Market - Org Dim
Introducer - Org Dim
Customer - Org Dim
I am trying to constrain values beginning from Salesperson and so on but this does not work.
Is this the expected behaviour? should all values be retrieved from the same table in order for this to work?
ThanksHi,
Below is the filter I am applying in the report:
"Agreement Fact"."Prop Creation Date" >= Evaluate('to_date(%1,%2)','@{startdate}','YYYY-MM-DD HH24:MI:SS')
and "Agreement Fact"."Prop Creation Date2" <= Evaluate('to_date(%1,%2)','@{enddate}','YYYY-MM-DD HH24:MI:SS')
and Organisation.Market = '@{market}'
and Organisation."Sales Person Name" = '@{salesperson}'
and Organisation."Introducer Name" = '@{introducer}'
and Organisation."Customer Name" = '@{customer}'
I have selected constrain in the report from salesperson onwards but instead when I run the dashboard report the values beginning with salesperson do not show.
I definitely know that data exists for the date parameters(startdate and enddate) and market parameter. I have run a report in answers using the same parameters as in dashboard and do see data.
Can anyone help?
Thanks
Edited by: sliderrules on 14-Mar-2011 05:57 -
Previously selected value of a prompt pertaining
Hi All,
Had a issue with the dashboard.
There are two prompts p1 & p2. p2's value are updated based on p1's value.
Issue being face is that when p2's go button is clicked and next time p1's value is changed and clicked go,the previously selected p2's value is still pertaining. How can i get rid of the previously selected value.
Thanks.Hi svee,
Thanks for the reply.
I need the two go buttons,since the two prompts are in different sections and p2 is driven by the presentation variable of p1.
Also in p2 user can change the value to check for the results.
Thanks
Maybe you are looking for
-
Can I connect my HP PSC1510 All-In-One to my BT H...
I've got a HP PSC1510 All-In-One printer, scanner, copier connected via ethernet (RJ45) cable directly to my desktop PC. My PC is cabled to my BT Home Hub V1 (white). My daughter and son connect wirelessly to my Home Hub and thence to the Internet. D
-
Why do Deleted files suddenly no longer show in Trash as they used to do
This morning I deleted an e-mail and then realised I needed some information from it. I naturally expected it to end up in the Trash folder as always, but when I opened the Trash none of my deleted files are there. I do not have 'empty on exit' set.
-
I recently downloaded OS X.... I lost? all of my reminders on my calendar.... How can I retreive them?
-
MacBook Pro suddenly runs really slow
I have a mid-2012 13" non-retina macbook pro that I bought September 22, 2013 and Friday it started running really slow, like it takes 5 minutes for it to startup and two minutes to log in. I opened up the console and I get all these errors and I've
-
JSP UseBean setproperty work deleted value setting work around
I was using the set property * and i had to navigate through the pages. I was stuck with when some one deletes the value and setting of is not being done. The only way i could find is to set " " a space onSubmit or unLoad and finally while