Pass fast values in the legend / '- ALL -' filter filter all records

Hello

I have 2 questions for a same graph, so I hope it's OK to add them in a post.

First I created a graph and added three filters in the Select list that are working well, the query is less, problem is that when I change to "- ANY -" I get no data, it eliminated all records as no data is the value of "- ALL -" don't - does anyone know the code to work around this problem?

My graphic request;


--------------------------------------------------------------------------------

Select the link null, data P_MONTH as MONTH, SUM (CALLS) as

from the DATA. MAIN_DATA

THE WAREHOUSE WHERE =: P1_WAREHOUSE

AND ANS_UNANS =: P1_ANS_UNANS

AND PRODUCT =: P1_PRODUCT

P_MONTH GROUP


--------------------------------------------------------------------------------

As I have several queries like the one above for different options on the same chart, I would like that the legend to show what the user chose every time the options change IE;

Something like the bold text in the query to display the values in the legend;


--------------------------------------------------------------------------------

Select the link null, P_MONTH as MONTH, SUM (CALLS) as "P1_WAREHOUSE". "P1_ANS_UNANS" | 'P1_PRODUCT '.

from the DATA. MAIN_DATA

THE WAREHOUSE WHERE =: P1_WAREHOUSE

AND ANS_UNANS =: P1_ANS_UNANS

AND PRODUCT =: P1_PRODUCT

P_MONTH GROUP


--------------------------------------------------------------------------------

Any ideas / suggests?

Hello

OK - the page looks ok now.

You had a WHOLE and one entry in the list of categories. I think that ALL were on the list of values at some point definition and Apex had updated it's reference to the LOV was then still which he. I refreshed the LOV page delete this entry, set the return value zero 0 (as all values are numeric - you're dealing with values of salary - you must use 0), added a calculation to the page to set the value of the list to 0 if it is NULL, and erased the SUM() and GROUP BY in the series of the chart (which is not necessary).

Andy

Tags: Database

Similar Questions

  • a problem in passing multiple values in the loop settings for

    Hi all

    I am facing a problem in passing multiple values in the loop settings for.


    EX:

    CREATE or REPLACE PROCEDURE (pr_id OUT NUMBER) HAVE


    tab type is table of NUMBER;

    TEMP_TAB TAB;

    BEGIN

    Select the COLLECT LOOSE pr temp_tab pr_id;

    I'm in 1.TEMP_TAB. loop of COUNTING

    PR_ID: = temp_tab (i);

    end loop;

    END TEST;

    OUTPUT:-

    pr_id = 234578


    in the example above, I'm only a value as an out parameter. but I send you PR_ID of the loop.
    why I don't get all the values that the parameters.please offer a solution for me.

    Thank you my friend.

    More clarification, let's look at your code...

    -- create a procedure and have a single numeric out variable
    CREATE OR REPLACE PROCEDURE TEST ( pr_id OUT NUMBER ) AS
      -- declare a type as an array of numbers
      type tab is table of NUMBER;
      -- declare a varianble of that array type
      TEMP_TAB TAB;
    BEGIN
      -- query all the values from the table into the array
      select pr_id BULK COLLECT INTO temp_tab from pr;
      -- loop through each value in the array
      for i in 1..TEMP_TAB.COUNT loop
        -- set the value of the single OUT parameter, OVERWRITING any previous value it has
        PR_ID := temp_tab(i);
        -- loop around to the next value
      end loop;
      -- end the procedure with the final value of PR_ID
    END TEST;
    
  • Passing DB values to the text based on the Select Value box

    Hello

    I'm very big thing back to the Oracle APEX. In my project, I have a requirement in which I need to pass different values for the corresponding text boxes on a different page based on the value I select in the item "Select Value".

    I tried using processes calling for demand, but could not get the desired result.

    Please suggest!

    Hello

    Can you repeat your scenario on apex.oracle.com? It will be easier to fix it this way.

    Kind regards

  • Passing of value of the load capacity of the human task to query ADF VO BPM

    Hello world

    faced with the variable binding in the VO.

    This is the scenario:

    I have a page of the ADF in my BPM process that uses the variable in the flow of payload in variable display object related task.

    My VO has this query:

    Select FULL_NAME, user_name

    of ROLE_TEAM

    where in('IO-UB','AGG-CST-UB') role

    and cdc =: sector

    I need to pass the variable to link called 'sector' to it.

    In my office, I have the variable called 'sector' but I don't know how to switch to the VO.

    With the help of Jdev 11.1.1.7

    Can you help me?

    Thank you.

    Fairlie

    Well it should work, but it's a little more complicated that it should probably be.  ( Dan Atwood accessories to be creative!)

    You must call the method "ExecuteWithParams" on your view object before loading the page.  This can be done during the loading of the page, or in the taskflow (a bit easier to explain).

    First of all, as you described, create your SQL VO query with your variable binding "and cdc =: sector ' make sure 'sector' is a variable binding is set to be updated.

    Then, create the link to your payload BPM 'sector' value (we'll call it SectorPayload) on your page (just drag as a text of output so that ADF automatically creates the link).

    Now go to the taskflow which has your page that you are trying to view and expand the data control / view the object you want.  The "ExecuteWithParams" method (in the folder of your VO in the DataControl operations) drag the taskflow.  You will be prompted with an Assistant "Change the binding Action" which will have your listed parameter.  Its 'value' uses the phrase EL editor develop "links ADF-> data-> of the page that you have created SectorPayload on (com_company_pagePageDef)-> variable-> inputValue. SectorPayload.  The resulting expression should look like:

    "#{data.com_avioconsulting_demos_showMyPayloadPageDef.SectorPayload.inputValue}".

    Right-click activity and go to the activity of the brand-> by default (it runs everything first and highlights its green).  Then draw a line from this activity to your view.

    The view object should now be filtered according to your variable binding.

    HTH!

    -Kevin King

  • How to pass a value to the form defined in the context of security file name?

    Hi all

    Yet to learn JavaScript... I have a JavaScript script, save a copy of my pdf to a location on my machine. Got the privileges of working well as well.

    How I spend in the field values for the file name? Right, the created pdf copy is now called .pdf [object scope]. Instead, I want to use dynamic values of in the form itself.

    Then this.documentFileName gets me the name of the file (Code record trust)...

    var mySaveDoc = app.trustedFunction (function (doc, subName) {}

    app.beginPriv ();
    var myPath = "/ c/SubInspectionForms /" + this.documentFileName + ".pdf";

    saveAs is the only privileged code that should be placed
    with beginPriv/endPriv
    doc.saveAs ({cPath: myPath,})
    bCopy: true,
    ({bPromptToOverwrite: true});
    app.endPriv ();

    });

    this.getField("INSPECTION_Location") doesn't the value of a field:

    var mySaveDoc = app.trustedFunction (function (doc, subName) {}

    app.beginPriv ();
    var myPath = "/ c/SubInspectionForms /" + this.getField("INSPECTION_Location") + ".pdf";

    saveAs is the only privileged code that should be placed
    with beginPriv/endPriv
    doc.saveAs ({cPath: myPath,})
    bCopy: true,
    ({bPromptToOverwrite: true});
    app.endPriv ();

    });

    The script on my SaveACopy button is:


    subName var = this.getField ("INSPECTION_Location");

    mySaveDoc (this, subName);

    I need the value of the field in the function?

    It is easy to think 'this. GetField"is a universal thing you can still use, but it is not. Read carefully the description of the object "Thi". It is set in some contexts, and I don't think this is allowed when using it. You must pass it as a parameter in a context where it is defined.

  • Passing multiple values at the request of the State (no status page)

    Hello

    [APEX 4.2.4.00.08 on the 11.2.0.3 database]

    I didn't know how to explain briefly what I need in the title of the discussion, that's why I added the song "(non page rapport)". "  I met a lot of threads associated with passing of selections multiple values from one page to another, or via a URL from one page to another.  I know how to do this.  The problem I have right now is trying to pass the commas of the values contained in an application to a report query element.  Here's where the "(rapport non page) ' comes into play."  I refer to the report query at the level of the application (i.e. shared components-> report queries).  I wish really it had another name for it.  "Report on the application of queries", perhaps?

    In any case, my report query has a bind variable, AI_ID_NUMBERS, that is defined correctly in the shared-> components report queries. However, when this item application has multiple values such that AI_ID_NUMBERS = 4, 5, 6, 7 etc., my URL looks like this:

    myapexsite.com/f? p = 456:2:1234567890:PRINT_REPORT = report_1:AI_ID_NUMBERS:4, 5, 6, 7

    So, this returns only one record for the report where the identification number is 4, one.  I tried a string parameter of Substitution of Application (URL_REPORT_1) with the two following variants (for which both return only a single record):

    Substitution string = URL_REPORT_1 and Substitution value = f? p = & APP_ID.:0 : & SESSION. : PRINT_REPORT = report_1:AI_ID_NUMBERS: & AI_ID_NUMBERS.

    Substitution string = URL_REPORT_1 and Substitution value = f? p = & APP_ID.:0 : & SESSION. : PRINT_REPORT = report_1:AI_ID_NUMBERS:-& AI_ID_NUMBERS. \

    returns...

    myapexsite.com/f? p = 456:2:1234567890:PRINT_REPORT = report_1:AI_ID_NUMBERS:4, 5, 6, 7

    myapexsite.com/f?p=456:2:1234567890:PRINT_REPORT=report_1:::AI_ID_NUMBERS:\4,5,6,7\

    .. .respectively

    I really thought that the backslashes would have solved the problem.  Any ideas why my report request (PDF) returns only one line?

    Thank you

    -Seth.

    Well, too bad. I realized the mistake I did.

    When you work with 'request report queries', there is an option to include variable bind, for example the application or page elements.  I had already done that, but for some reason, thought that I also had to pass the parameter and its values in the URL.  This is not necessary since the report query query already has the issue of the application/page related to it.  The following URL works fine:

    myapexsite.com/f? p = 456:2:1234567890:PRINT_REPORT = report_1

    And, Yes, it's the URL that is provided when you set up a "application report query.  I was thinking too hard.

    -Seth.

  • passing multiple values of the column to a variable in unix

    sqlplus -s $USER_ID@$SID/$PWD<<EOF>sql_1.txt
    set feedback off
    set heading off
    select  114032 as c_1 from dual ;
    
    
    EOF
    
    
    
    
    for i in `cat sql_1.txt`
    do
    
    
    sh script_1.sh  $i 
    

    Currently I am passing a column value to the single unix variable.

    How can I pass values of 2 columns

    sqlplus -s $USER_ID@$SID/$PWD<<EOF>sql_1.txt
    set feedback off
    set heading off
    select  114032 as c_1 ,sysdate c_2  from dual ;
    
    
    EOF
    
    
    
    
    sh script_1.sh $col_1_value  $col_2_value 
    

    I'm on SUNOS

    You can concatenate the columns in SQL by a delimiter, and then use the cut (for example) under Unix to analyze the production line in chips for the script.

  • Passing a value to the parameter variable

    Here is a general example (all the code):

    _Global.XPosition = {function(whichMc:MovieClip,_xStart:Number,_xEnd:Number):Void}
    new Tween (whichMc, "_x", Strong.easeOut, xStart, xEnd, 1, true);
    }

    function loadFunction(success:Boolean):Void {}
    If (success) {}
    var image01ClosedPosition:Number = this.firstChild.childNodes [0].attributes.imageChangeX;

    hit01.onRollOver = function() {}
    xPosition(img01,image01ClosedPosition,0);
    }
    }


    In the XML file, the value in the fact that I'm pulling is - 29.
    If I do a trace of imag01ClosedPosition, I get the correct value of-29.
    If I change the call to the function to read xPosition(img01,-29,0); This also works

    I can't make it work the way I have it above.
    (I know that I failed a lot, but I wanted to give you an idea of the part that does not work.)

    Thank you, kglad. I wondered about this. I thought that the setting of a variable data type: number, it would have been a number, but I never got an error in the debugger so I thought it was ok. I traced the data type and figured out it was actually a string and changed the following line which has transformed the string to an integer and does the job:

    var image01ClosedPosition:Number = parseInt (RootNode1.attributes.imageChangeX);

  • How to change the value of the legend in the chart OBIEE

    I have 2 columns A and B are measure columns.
    How can I change 'A' and 'B' in the legend of my bar chart 'LIA' and 'ACTIVE', without changing the A, B the name in my area.
    Thanks for any help!

    Published by: user6388889 on November 18, 2012 17:46

    Published by: user6388889 on November 18, 2012 17:55

    Hello

    by changing the criteria---> report column (Custom headings: it's like alias column name) you can solve.

    Thank you
    Deva

  • Saving values in the settings all in Navigation

    Hello

    Can I save the value of the dimensions in some settings while browsing.

    Means if I click a value in a table that allowed navigation, I want to keep the values of corresponding dimensions in some settings.

    How can we reach the requirement above.
    Please let me know if any other information is required?

    Kind regards
    Vikas

    1. ensure that you have the same column names you have in the report target

    2. remove the spaces between the parameters

    '<--a href="http://obiedev02.tpcsed.com/analytics/saw.dll?GO&" path="/shared/CUSTOM%20WAREHOUSE/PLANNED%20TRAINING%20DETAILS&Action=Navigate" &p0="1" &p1="eq" &p2="Training%20Planned%20Time" ."month%20(mon-yyyy)"&p3="1+'||" fact"="" -="" employee="" total="" trainings"."month"||'="" style="text-decoration:none;">': ' link name ' | '<-->'
    Do you see spaces?

    Navigate & P0 = 1 & P1 = eq &

    Write like this:

    Navigate & P0 = 1 & P1 = eq &

    and you don't need

    1+'||" Fact - Total employee training. "" MONTH ".

    just

    '||" Fact - Total employee training. "" MONTH ".

    And remove the space here:

    ' |' link name ' | '<-->'

    Put like this:

    ' |' link name ' |' <-->'

    Try now.

    PS. one more thing. Click on a link during recovery in the results of the responses tab and join a properties/address (URL) and copy/paste URL generated here.

    Concerning
    Goran
    http://108obiee.blogspot.com

  • How to pass item values to the fields in Page #2 Page 1

    Hello

    On the first page, I have two points and a single button.
    Point n ° 1 P1_PROJECT_NAME display text (escape special characters, does not save the State)
    Article #2 P1_PROJECT_ID hidden and protected
    Button #1 create redirect page 2

    When the user clicks on the Create button, 2nd page opens with the form for creating detailed project which includes the two following fields.
    #1 P2_PROJECT_ID a text field
    #1 P2_PROJECT_NAME a text field

    I want to change the P1_PROJECT_ID value to the field of P2_PROJECT_ID and P1_PROJECT_NAME to the P2_PROJECT_NAME field.
    How can I do this?

    Thank you
    Guy

    Guy,

    If you change your button and go to the "URL redirection Option" section you will find two fields: 'Put on these elements' and 'with these values.
    Simply enter your values in these two fields separated by commas, in the same order.

    Kind regards

    --
    Paulo Vale
    http://Apex-notes.blogspot.com

  • List of values do not fetch all records are read only 25 records of entry

    I have a vo... on which an attribute is to have a list of input values that came from other vo called peoplesearchvo...

    On the user interface, I get only 25 records in the list of input values... I tried several things but still did not work

    in the peoplesearchvo... Tuning part I gave all the rows in batches of 20, according to the needs... Mode... scroll and rangesize = 1

    On the user interface in the section of links to the properties of the iterator, it is rangesize - 25 and updating is the (delay) default mode.

    I did not change when even... I get only these 25 records failed to retrieve all records, even after I scroll down.

    Can you get it someone please let me know about it

    Thank you

    Yes, it is a bug in the ADF (fixed in 11.1.1.7.0).

    If you have oracle support account, see note: 1456824.1

    According to this note, you need to patch 13924897

    Dario

  • Pass form value when the click on

    Hi all

    How can I pass the value of a Checkbox control when it is selected for a hidden value in another form on the page?

    And if there is more then a checkbox clicked on it must pass all checked values.

    Any ideas?

    > any help in the JavaScript file?

    I wouldn't do it this way. You then make the features of the
    page depend on activation of javascript of the visitor.

    Server script is the best (and easiest) to do this.

    --
    Murray - ICQ 71997575
    Adobe Community Expert
    (If you * MUST * write me, don't don't LAUGH when you do!)
    ==================
    http://www.projectseven.com/go - DW FAQs, tutorials & resources
    http://www.dwfaq.com - DW FAQs, tutorials & resources
    ==================

    "theBeachBum" wrote in message
    News:fgfs8i$I1c$1@forums. Macromedia.com...
    > Hi Murray.
    >
    > I thought this, but tried to avoid all this code... thought
    > about the event onClick javascript might be easier... all help to the
    > javascript?

  • Passing multiple values to the report

    Hello
    I have a form of parameter. One of the field will have at least one value. When there are multiple values, the values will be separated by a comma and pass on to the State. Please tell me how to separate them and put them in the citation in the report query.
    EX: values are: PO, DR
    There will be in the where condition as: where code in ('OP', 'DR');
    Thank you in advance.

    PS. I use 10g

    Published by: 945599 on 10 July 2012 14:04

    Hello

    I sent the unit test by mail.
    Please note that there are some hardcoded values when you use run_report_object (name of report server and host name).

    Kind regards
    Alex

    Published by: AlexDiniasi on 19.07.2012 17:14

  • Passing a value to the URL of a CFC

    Hello.

    I'm not very familiar with coldfusion CFCS but I could follow a few examples that allow me to perform selects related using cfc code.

    Recently, I came across a problem and do not find the answer using Google, so I thought I would ask here.

    I have a form and the URL of this form contains a variable that I need to go to the SWC but I don't know how.

    Here's the URL... myform.cfm? type = normal

    So on this page myform.cfm I a call to a cfc like this < cfselect multiple = "" name = 'test' bind = "SWC:test.test_func()" bindonload = "true" / > "

    In the CFC, I need to be able to modify the query in the test_func based on the variable named 'type' in the form page URL string.

    How can I pass this type = normal in the cfc with the link to the cfselect?

    Thank you

    OK, got it.  "In shape, I've added a hidden field named field_val with value =" ' #URL.type # ', then past this value form like this bind = "cfc:test.test_func({field_val}).

    Then in the cfc, I put an argument for find field_val and it works.

    Probably not the most elegant, but its working for now.

Maybe you are looking for

  • NB520 - 10 H 3 g Sim?

    Last week, I bought this netbook to John Lewis. One of the reasons I chose this model is because it seemed to have a card sim 3g behind the battery slot. I have a USB drive with the sim card and thought that I could just remove sim and slot in this n

  • HP officejet pro 8630: built-in Web Server page

  • Windows update error 00000641

    Hi can anyone help me please window tells me that I have updated. I go through the usual channels, but it retains fail with an error 641 can someone advise me please. Regards David

  • cannot retrieve mp3 cd in Vista, WMP11

    music charges to WMP for listnening to songs, but the music is not retained in WMP after that I have eject cd

  • RVL200 support / update

    We intend to use the RVL200 (due to its ability to SSL VPN), but if I understand correctly, this router does not have any SW update after the passage of the Cisco Linksys. Is there a plan to provide an update to the well-known problems (expired certi