Sort Group by a Formula

Hello,
I have a group called Part number with a few production jobs with in that group.  I also have a SPQ (Std Production Qty) for each Part number.  I have a formula called @AvgMQty that gets the average prodution qty. I have another formula called@diff that takes the ((SPQ-AvgMQty)/SPQ)*100 and I want to sort my report by this formula
The Idea is to run the report for a given date range and show the Parts that have largest percent difference between the SPQ qty and what production is running.  I want to show the largest difference at the top of the report becasue the report can be very long.
I've found a few other forums where people say this cannot be done becasue you can't sort a group using a "SUM" type of formula. 
I would think what I'm doing is very common and someone knows how to do it!!!
thanks for your help

Give this a whirl - you might want to check it first by creating a new report, but rather than selecting tables, you'll want to use "Command" as the datasource once you've connected to your SQL Server.  As it is, this will select stuff between your previously used dates - but let's worry about that later.  For now, just check that the avg_prod_qty and sort_formula columns are giving you correct values...
SELECT
jomast.fpartno,
jomast.fpartrev,
inrtgc.fspq,
joitem.fmqty,
jomast.fddue_date,
jomast.fjobno,
jomast.fac,
jomast.fstatus,
jomast.fprodcl,
averages.avg_prod_qty,
(inrtgc.fspq - averages.avg_prod_qty)/inrtgc.fspq*100 as sort_formula
FROM M2MData03.dbo.jomast jomast
LEFT OUTER JOIN M2MData03.dbo.joitem joitem
     ON jomast.fjobno=joitem.fjobno
     AND jomast.fpartno=joitem.fpartno
     AND jomast.fpartrev=joitem.fpartrev
     AND jomast.fsono=joitem.fsono
LEFT OUTER JOIN M2MData03.dbo.inrtgc inrtgc
     ON jomast.fpartno=inrtgc.fpartno
     AND jomast.fpartrev=inrtgc.fcpartrev
left outer join --get the avg. production qty for a part number
     (select jomast.fpartno,
     avg(convert(float, joitem.fmqty)) as avg_prod_qty
     from jomast
     left outer join joitem
     ON jomast.fjobno=joitem.fjobno
     AND jomast.fpartno=joitem.fpartno
     AND jomast.fpartrev=joitem.fpartrev
     AND jomast.fsono=joitem.fsono
     group by jomast.fpartno) averages
on averages.fpartno = jomast.fpartno
WHERE (jomast.fddue_date>={ts '2008-06-01 00:00:00'}
AND jomast.fddue_date<{ts '2009-06-01 00:00:01'})
AND jomast.fac='Default'
AND jomast.fjobno LIKE 'I%'
AND jomast.fpartrev='NS'
AND jomast.fstatus='CANCELLED'
ORDER BY jomast.fprodcl, jomast.fpartno DESC

Similar Messages

  • How to sort groups by derived formula

    My report contains two groups. First grouping is by department and second group is by pay_code (for example, OT, OT1, OT5 are overtime paycodes and RG, RG1, RG5 are regular hour paycodes). Each group at the department level contains a running total of overtime and regulartime wages (wage_amount is a database field for each record). I've inserted a formula in the department group footer: runningTotalOvertimeWages/runningTotalRegularTimeWages.
    There are about 70 department groups however I only want to show the 10 departments that have the highest overtime rate (result of formula described above.) I've read the docs for the Group Sort Expert however this option is not enabled because I'm using running totals and not summaries. Using a summary instead of a running total doesn't produce expected results (because second group is defined conditionally based on value of paycode.)
    Is there another approach I can use?

    Hi Patricia,
    I agree...the summary feature is has too many holes in it. 
    -What I mean is, can you add (sum...) the groups' overtime in a formula like: @sumOT  numbervar holdT:= holdT + table.ot.
    Running Total is good because it gives you some nice options and a place to set formulas.
    -If none of this is good for you, then I would go to the query
    (actually, this is the best solution anyway).
    Each db has it's own way of saying "Give me the top n of records". Here's a few ways of doing it:
    http://blogs.claritycon.com/blogs/satish_vemula/archive/2006/02/15/220.aspx...so get the top 10 groups in the query.
    ...then you can group by sum(ot) in the query.  This will give you the 10 groups and the sums (in whatever order you like).
    Please forgive me if I'm off track with what you're saying.  Not trying to frustate...your second posting did make things a little clearer.
    Hope this helps,
    The Panda
    I just wanted to add that in my "DB2" world, I might use a "With" statement
    to create a temp table with the original query, do all the calculations with the
    "with" table, and output everything preprocessed to the report.  This is great for charts and such where placement is so limiting in Crystal(...all the calculations are "below me", yet I want to show the chart "above me", etc.)
    Edited by: pandabear on Jun 23, 2008 3:37 PM

  • Sorting /Grouping Issue: Single Artist Compilation Album Doesn't Group

    iTunes 8 Sorting / Grouping Issue
    EXAMPLE
    • Album: Essential Willie Nelson
    • There are 22 songs on this Disc
    • 19 of them are labelled "Willie Nelson" in the artist field
    • 3 of them are lebelled "Willie Nelson Feat. Waylon Jennings" in the artist field
    PROBLEM
    • Album will not stay grouped together when in the standard "Sort by Artist" in Grid View. A very legitimate expectation to be able to have Willie's name listed along with his pals in the artist field and have them grouped together in one album within Willie's albums section. 19 songs group within one album in the Willie Nelson section and the other 3 are placed separately either in the compilation section or as separate albums within the regular artists grid view.
    I've read most if not all postings that suggest solutions but no matter what... they don't work. The only way that I know to work is to strip out all other names and leave only "Willie Nelson" in the Artist field. All other sorting and grouping options don't work for this issue... I've tied every combination. My opinion is that this is just a limitation at this time and there is no solution until future updates. I don't want a cheezy work-around either, that's very "unApple like". I assume it to be fixed in future updates.
    Bueller... Bueller?
    Anyone?

    There's a few other "goodies" I have found also but haven't had time to check out.
    If you have songs not in iTunes that you want to add to iTunes in a different format than the song is in...
    (This is carried over from at least 7.4)
    Set the Importing prefs to what you want the new file to be.
    Hold the Option key and go to menu Advanced and select *Convert selection to* AAC (or whatever is in the Import prefs}.
    This will add it to iTunes in the new format.
    Previously, you had to Import the file, change the prefs, go to Advanced - *Convert selection to*, convert the file, then delete the original from iTunes.
    This is new...
    In iTunes 8, go to to File - > *Show duplicates*. (moved from View menu).
    Now hold Option and go to to File and it now displays *Show exact duplicates*.
    Don't know what it means by *exact duplicate* though.

  • How to get the sorted Groups in Adminstration Portal

    after adding a Child Group to the parent Group the Child Groups are not sorted.So
    how to get the sorted list when any child group is added to a parent group.In
    which class we have to make the changes to get the sorted group.

    Hi  Manorama,
    1) If you have already created a portal system as mentioned in following blog
                  /people/marcel.salein/blog/2007/03/14/how-to-create-a-portal-system-for-using-it-in-visual-composer
    2) If not, then try to create the same. Do not forgot to give the Alias name .
    3) After creating a system, log on to the VC, Create one iView.
    4) Now Click on "Find Data" button from the list which you can view in right side to Visual composer screen.
    5) After clicking on "Find Data" button, it will ask for System. If you have created your system correctly and Alias name is given properly, then your mentioned Alias name is appeared in that list.
    6) Select your system Alias name and perform search.
    7) It will display all the BAPIs and RFCs in your systems.
    8) Select required BAPI and develop the VC application.
    Please let me know if you any further problems.
    Thanks,
    Prashant
    Do reward points for useful answers.

  • Group on a formula question

    Hi everyone!!
    What I have so far is: 
    NCM-Formula
    If isnull {Billing_Data22.NCM Name} Then False
    So I want to group on {@NCM-Formula}, and make sure that if {Billing_Data22.NCM Name} is a null value then no records show up on the report.
    Advice..?
    Thanks!

    Abhilash,
    I'm probably not describing this accurately.   I'm grouping on {Billing_Data22.NCM Name}.  This field has null values sometimes in the raw data in Access.  There are still records showing up for rows that do not have a value in {Billing_Data22.NCM Name}.  I'm trying to just show records when there are values for {Billing_Data22.NCM Name}.  So I'd like the report to only SELECT records when there is a value for {Billing_Data22.NCM Name}. 
    Thanks!!
    Rich

  • 'HASH GROUP BY' and 'SORT GROUP BY' 11.2.0.2

    deleting this thread..
    Edited by: OraDBA02 on Oct 3, 2012 2:35 PM

    select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE 11.2.0.2.0 Production
    TNS for Linux: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    Optimizer parameter
    NAME TYPE VALUE
    optimpeek_user_binds boolean FALSE
    filesystemio_options string setall
    object_cache_optimal_size integer 102400
    optimizer_capture_sql_plan_baselines boolean FALSE
    optimizer_dynamic_sampling integer 2
    optimizer_features_enable string 11.2.0.2
    optimizer_index_caching integer 0
    optimizer_index_cost_adj integer 100
    optimizer_mode string ALL_ROWS
    optimizer_secure_view_merging boolean TRUE
    optimizer_use_invisible_indexes boolean FALSE
    optimizer_use_pending_statistics boolean FALSE
    optimizer_use_sql_plan_baselines boolean FALSE
    db_file_multiblock_read_count integer 128
    optimizer_index_caching integer 0
    optimizer_index_cost_adj integer 100
    SQL
    SELECT sum(this_.AMOUNT) as y0_, count(this_.GC_ID) as y1_,count(distinct this_.GC_ID) as y2_, this_.GC_TRANSACTION_TYPE_ID as y3_
    from GC_TRANSACTIONS this_ where this_.MARKETPLACE_ID=:1 and this_.CUSTOMER_ID=:2 and this_.EXTERNAL_GC_TRANSACTION_ID=:3
    group by this_.GC_TRANSACTION_TYPE_ID;
    Indexes and Histograms
    INDEX_NAME LAST_ANALYZED COLUMN_NAME COLUMN_POSITION NUM_ROWS BLEVEL CLUSTERING_FACTOR DESCEND
    I_GCT_CUSMKTLSTUPD 17-jul-2012:00:15:09 CUSTOMER_ID 1 222812460 3 150983660 ASC
    MARKETPLACE_ID 2 3 150983660 ASC
    GC_TRANSACTION_TYPE_ID 3 3 150983660 ASC
    I_GCT_EXT_GC_TRANS_ID_EXE 17-jul-2012:00:17:35 EXTERNAL_GC_TRANSACTION_ID 1 234832560 3 165680180 ASC
    C_ID
    EXTERNAL_GC_EXECUTION_ID 2 3 165680180 ASC
    Histograms
    COLUMN_NAME NUM_DISTINCT NUM_NULLS LAST_ANALYZED SAMPLE_SIZE AVG_COL_LEN HISTOGRAM
    COLUMN_NAME NUM_DISTINCT NUM_NULLS LAST_ANALYZED SAMPLE_SIZE AVG_COL_LEN HISTOGRAM
    EXTERNAL_GC_EXECUTION_I 21657463 54047480 24.Jul.12/00:21:28 8788182 12 HEIGHT BALANCED
    D
    EXTERNAL_GC_TRANSACTION 20790576 0 24.Jul.12/00:21:28 11481216 18 HEIGHT BALANCED
    _ID
    CUSTOMER_ID 5130572 0 24.Jul.12/00:21:28 11483246 7 HEIGHT BALANCED
    MARKETPLACE_ID 6 0 24.Jul.12/00:21:28 11482295 4 FREQUENCY
    GC_TRANSACTION_TYPE_ID 21 0 24.Jul.12/00:21:28 11483039 3 FREQUENCY
    GC_TRANSACTION_ID 229686260 0 24.Jul.12/00:21:28 11484313 8 NONE
    Histograms distibution for MARKTEPLACE_ID
    Enter value for column_name: MARKETPLACE_ID
    COLUMN_NAME ENDPOINT_VALUE CUMMULATIVE_FREQUENCY FREQUENCY ENDPOINT_ACTUAL_VALU
    MARKETPLACE_ID 3 6543166 6543166
    MARKETPLACE_ID 4 11041781 4498615
    MARKETPLACE_ID 5 11459282 417501
    MARKETPLACE_ID 35691 11469536 10254
    MARKETPLACE_ID 44551 11475336 5800
    MARKETPLACE_ID 78931 11482295 6959
    6 rows selected.
    CBO switches between two plans
    plan-1
    Plan hash value: 2380563624
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | | | 13 (100)| |
    | 1 | HASH GROUP BY | | 1 | 42 | 13 (8)| 00:00:01 |
    | 2 | VIEW | VW_DAG_0 | 1 | 42 | 13 (8)| 00:00:01 |
    | 3 | HASH GROUP BY | | 1 | 43 | 13 (8)| 00:00:01 |
    |* 4 | TABLE ACCESS BY INDEX ROWID| GC_TRANSACTIONS | 1 | 43 | 12 (0)| 00:00:01 |
    |* 5 | INDEX RANGE SCAN | I_GCT_EXT_GC_TRANS_ID_EXEC_ID | 11 | | 4 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    4 - filter(("THIS_"."CUSTOMER_ID"=:2 AND "THIS_"."MARKETPLACE_ID"=:1))
    5 - access("THIS_"."EXTERNAL_GC_TRANSACTION_ID"=:3)
    Bind (child_curosr=1)
    select SQL_ID,CHILD_NUMBER,HASH_VALUE,NAME,DATATYPE,WAS_CAPTURED,LAST_CAPTURED,VALUE_STRING from V$SQL_BIND_CAPTURE where SQL_ID='&sql_id'
    order by LAST_CAPTURED;
    Enter value for sql_id: 1hc1r8qubfdnh
    1hc1r8qubfdnh 1 3031905936 :1 2 YES 24.Jul.12/00:52:29 3
    1hc1r8qubfdnh 1 3031905936 :2 2 YES 24.Jul.12/00:52:29 535098352
    1hc1r8qubfdnh 1 3031905936 :3 1 YES 24.Jul.12/00:52:29 203-2351701-6925919
    Plan-2
    Bind (child_curosr=6)
    Plan hash value: 700639342
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | | | 13 (100)| |
    | 1 | SORT GROUP BY | | 1 | 43 | 13 (8)| 00:00:01 |
    |* 2 | TABLE ACCESS BY INDEX ROWID| GC_TRANSACTIONS | 1 | 43 | 12 (0)| 00:00:01 |
    |* 3 | INDEX RANGE SCAN | I_GCT_EXT_GC_TRANS_ID_EXEC_ID | 11 | | 4 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    2 - filter(("THIS_"."CUSTOMER_ID"=:2 AND "THIS_"."MARKETPLACE_ID"=:1))
    3 - access("THIS_"."EXTERNAL_GC_TRANSACTION_ID"=:3)
    bind values
    select SQL_ID,CHILD_NUMBER,HASH_VALUE,NAME,DATATYPE,WAS_CAPTURED,LAST_CAPTURED,VALUE_STRING from V$SQL_BIND_CAPTURE where SQL_ID='&sql_id'
    order by LAST_CAPTURED;
    Enter value for sql_id: 1hc1r8qubfdnh
    1hc1r8qubfdnh 6 3031905936 :1 2 YES 24.Jul.12/03:06:04 5
    1hc1r8qubfdnh 6 3031905936 :2 2 YES 24.Jul.12/03:06:04 1278126152
    1hc1r8qubfdnh 6 3031905936 :3 1 YES 24.Jul.12/03:06:04 171-5012459-0045134
    Why is CBO using two different 'HASH GROUP BY' with view 'VW_DAG_0' in first plan ?
    Is that due to difference in MARKETPLACE_ID =4 And 5 ?

  • Hash GROUP BY And Sort GROUP BY

    Can anyone please explain how does Hash GROUP BY And Sort GROUP BY exactly work ?
    Thank you.

    As the name suggests, SORT GROUP BY achieves the same goal by sorting.According to Tom SORT GROUP BY doesn't always sort correctly .. tried to understand his explanation as he said "It always did a BINARY SORT - not a character set sort. So the data would be sorted incorrectly if you use anything but very simple ASCII strings..."
    can you give me an example where binary value of a string A is greater than string B while ascii value of string B is greater than string A ?
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:75397449124988
    Thank you

  • Sort-group in alv

    hi wat r the possible values tht can be passed for sort-group variable in alv report

    The only possible values for this field are.....
    *     Page feed    (incl. underline)
    UL     Underline
    This comes directly from the domain SLIS_CTRLS which is tied to this field.
    Regards,
    Rich Heilman
    Message was edited by:
            Rich Heilman

  • ALV sort/group disfunction ?!

    Hi there,
    I'm a bit helpless because of the sort/group function my ALV should do. Current situation is that I'm using an CL_GUI_ALV_GRID.
    CALL METHOD gr_config_alv_1_2->set_table_for_first_display
        EXPORTING
          is_layout                     = ls_layout
        CHANGING
          it_sort                       = sort_table
          it_outtab                     = config_1_2_table
          it_fieldcatalog               = cat_config_fieldcat_alv
        EXCEPTIONS
          invalid_parameter_combination = 1
          program_error                 = 2
          too_many_lines                = 3.
      IF sy-subrc <> 0.
        EXIT.
      ENDIF.
    So you can see that I'm using it_sort to tell the ALV how to sort the it_outtab. [Result looks like this|http://fabianvogt.com/alv_1.jpg].
    What the it_sort does is sorting the it_outtab ASCENDING for the coloum "GRP" (display-name: "Bezugstyp"). So far so good...But I know that CL_GUI_ALV_GRID normally does some kind of grouping by merging cells with the same content. [This would look like that|http://fabianvogt.com/alv_2.jpg].
    In my case it does not work and I don't have any idea why. I searched the CLASS for a hint or maybe an attribute which has to be filled/flagged to do this kind of grouping.
    Looking forword to your help!

    Hi everyone!
    I've checked BCALV_TEST_GRID. Basically they do it the same way I'm trying. I found out that I have the possibility to set ls_layout-no_merging to control, whether cells with the same content are merged or not. By default no_merging is set SPACE, so the cells should be merged - NOT in my case.
    Even if I set no_merging  =  '  ' (SPACE) manually, the merging won't be done.
    Running out ouf ideas ...
    NEWS:
    I did some kind of a workaround, in my opinion even a nicer way to realize my purpose. So take a look at what I did right now:
    (take a look at the screenshots in my previous posts for your better understanding)
    - The old 'GRP' field (old content: 'B',' K', 'M') is now filled with 'Belegbezug', 'Kundenbezug', 'Materialbezug' and is set NO_OUT (fieldcatalogue).
    - I insterted a field called 'CNT' type I, which i use to create Totals/Subtotals.
    - NO_TOTLINE  = 'X' (Layout) --> total line is not shown; only subtotals
    - TOTALS_BEF (Layout) --> subtotals are placed on top
    [So this is what I got now|http://fabianvogt.com/alv3.jpg]. Much better than before!!!
    My only problem is now, that the 'CNT' coloum looks pretty ugly and has no function except doing the sum thing.
    I tried to make it invisible using the fieldcatalogue (NO_OUT / TECH), but then the total lines disappear :/
    Any suggestions?
    Edited by: Fabian Vogt on Oct 4, 2010 4:35 PM

  • TableSorter - Sorting grouped columns

    Hi,
    I am implementing a web dnypro application on NWDS 7.1.
    Is it possible to sort a grouped column with the TableSorter.java class?
    As mentioned in the below document, it should be possible.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30291df2-b980-2a10-0884-839c4f7f147e
    I can sort single columns, but sorting grouped columns is not possible.
    Any idea about this?
    Thanks,
    Regards,
    Yasar

    Hi,
    Please go through
    Enhanced Web Dynpro Java TableSorter
    Enhanced Web Dynpro Java TableSorter for SAP NetWeaver 04s
    Regards
    Ayyapparaj

  • How to do a TopN Sort based on a formula

    Hi all,
    My report has two groups, Store and Department.  In the details section are multiple jobs per store with costs. These are subtotalled by Store and Department.  I want to compare total spend for each store with the store budget and produce a list of the Top 10 stores based on the percentage actual spend/budget. 
    My problem is I can only do a Top 10 sort on a summary field and I cannot summarise the percentage field as this is a formula which doesn't seem to allow summaries.
    Any help much appreciated.
    Cheers,
    JD

    Jan,
    Here are a couple of options.
    1) Do the calcuations on the database (thru either a stored proc or command object).
    2) Insert a crosstab where the rows are based on the Store and the summarized field is based on the formula that outputs the percentage of the actual vs budget as a Maximum. You can then do a TopN sort on the crosstab
    Edited by: Graham Cunningham on Oct 10, 2008 8:27 AM

  • Windows 8 libraries don't sort/group by metadata (like Windows 7 could)

    One of the great things about the Windows 7 libraries was the way they let you group and sort the stuff in them. For example, in the music library you could sort by artist, and it would group them by albums (see attached).
    By contrast, the Windows 8 libraries (at least on my computer - if I'm doing something wrong let me know...) are completely crippled. In particular:
    files that are stored in subdirectories are only ever shown by folder - the libraries view will not sort these by any metadata (such as date, album, artist, author, ...); and
    even files that are in one of the root directories indexed by the library will not be sorted and grouped as usefully as in the Windows 7 libraries. You get to choose one thing to group by, and one thing to sort by. And every view shows every song - no nice
    collecting into albums or dates as in the Windows 7 view.
    (see attached - in this picture the 8 files listed are in C:\Users\[me]\Music, while the remaining files are in subfolders).
    Is there any way to make Windows 8 libraries work like Windows 7's?
    (In the case of music, I note that the Xbox Music Metro app has no difficulty sorting the library in various ways (although, from memory, it didn't work when it was originally released) - but the photos app doesn't and I'm not sure about videos).
    (As a subscript, I note that the screenshots in this thread seem to suggest that Windows 8 at least once had the same functionality as Windows
    7, albeit that there is no cover art shown in that pic. So it's entirely possible that it's something I'm doing wrong (but I have no idea what...).
    Any ideas?

    Hi,
    Based on my test, we can use the following setting to sort by artist.
    If you cannot see the option, please restore the Default Libraries to check the result.
    1.Open an Explorer window.
    2.In the Navigation Pane, right click on Libraries, and click on Restore Default Libraries.
    Regards,
    Kelvin Xu
    TechNet Community Support

  • Is it possible to sort / group movies by video quality?

    I'd like to sort or group my movies by video quality.  I am not sure if it's possible in iTunes -- if it is, I certainly can't figure it out.
    I can certainly see the info when I click "Get Info" on individual films, but I don't see a way to sort or create a smart playlist with such info.
    Can I do this, or is it just a dream?
    (I'm on iTunes 11.  Up-to-date.)

    Thanks for the info.  I'm specifically interested in splitting 1080 and 720 HD movies, so I'm probably better off just creating non-smart playlists and dropping the movies in each accordingly, as it probably requires as many steps as editing the tags for each film.

  • Grouping with A formula issue

    I am grouping on a date that was calculated using the following formula :
    local stringvar d:= {TAGDTL.USER_DEF_TEXT_1}; //or database field
    numbervar y:= tonumber ( '20' & d[5 to 6]);
    numbervar m:= tonumber ( d[1 to 2] );
    numbervar dd:= tonumber ( d[3to 4] );
    date( y, m, dd)
    The date displays fine, however when I group on it, it appears that it ignores the date completely.
    The data in the detail shows up
    10/14/2008
    10/15/2008
    10/16/2008 etc
    however the group shows up with a completly different date.
    Group = 10/12/2008
    detail = 10/14/2008
    detail = 10/15/2008 etc....
    any ideas? Suggestions? help?
    Thanks,
    Jim

    Sorry guys, still get the same results...... I have tried the formula
    Whilereadingrecords;
    numbervar y:= tonumber("20" & Mid ({TAGDTL.USER_DEF_TEXT_1},5,2)); numbervar m:= tonumber(Mid ({TAGDTL.USER_DEF_TEXT_1},1,2)); numbervar dd:= tonumber(Mid ({TAGDTL.USER_DEF_TEXT_1},3,2));
    cdate( y, m, dd);
    and still get the same results...
    this is all done in a formula correct?
    Edited by: James Fulton on Oct 20, 2008 7:06 PM

  • Sort Group Based on Running Total

    Is there a way to sort the group based on the running total of the group?
    Thanks!
    Deanna

    I think it is not possible to sort the group based on a running total. You can sort based on a summary field using group sort expert. Since the running total executes whileprintingrecords we cannot sort based on running totals.
    Regards,
    Raghavendra

Maybe you are looking for

  • How to fix an iPad touch screen?

    My iPad touch screen is writing alone and opening many task at the same time.

  • Inserting SIM card into iPAD

    For the third time of asking, and thank you to those who have responded so far. HOW DO YOU INSERT THE SIM CARD? I know about the pinhole into which one sticks a paper clip or suchlike and the sim cradle is supposed to slide out. BUT NOTHING HAPPENS A

  • Problems wit creating a new database on solaris wit dbca ORA 09925/ORA-1031

    Hi Oracle users, I'm using Oracle 10gR2 on Solaris and try to create a new database instance. I'm using dbca for that task. After making all the settings I get the error ORA-09925 and then ORA-1031. For the second error I found the advice to run te r

  • Changing the direction of path

    1.  Create patch or object 2.  Add art brush 3.  Changing the direction of path ON or OFF

  • Missing table creation options in OEM10g

    (1) Log in to OEM10G dbsonsole as system. (2) Navigate to Administration then Tables. (3) Click create to create a new table. The OEM10G docs say there are four choices: Standard IOT Clustered External But only standard and IOT are listed. Is OEM10g