Problem in display detail with aggregated data.

Hello

I'm new on the BEEP and I am facing problem to see the detail, but also the aggregated both values.

My details are as below

Value of a security
S1 10
S2 20
S3 30
S3 40
S4 50
S5 60
S5 70

I want to display data in the report
Value of a security
S1 10
S2 20
S3 30
S3 40
S3 70 total
S4 50
S5 10
S5 70
Total 80 S5


I tried to use to <? for-each-group: G_2; / Security? > but I get after release:
Value of a security
S1 10
S2 20
S3 30
S3 70 total
S4 50
S5 10
Total 80 S5

Model:
<? for-each-group: G_2; / Security? > <? Security? >: <? Value? >
<? If: count (current - group (/SECNAME)) > 1? > Total <? Security? >: <? sum (current - group (/Value))? > <? end if? > <? end for each group -? >

The problem is that I need to view the details as well as aggregated data. Please suggest.

Instead of G1, use G_1.

Since you are using 11g, you can also try this code:

:
1? > total :

Tags: Business Intelligence

Similar Questions

  • Grid master detail with flash remoting

    I tried to fill a detail grid based selection of main grid, I finally got the second grid (detail) to fill when I chose a recording of the first grid (master), unfortunately I lost the fields of text entry for the master record to which I am bound by the master grid. now, I'm just the details records.
    The two grids are populated by 2 different applications residing in the same CFC.

    I start by filling the master grid (userGrid), then when a line is selected I spend the primary key of the selected lines to the function that calls the query of detail in the cfc. This query selects only records where the master primary key = the foreign key in the secondary table.

    It is an example of the code that is in the script tag, which deals with the grid:

    var responseHandler:Object = {};

    var userGrid:mx.controls.DataGrid = userGrid; (this is the main gate)
    var userIdGrid:mx.controls.DataGrid = userIdGrid; (it's the detail grid)

    responseHandler.onResult = function (results: Object): Void
    {userGrid.dataProvider = results.item;}
    _root.setmode ('add');
    mx.managers.CursorManager.removeBusyCursor ();
    }

    responseHandler.queryUserid_Result = function (results: Object): Void
    {userIdGrid.dataProvider = results.item;}
    _root.setmode ('add');
    mx.managers.CursorManager.removeBusyCursor ();
    }

    On the form load call the getData() that fills the Mastergrid by using the master in the CFC query - it works.
    The getData() looks like this:

    public void getData (): Void
    {
    var qArgs:Object ();
    < cfoutput >
    qArgs.status = "#session.status #";
    < / cfoutput >
    _Global.listingService.queryAll (qArgs);
    _root.setmode ('add');
    mx.managers.CursorManager.removeBusyCursor ();
    }


    The main gate makes the call to the second grid (getUserid() in the event onchange, the PKNO column is the primary key):
    < name cfgrid = "userGrid"... onchange = "userGridChanged (); getUserid (userGrid.selectedItem.PKNO)" >

    The getUserid () looks like this:

    public void getUserid(pkno:String):Void
    {
    var userArgs:Object ();
    < cfoutput >
    userArgs.pkno = pkno;
    < / cfoutput >
    _Global.listingService.queryUserid (userArgs);
    _root.setmode ('add');
    mx.managers.CursorManager.removeBusyCursor ();
    }

    This function is to fill the grid of detail with correct data. When I select a line of the master userGrid.

    The right panel has the textinput to the master record fields that are related to the master grid-userGrid. Below these textinput fields, I have the detail grid - userIdGrid, which can contain 1 or more lines. I can get one or the other to fill, not both.

    Is there a problem with the resultHandlers each specifying the .dataprovider?

    Any help would be greatly appreciated.

    Thanks in advanced for any help.
    Kim

    You call setMode() much, by chance you're wrong data clearing it when you do not expect.

  • Display screen with Windows 7 problem

    Original title: Monitor problem

    Before I explain my problem.

    First of all, let me tell you a little about myself.  I'm 73 and I am a Novice in computers and do not consider myself an expert...  I have a degree in electronics with over 40 years of experience. I've built several computers for family and friends for years.  The problem, which I'll explain you completely confused me.

    I have a 24 "I-Inc monitor that I bought in 2008.  It has a nice clear image that never changed.  Best deal I've ever done in the monitors.  This monitor is connected to my computer main clocked i5 of operating system: Windows 7 Ultimate Professional Media Center 6.01.7601 Service Pack 1 (64-bit) fully updated.  Monitor is driven by video card NVIDIA GeForce 210

    Then, all of a sudden a few weeks ago the screen on the monitor began to go dark and back, dark and backward, dark and back.  The last dark anywhere among the second up to 30 seconds and the flashing would go one to five minutes.  Then stop and everything is fine.  So maybe some time later, I went to a different Web site it would start again.  Now, let me say clearly, there is nothing wrong with this monitor or my PC, which brings me to my next story.

    After fighting this monster of darkness for a few days, I decided to move it to what I call my computer of the workshop.  This computer has i3 cpu with NVIDIA GeForce 210 also in perfect condition.  This computer is also a system dual boot, AND this IS A SAME KEY PART.

    It has Ubuntu 14.04.3 md64 (my PC is 64bt) AND 10 for Windows.  This monitor is also connected with a HDMI cable and when I plugged it in this workshop cpu, I first booted to Ubuntu.  Everything was great for about a minute then the monster of darkness began her dance for about two minutes then stopped and the screen image was perfect.  I flipped around for a while, then the monster of darkness happens again.

    OK, so I decided to stop and start Windows 10.  You may not believe this, but with 10 Windows, IT IS No. MONSTER of DARKNESS... PERIOD!  Still, it is still connected to my cp Studio win 10, and I'm interested in what I type and the image is perfect.

    My conclusions: nothing wrong with the monitor that is always connected to the cp workshop and work perfect.

    All is well with all of my equipment in each system.  I use my monitor backup on my main system and all is well.

    Issues related to the:

    Why this monitor would work to win 10 and not in Win 7, where he worked once for years?

    Hello

    Please provide detailed information on this issue. I apologize for the inconvenience caused to you.

    Sometimes we can deal with this issue because of the incompatibility between the display with your operating system drivers. It is important to update the computer and drivers also requires the update. I understand that you have tried to solve the problem and it fixed with Windows 10. This could be due to the compatibility of the display adapter.

    In the future, if you have questions related to Windows, please do not hesitate to write us and we will be happy to help you.

    _______________

    Thank you best regards &,.

    Isha Soni

  • Problem with field date

    Hello
    I have problems with the dates. I have a datagid which fills the XML values. Some examples of dates in the xml document.
    (1) 2008-08 - 05T 00: 00:00Z
    2) 2008 - 07-22 T 00: 00:00Z
    (3) 2008-08 - 04T 23: 00:00Z
    4) 2008 - 07-11 T 11: 18:20Z

    I have the function that is called when an element is clicked on the data grid. This function is supposed to take the above date and the date of the datefield in a summary Panel. I continued to get xmllist@23232 to date conversion error if I tried to bind the property of selectDate datefield in dataGrid value.

    I've seen examples of datefield defined using a date object. So I stored the date above in a string. Screens of the string data fine only thing is a the componenet (T) of time as well. So I split the string using the string to split the function and the use of "T" as a separator. The problem is the 2nd and 4th dates in the above examples worked well and display perfectly in the datefield.

    The 1st and 3rd dates however wrongly displayed. I've posted the table stored items from split, which found that the date of the first one 2008-08 - 05T 00: 00:00Z rose in 2008-08-06 instead of on 2008-08-05
    and for 2008-08 - 04T 23: 00:00Z rode in on 2008-08-05 instead of 2008-08-04. I checked the string that was storing the data grid data and who has been properly storing the value.

    any suggestions?

    see you soon
    Aerts

    sorted,
    lacked a bit of caffeine. I had another string of storing a value different date and because of my stupidity, I tried to parse this string and get the two different dates.

    see you soon
    Aerts

  • Problems with the date and time - have to reset the date & time on reboot

    original title: problems with the date and time

    Whenever I turn on my computer (Windows XP 2002) I click on F2.  Then I re - set the date and time it occurred in January 2006 1 h every time I have turn off the computer.  Can someone tell me what I need to do?

    You need to replace the battery in time clock (RTC) real of your computer.  It can also be called the CMOS or BIOS battery.

    Many computers, this battery is an inexpensive CR2032 button available in almost every pharmacy corner.  There are, however, some computers (especially laptops) that require a different (and probably more expensive) battery.

    Whatever the expense, almost all of these batteries are easy to replace.

    To get help, post back with the brand and model of your computer.

  • Problems with the data connection

    Hello
    I bought a Z3 Compact Xperia on December 10, 2014. I live in Italy and I use Vodafone as my everyday.
    I got a SIM card replacement nano with LtE capabilities just to get the phone in the new fast network. The problem I encounter is that, since on January 13, 2015, I had some problems with the data in mode 3 G connection.
    So far, I used my phone normally, then I tried to send a text message with WhatsApp and phone stuck with the clock icon in the lower corner of the bubble of the message. I thought it was a temporary network problem but I'm not sure about this.
    I live in a small town where the coverage is really good, either in 3G and LTE. I tend to use the 3G because it uses less battery and it does not affect my 4G data plan.
    Th issue, it's that if I do a speedtest when I feel that network glitch I have a ping, but with very good download speeds up to 2000ms.
    The problem is that I believe that this is not a network problem because my mother has a phone HtC One S and runs vodafone without problem even when I'm having the glitch.
    I tried to reset the phone to factory settings, but it did not help.
    In LTE / 4G I do not experience this issue. In fact, I think if there is problem need a phone related software because the antenna works very well.
    If it doesn't I'll try to contact ad Vodsfone then I'll send my phone for the helpdesk if Vodafone tell me that the question is not on their network.

    Thanks in advance for your help.
    Simone

    It's pretty strange, double check the APN settings and contact EE in this regard.

  • Problem when creating a report with a date of schduled

    When I tried to create a report with a schedule (any option except now) I get the error 'Date of the first report occur must be after or equal to the current date", unless I have use a date of 01-10-2012 or later in the first report occurs on the field.  Current date is 2012-08-23.

    Let me know if you can recreate it and if or when there is a fix.

    Hi Tim,.

    We have fixed the problem now. Could you please check that you are able to schedule a report now with start date of today?

    Thank you

    The OnPlus team

  • Problem with Capture Date &amp; time change

    I just became aware of a problem with the Date of Capture use to is very strange. Initially, a brief explanation of the import workflow I'm used with jpeg image 6 iPhone since Lightroom Mobile was presented. The images appear in the section of times iPhone app Photo, and from there I transfer to a collection in Lightroom Mobile. Once the collection syncs to Lightroom on my Mac (running latest El Capitan), they sort by capture time and I make choices and rename images. I have a naming preset that adds automatically the date to all the images. Recently, I noticed that some of these images, but not all, have been appointed with the wrong date. I had traveled without my computer - only my iPad, and it was a month before the images have been synced on my Mac it was very obvious that the dates were incorrect. The problem may have expressed earlier, but if the date was off by a day or two he would not have been as sensitive.

    The problem occurs when I take pictures with the app in time of MomentLens company. I use the application because it is designed to work with instant attachment lenses and the case of the Moment (which makes no difference in time to capture problem).


    Once that the images are added to LR Mobile news for images show good capture date and time. That's when they images sync for LR (latest version) that the problem occurs. And this is not a problem of LR Mobile, such as changes of date and hour occur if images of the iPad are added to LR without using mobile LR (from the iPad to Mac with AirDrop). Looking at the EXIF metadata Panel in LR, images taken with the iPhone camera app show three dates: Date time Original Date time digitized and Date time - all the which three are the same. Show only pictures taken with the application of the time Date time, but it's the same as in the iPhone Photo app and in LR Mobile capture time. However, when I show info on imagine in Lightroom, the time that appears to capture the time is the time that the image has been synchronized (if it came at LR Mobile) or the time that the image has been added to the iPad over wifi. It is also the time that is added to the preselection of naming. Note that if I send a picture directly from the iPhone to the Mac with AirDrop the date and time is correct.

    For the life of me, I can't understand this anomaly. I did thorough Imaging tests, and it happens only with the application of the time - other camera apps do not exhibit this problem. Interestingly, LR recognizes both the time Soft, which is reported under EXIF on the range of software and the lenses of the Moment when it is used with the iPhone the Moment case.

    If anyone has any ideas I'd be pleased to entrance. Thank you

    The link to the file is Dropbox - Photo of the Moment

    I have just confirmed with Exiftool that the sample file does not EXIF:DateTimeOriginal, although it does not contain EXIF:DateTime.

    You can send the following to the current time, the EXIF 2.3 specification:

  • ADF 11 g: create with the data control problem: Please help

    Hello

    In my application, I tried to create a customized data controller.

    I created a Java class results and a bean ResultsBean class.
    Then I selected class results-> right click-> data controller to create.
    The Results.xml is created
    Everything is going well so far.

    Then I updated the details of class Bean in Results.xml and tried to re-create the data controller but did ResultsBean.xml ' t formed.


    In other words ResultsBean have not associated with outcome data controller.
    Please help on this.

    Version of the ADF: Studio Edition Version 11.1.1.3.0
    Build JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660

    Thanks and greetings
    Maryline Roussel

    Yes you use generics to the JDeveloper type, how the JDeveloper Assistant know the ResultBean is used to return an ArrayList value?

  • Problem with the DATA types, in a UNION

    Hello
    I m trying to disply a custom message when no data found using the structure below. Unfortunately I ve you have a problem with the data types I im trying to union
    I tried different types of data in the 2nd SELECTION tool but the rest of the problem. Help, please.

    SELECT HOSP_NAME 'HOSPITAL' DOC_SUR 'NAME', 'NAME' DOC_NAME, d.DOC_ID ID, diagnosis
    H., DOCTOR d, (SELECT d.DOC_ID, COUNT (d.DIAGN_ID) diagnosis
    OF PATIENT_DIAGNOSIS d
    GROUP BY d.DOC_ID)
    WHERE diagnosis > 1

    UNION ALL

    SELECT TO_CHAR ('test'), TO_CHAR ('test'), TO_CHAR ('test'), TO_CHAR ('test'), 0
    OF THE DOUBLE
    If NOT EXISTS (HOSP_NAME 'HOSPITAL' 'NAME' 'NAME' DOC_NAME DOC_SUR, d.DOC_ID ID, diagnosis
    OF ΝΟΣΟΚΟΜΕΙΟ h, ΙΑΤΡΟΣ d, (SELECT d.DOC_ID, COUNT (d.DIAGN_ID) diagnosis
    OF PATIENT_DIAGNOSIS d
    GROUP BY d.DOC_ID)
    WHERE diagnosis > 1);


    ORA-01790: expression must have same type of data, matching expression
    01790 00000 - "expression must have the same type of data, matching expression.

    DOC_SUR 'NAME' DOC_NAME 'NAME', ID d.DOC_ID, HOSP_NAME "HOSPITAL", diagnosis

    What is the data type for these columns

    To_char('test'), to_char ('test'), to_char ('test'), to_char ('test'), 0

    What you're doing here 'test' is already a character. Why do you use TO_CHAR?

  • problems with the date picker

    I found some problems with the date picker to make my first presentation of object BPM.

    I created a group with a datetimestamp it contains. When I click on it in run mode, it will bring a new tab in the browser. This behavior is different from that of a date picker outside a group where there just a small javascript popup.

    Anyway around this problem?

    Also, would be nice if could be set by default to the current date. is there a way to who?

    For the component "time" it seems impossible to define the default value - at least on the tab object structure.

    Thank you

    Try to set the property "DHTML" to control date Yes. This option is under the Properties tab-> the calendar section. This will force it to use the popup javascript on screen instead of opening a new browser window/tab.

    To set a default value for a date/time, you can simply set the value in the constructor of the BPM object in which the property is located.

  • Problem with Trunc (Dates)

    Hey guys,.
    I need your help with a statement trunc.

    I have a SHTTRAN table with 3 columns:

    SHTTRAN_ID SHTTRAN_SEQ_NO SHTTRAN_REQUEST_DATE
    901325 2 7/20 / 2008 18:11:28
    900678 4 7/20 / 2008

    The request date column has a few documents with time stamps and little without timestamp as shown above.
    I have a procedure of a package that deletes a record in this table as follows:

    exec deletepackage.p_delete_szptpsr ('901325', 2, July 20, 2008 ');
    exec deletepackage.p_delete_szptpsr ('900678', 4, July 20, 2008 ');

    I have something (shttran_request_date) inside the procedure to remove the timestamp as shown below:

    CREATE OR REPLACE PACKAGE BODY "DELETEPACKAGE"
    PROCEDURE p_delete_szptpsr (p_shttran_id IN saturn.shttran.shttran_id%TYPE,
    p_shttran_seq_no IN saturn.shttran.shttran_seq_no%TYPE,
    p_shttran_request_date IN saturn.shttran.shttran_request_date%TYPE) IS

    BEGIN

    DELETE FROM saturn.shttran
    WHERE shttran.shttran_id = p_shttran_id
    and shttran.shttran_seq_no = p_shttran_seq_no
    and trunc (shttran_request_date) = p_shttran_request_date;
    COMMIT;
    DBMS_OUTPUT. Put_line (' delete request number (' | p_shttran_seq_no | student (' | p_shttran_id |') for the requested date (' | p_shttran_request_date |'))) ') ;

    END p_delete_procedure;
    END DELETEPACKAGE;
    /

    If I run the procedure, it is not delete the record with the time stamp. Can someone help me with this?

    Thank you so much in advance.

    Hello

    What is the data type of shttran.shttran_request_date?

    If shttran_request_date is a DATE, it is impossible to have data like this:

    SHTTRAN_ID  SHTTRAN_SEQ_NO  SHTTRAN_REQUEST_DATE
    ---------   --------------  --------------------
    901325          2              7/20/2008  6:11:28 PM
    900678         4              7/20/2008
    

    because all DATEs have hours, minutes, and seconds. Perhaps you meant:

    SHTTRAN_ID  SHTTRAN_SEQ_NO  SHTTRAN_REQUEST_DATE
    ---------   --------------  --------------------
    901325          2              7/20/2008  6:11:28 PM
    900678         4              7/20/2008 12:00:00 AM
    

    In addition, if shttran_request_date is a DATE, you must call the procedure with a DATE as the 3rd argument.
    For example:

    exec deletepackage.p_delete_szptpsr('900678', 4, TO_DATE ('20-JUL-2008', 'DD-MON-YYYY'));
    

    Which probably won; ' t solve the problem you are having now, but it will not solve the problem you will have later.

    The problem you are having now is that the date truncated in the table must match the date not truncated passed to the procedure.
    The last line of the DELETE statement is:

    and trunc(shttran_request_date) = p_shttran_request_date;
    

    Depending on what you want to do, you probably need TRUNC on both sides of the = operator or on any of the two camps.

  • Problems with the date in the procedure on Oracle 11 g

    Hi gurus,

    I have some problems with the date under Oracle 11 g format.

    Let me explain the situation:

    When I start such a request
    Select to_number (to_char (to_date('01.04.2009','dd.mm.yyyy'), 'yyyy'))
    of sys.dual

    I had as a result 2009 under the number.

    When I do the same thing in a procedure of a package like this

    my_year: = to_number (to_char (to_date('01.04.2009','dd.mm.yyyy'), 'yyyy'));

    the my_year variable contains the value 9 instead of 2009.

    Can someone explain to me what goes wrong?

    I just tested with the evolution of the variable nls_date_format of environment for the session and the database is complete without success.

    Kind regards
    Björn

    Yes, it has everything to do with your environment settings.

    SQL> set serveroutput on;
    SQL>
    SQL> declare
      2    my_date date;
      3    my_zeitstempel varchar2(32767);
      4    my_tageswechsel float;
      5  begin
      6    my_zeitstempel := '01.03.1998 07:00';
      7    my_tageswechsel := .25;
      8    my_date := to_date (substr (my_zeitstempel, 1, 10), 'dd.mm.yyyy') + my_tageswechsel +1/24;
      9    dbms_output.put_line( my_date);
     10  end;
     11  /
    01-MAR-98
    
    PL/SQL procedure successfully completed.
    
    SQL> alter session set nls_date_format = 'dd.mm.yyyy hh24:mi:ss'
      2  /
    
    Session altered.
    
    SQL> declare
      2    my_date date;
      3    my_zeitstempel varchar2(32767);
      4    my_tageswechsel float;
      5  begin
      6    my_zeitstempel := '01.03.1998 07:00';
      7    my_tageswechsel := .25;
      8    my_date := to_date (substr (my_zeitstempel, 1, 10), 'dd.mm.yyyy') + my_tageswechsel +1/24;
      9    dbms_output.put_line( my_date);
     10  end;
     11  /
    01.03.1998 07:00:00
    
    PL/SQL procedure successfully completed.
    
  • problem with the data record

    Hi, I'm new to LabView so I know that the thing I'm doing is relatively easy, however, I'm stuck.

    I made a small program that gets 5 steps (for now replaced with random numbers) and as well as the date and time data in the text file. I intend to run the program for long periods of time, so I want to increment the file name/path every hour, but after the addition of this part of the program does not create any file, although the program runs without error.

    Block diagram is attached, could someone point out to me what is wrong and what I should do to reach my goal?

    Thanks in advance!

    Hi marcis,.

    Acually, the logic of the program was completely wrong.

    1. your comments the file path will never help you. Because after leaving of while loop, the structure of matter will run once and LV will stops running.

    2. open and close the datalog only once file. Try to make all your manipulations between opening and closing your file datalog. Otherwise, it will be difficult to manage when you develop your code.

    3 case construction outside the loop is meaning less. If you want to run the program permanently, place all functions inside the while loop you want to run. While the loop will run continuously until you get satisfied.

    4. incorrect data streams. All programmers need well with the data stream.

    Just go into the basics of labview here and try to realize your logic again

  • Problem with loading data

    Hi all
    Please help me with the data load question
    I exported the data to the format of the column to level 0 9 3 1 version. My plan is to load the data into the new 11 1 2 2 vesrion. When I create the data file loading I was able to create only a few columns as load file is by looking at the first line of the export that has no data for every month.

    Basically when I create the loading rules file in the new environment I am able to see only columns until June. However I have data for subsequent months which I am not able to load.

    Thank you
    Praveen.

    If the first 500 lines do not, work on the first record 501 and see if more columns appear, or trying to 2000 or 3000 or something.

    On the second option, choose the first line but the 3rd or 4th and define column headers, on this basis. (once you have added the additional data columns)

Maybe you are looking for