How to set the default value for a selector to display based on another analysis

Hello

I have a requirement where I have to choose a different opinion to an analysis based on the data from the analysis. More specifically, I have a bar graph that must adapt to the view that is appropriate for the data that the user seeks to (according to the instructions of the dashboard).  A few times, the user can focus on two weeks of data and it's OK to see 14 bars in the bar chart (one for each day), but when the user is looking at a value a year of data, the data should be grouped by month.   I've seen for each that look good and the view selector works.  My problem is that I need reviews to be selected without the user to search through the view selector drop-down.  I also have the logical case (in a separate analysis of the same dashboard) who says what the best view of the user.

How can I programmatically change what view of the picker view is presented to the user?

Justin W. Steigerwalt

ADT Security

(404) 759-1971

[email protected]

My solution for this is to count the number of "," in the prompt value.

The calls to set a variable of presentation and I just have to count the number of commas in the value of the variable of presentation. When you select several entries of the presentation variable is a simple comma-separated list.

How to count commas? The shortest path was provided by Christian Berg (I was doing it less "optimally"): length - LENGTH (REPLACE (string, ',' ")) + 1

If your guest set a presentation named "pv_week" the formula variable is: LENGTH('@{pv_week}{-}') - LENGTH (REPLACE (' @{pv_week} {{}}', ',' ")) + 1

Then just use it in the CASE WHEN (attention to the always return the same type of data, so if the granularity of weeks and months is VARCHAR, the granularity of the day must be also a VARCHAR and not a DATE, you must CAST to avoid problems).

Tags: Business Intelligence

Similar Questions

  • How to set the default value for the digital control on front panel?

    How to set a default value for a numeric control of LabVIEW 2009 Front Panel? I have several input values that are actually configuration settings I want to settle with the default values of zero. I want them to be the values displayed when the façade first appears until the code is executed.

    I really want to use the Minimum and Maximum limits by default for this because I still want to be able to define acceptable limits for values.

    I would not be able to specify a default value of zero for these entries?

    Enter the desired value, then "right click...... of default data of value to operations. Save the VI.

  • How to set the default value for the Group of radio buttons

    Hello
    Here's my situation.
    I have a form of HTML text. In the form, I have an element called "* drinks * ' and its options in the radio button group or coffee, tea. Now, I want to put a default value("NA") to the radio of drinks group. Is it feasible. If so, how. Advice would be useful. Thank you

    Hello!

    You can also set a default value in the radio unit of page article under the default setings. Here, you must put the result value (if you have static: Café;) One, the; B, NA; C you write C if you want NA default choice) of your radio.

    concerning

  • How to set the default value for the search results per page?

    RH8 RoboHelp HTML. TOC published is published with a search option and search results per page default is 10. Where can I reset it to something like 20 or 30 (the table of contents has a lot of room so that a large number of returns).

    Look at the whform.js file in the folder of release of Webhelp for var gnMaxRslt = 10; and change the number here.

    See www.grainge.org for creating tips and RoboHelp

    @petergrainge

  • How to set the default value of the attribute with a sequence number? Is it possible to add a string to seq.no. like abc0001?

    Mr President.

    How to set the default value of the attribute with a sequence number? Is it possible to add a string to seq.no. like abc0001?

    Concerning

    For the date, you can use groovy expression adf.currentDate to set the current date. reference http://adfgouravtkiet.blogspot.in/2012/11/how-to-set-default-values-for-entity.html

    You already have ways to use the sequence.

    How do you add a new value in the form. You're creating a new line of your page (user interface) and by engaging with validation operation? Unless you commit you will not be able to see anything in the table.

    Thank you

  • When you create a PDF from a scanner, is there a way to set the default value for the size of 8.5 x 11 letter custom every time I make a PDF from a scanner?

    When you create a PDF from a scanner, is there a way to set the default value for the size of 8.5 x 11 letter custom every time I make a PDF from a scanner?

    Hi kevin7frg,

    You can go to "file > create > scanner > configure presets PDF»

    The dialog box that appears, you can choose 8.5 X 11 as the default width and height of PDF pages to scan.

    Hope that helps.

    Kind regards

    Ana Maria

  • Web site created by Muse. The greats until tweek of today. Web site insists now for open index.html in the tablet. Don't know how product, nor how to change the default value for pc of office/index.html. Would advise. Bob

    Web site created by Muse. The greats until tweek of today. Web site insists now for open index.html in the tablet. Don't know how product, nor how to change the default value for pc of office/index.html. Would advise. Bob

    Hi Bob

    I think that you have found the solution but if still you are facing the question, please give me the url of the site that opens another provision in the tablet.

    Please make sure desktop redirection is checked in the site properties page layout.

    Thank you

    Sanjit

  • ODI 11 g | How to set the default value in the Interface mapping?

    Hello
    I m interpreting data OID of Oracle DB load target FOR Hyperion Essbase.
    Its my requirement to set the default value for any size target source system it becomes same record for a specific column.
    I thought that it would be fixed in the Interface, but I was not able to do.

    Example:
    Target Essbae Dimension
    Size of account must have the value "FixAccount".
    Dimension of the year must have the value "FY13.
    Dimension of the view must have the value "ActiveView.

    looking for your

    Concerning
    Sher

    Yes

  • How to set the default printer for the user in 11i

    How to set the default printer for the user in 11i, please let me know how to set the new printer to the user, its Linux OS EBS 11i.

    Please see these documents.

    How to install the default printer for a user. [153927.1 ID]
    How to set up a default printer for a user in Oracle Applications [ID 1018856.102]
    How to set a default printer? [1237254.1 ID]
    How to configure the default printer for Applications [ID 184109.1]

    Thank you
    Hussein

  • How to set the default value of a column from the value of the 2 columns given

    Is it possible to set the default value for a column A, as the concatenated values of columns B and C of the create table statement itself without using the trigger.

    for example, in a line, if column B is 'James' and column C is "smith" then the column has must be "james Smith".
    in another line if column B is 'Bob' and column C is "Taylor" then column should be "Bob Taylor"

    Thank you
    YG

    Yes, it is possible. But what is your version of the database? Try to use "virtual column. Search for a virtual column in the following link.
    http://www.Oracle.com/technology/pub/articles/Oracle-database-11g-top-features/11g-schemamanagement.html
    http://download.Oracle.com/docs/CD/B28359_01/server.111/b28286/statements_7002.htm

  • Windows Explorer - list: how to set the default value to display all the contents of the folder 'List' not 'Tiles '.

    Using the Windows Explorer of Windows 7, how I have by default set to display all the contents of the folder 'List' not 'Tiles '.  I want set a default value for the new folders and edit globally all folders that I have.

    Thank you, Steve

    Hi Steve Menker,.

    Visit the links that measures to work with files and folders in Windows Explorer below:

    1. working with files and folders:http://windows.microsoft.com/en-US/windows7/Working-with-files-and-folders

    2. change the folder options:http://windows.microsoft.com/en-US/windows7/Change-folder-options

    3. organize, sort, or group your files:http://windows.microsoft.com/en-US/windows7/Arrange-sort-or-group-your-files

    With regard to:

    Samhrutha G S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How to set the default value of the component selectOneChoice in the table to the ADF

    Hi all

    I use jdev 11.1.1.6.0 version.

    I used an adf table in which an attribute is selectOnceChoice.

    To create the table and selectOneChoice I used the data control java bean.

    and drag and drop a table and after that I have drag and drop one of the attributes as selectonechoice and linked with the return of the method list as < key, value > pair.

    I want the default value to select only one option in each attribute rows.

    I checked with simillar issue on post next, but not yet resolved.

    
    
    
    
    

    My jspx code is

    
    <af:column id="c11"
                                             headerText="Invoice To" >
                                        <af:outputText value="#{row.invoiceTo}" id="ot19"/>
    <af:selectOneChoice value="#{bindings.invoiceTo.inputValue}"
                                                        label="#{bindings.invoiceTo.label}"
                                                        required="#{bindings.invoiceTo.hints.mandatory}"
                                                        shortDesc="#{bindings.invoiceTo.hints.tooltip}"
                                                        id="soc3"
                                                        autoSubmit="true"
                                                        valuePassThru="true">
                                      <f:selectItems value="#{bindings.invoiceTo.items}"
                                                     id="si4"/>
                                    </af:selectOneChoice>
    </af:column>
    
    
    

    where invoiceTo is the table attribute and the invoiceTo attribute is dragged and dropped as a SOC function list Source data mapped data value with the List attribute

    and the display attribute

    Data value = invoiceTo List = lovMasterKey attribute

    Display attribute = lovMasterValue

    that list is maintained at < lovMasterKey, lovMasterValue >

    According to the value of invoiceTo line, it should show as default value is selectOneChoice, but its showing no not as a default value.

    Please, help me how set the default value of selectOneChoice in the table according to each value line invoiceTo.

    Thank you all for the help on this issue.

    Problem has been resolved.

    Reason for this was used

    It is solved using code used for the list built for selectoneChoice more

      List lovMasterList = new ArrayList();
    
    SelectItem siItem = new SelectItem();                      
    
    siItem.setLabel(objAfCmnLovMasterListVO1.getLovMasterValue());
    
    siItem.setValue(objAfCmnLovMasterListVO1.getLovMasterKey());
    
      lovMasterList.add(siItem);
    

    Now, I used the code where the line below. InvoiceTo is the key and row.invoiceToItems are the list of articles for selectOneChoice.

    
    
    
      
    
    

    Thank you very much...

  • How to set the default value of selectOneChoice

    Hi all
    I have two selectOneChoice (soc1 and soc2) in two respective pages with the same datacontrol. Now, I need set the default value of soc2 according to the value selected in soc1.
    For example: -.
    If the user has selected a value in soc1 say 'Bag' in the list then it must affect the default in soc2 as 'Bag' when loading the second page. The time as selectOneChoice was created using the same data contol.

    How can I achieve this?
    Please suggest.

    You can try with this?

    Place curIndex pageflow scope and use

    This.SOC2.SetValue (Integer.ToString (curIndex));

    ~ Abhijit

  • How to give the default value for an attribute in the OPA

    Hello

    I need a default attribute boolean to true at the beginning of the session of the OPA. I need to use it to control the visibility on some pages.

    Can someone please throw light on how to best implement this?

    Thank you.

    You have a few options (as always with the OPA!)

    If you use determinations of Web and that you have defined your own screens, then the easiest way is to define a default in the screen - you can either do a default static or dynamic based on an attribute is proved by a default rule.

    If you want a value by default when you debug without using screens, so you're better off just writing a rule to set the default value. It's kinda interesting with a Boolean value as you do not need to tell the value of the attribute OPA - it is inherent in the name of the attribute. For example, if you had a conclusion "control is visible" (with no = "true" or whatever it is) it would be set to 'control is visible' to 'true '. Set it to false, you simply need to type "control is not visible" - which actually (thanks to OPA assuming a 'subsidiary conclusion') defines "control is visible" to "false".

    You can then replace it in the debugger of via a screen issue (if you force the question).

    I don't know how it would work with server of determinations if you had a default value proved by a rule, but has also provided a value in the data - maybe someone else can clarify if the rule takes precedence over the input data? My usual approach is to try locally in OPM and see (using something like SOAPUI to integrate with the determinations OPA server web service). If that's the best way to implement this course (or indeed if using a default value of visibility control screen is best practice) is difficult for me to say - I am a relative beginner!

    Hope that helps a little...

  • How to set the default value in the select list to cascaded

    Hello
    I use Denes Kubicek cascade example list of selection http://htmldb.oracle.com/pls/otn/f?p=31517:119

    And I want to give cascading the selection list with a default value. So, anyway, I use this application process:

    < pre >
    BEGIN
    OWA_UTIL.mime_header ("text/xml", FALSE);
    HTP.p ('Cache-Control: non-cache');
    HTP.p ('Pragma: non-cache');
    OWA_UTIL.http_header_close;
    HTP.prn ("< select >");
    HTP.prn ("< option value ="' | 1 |) "" > ' | '- all employees-' | ' < / option > ");"

    FOR c IN (SELECT ename, empno
    WCP
    WHERE mgr =: cascading_selectlist_item_2)
    LOOP
    HTP.prn ("< option value ="' | c.empno |) '">' || c.Ename | ("< / option >");
    END LOOP;

    HTP.prn ("< / select >");
    END;
    < / pre >

    How can I select for example empno default 1000?
    Thanks in advance.
    Jacob

    Jakob,

    In this case, your default value is

    HTP.prn (')

    However, you can set the default value in the loop as you want. You just say that is your default - first, second, third...

    In the list select ajax there's no submit and no calculation of values then I assuem your default is the punch one you wan to display when a selection list has been changed?

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    -------------------------------------------------------------------

Maybe you are looking for