How to exclude one or more rows of SQL report from sorting?

In my SQL report I want to exclude one row from sorting. This row must be permanently at the bottom of the report.
How to achieve this?
Regards,
Al

Hi Al,
Check out this thread: Sort within Break? I was looking to preserve a basic sort for break purposes, but the same solution should work for keeping one row at the bottom.
Let me know if you'd like more details.
--Jennifer                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • How to exclude one or more than one member on report?

    Post Author: izhar
    CA Forum: WebIntelligence Reporting
    Hi all group members, I am working on BOXI R2. I have to ask that, How to exclude one or more than one member from the report. I know there is function of filter, through which we can see our desired members and other remaining will be excluded, but that's filter. In some of tools i have seen just do right click on a specific member and click on "Exclude" option to exclude the member. Suppose i have placed a Time dimension on the report and standing on "Month Level" which has data from 1, 2, ... 7,8, ... 11, 12 Now i just have to exclude member 7 from the report. Can any member guide me here. Regards, Izhar

    Post Author: jsanzone
    CA Forum: WebIntelligence Reporting
    Izhar,
    If you run the report in "modify" mode, then you have two options
    1) You can click on the "Show/Hide Filter Pane" button which opens up the "apply filter" pane.  From there you go to your Data panel and grab, drag, and drop an item from the Data panel into the apply filter pane and provide a constant or select a value to filter in or out from your report.
    2) You can highlight the column of data that you want to filter on, then click on the "Add Quick Filter" button.  Using the List of Values menu you either select one or multiple items that you want to include in the report.

  • Issue on deployment: Solution Deployment : Missing one or more of the following attributes from the root node in solution .wsp: assembly '', type ''

    Hi,
    I have the following issue when deploying:
    Solution Deployment : Missing one or more of the following attributes from the root node in solution .wsp: assembly '', type ''
    The solution is a farm solution (was never sandbox) and it deploys fine.
    It was updated several times with success. We did not see this issue until recently when we had some other issue (unrelated) and looked at the logs. The solution is updated without problem and updates are available for the user. But we can see this error
    in the logs at the update time. 
    Any idea what might cause this?
    Pop Anisia

    Hi,
    This error is wide meaning, as it can come from differences between SP versions, variables types used, bad manifest file, WebConfiguration ...
    You can try to redeploy the solution.
    retracted the solution,removed all the previous ref, removed dll from GAC and folder from 14\features and reset the iis, deploying it again.
    Here are some similar issue post, you can use as a reference:
    https://social.technet.microsoft.com/Forums/office/en-US/72ac9a02-3a51-48b8-9e36-3b24a2d4da74/missing-one-or-more-of-the-following-attributes-from-the-root-node-in-solution-alertbdcwsp?forum=sharepointgeneralprevious
    https://social.technet.microsoft.com/Forums/office/en-US/331af288-5ba6-48a7-9e9d-ac4e4bc8f8fa/missing-one-or-more-of-the-following-attributes-from-the-root-node-in-solution-xxxwsp-assembly-?forum=sharepointdevelopmentprevious
    In additional, you can check the ULS log (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS) to get the detailed information.
    I hope this helpful.
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • I want to fill the rows of the report from the loop

    I want to fill the rows of the report from the loop
    For example, in forms
    cursor bdl is select code,decode(:global.user_lang,1,name,2,latin_name) name
    from GL_ANALYSISHDR
    begin
         go_block('bdls');
         clear_block;
         first_record;
         for rec in bdl loop
         :bdls.code:=rec.code;
         :bdls.name:=rec.name;
         next_record;
         end loop;
         go_block('bdls');
         first_record;
    end;
    I tried to use the REF CURSOR
    But it return the values in one time and does not allow me to conduct and control of

    Why do you need to do it by a curesor loop? Can't you put the query in the datamodel of the report and simply pass the parameter to restrict the query?

  • How to connect to External Database, if say SQL server, from Adobe LC

    Hi everyone,
    I have one application, which needs to save and load data from/to an external database,SQL server.I have no idea on how to implement this.But with my knowledge I managed to create DSs and using new data connection wizard, some how I managed to list the fields in the Data View.BUT i still worrying about the way i did is rigt or wrong?.. how can i save and load data to sql server from Adobe LC..Please help me
    Thanks,
    Vinod

    You created the data source on the app server which is the first step. Now you can use the JDBC service to query the database:
    http://livedocs.adobe.com/livecycle/8.2/wb_help/000632.html
    scott

  • Display one or more rows for a particular column in alv grid display

    Hi,
    My requirement in the report is to display users for a particular workitem id.If a workitem is in the inbox of one or more users(approvers) i have to display all the user names in one field in alv grid output (output-approver id).There are other fields which display details of the workitem also.
    Is there a way to populate multiple rows for a single column or creating one more internal table for users in the alv output table.
    Please suggest.
    regards,
    Sravanthi Chilal

    ALV only can show flat internal table data.
    you should set a sort on the field which you want to show only once.
    Then on the output of the ALV, the field with the same value will show only once.

  • How to print one (or more) page only from multipages report?

    Citations from Report Builder Help:
    To print a report from the Runtime Previewer:
    1. In the Runtime Previewer, click <Page Setup> in the toolbar to verify your printer setup.
    2. Click <Print> in the toolbar.
    3. In the dialog box, type the number of pages and copies you want to print.
    If you ran the report with a DESTYPE of Screen, a warning appears that you should run the report with a DESTYPE of Preview before printing. Preview creates PostScript output, which is typically more desirable for printing bit-mapped reports.
    4. Click OK.
    When I click <Print>, the dialog box is not dispaying and all report pages are sending to printer.

    Hi Al,
    Check out this thread: Sort within Break? I was looking to preserve a basic sort for break purposes, but the same solution should work for keeping one row at the bottom.
    Let me know if you'd like more details.
    --Jennifer                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to fix: "One or more of your USB device drawing too much power..."

    Plugged my iPhone to do my usual download of photos off my phone into my iPhoto library so that I can edit them and post on eBay and Etsy.  Suddenly, I'm getting the error message: 
    "Because a USB device was drawing too much power from your computer, one or more of your USB devices have been disabled."
    I'm surmising that it's because my USB cord (connected from my iPhone to MacBook Pro) might be damaged.  It's not charging correctly.  Keeps going on and off when plugged into wall or computer.
    So, will buying a new cord this solve the issue?  I have to get one anyway so I guess I'll find out!
    Meanwhile, for tonight I'll have to do just email the photos to myself.  Ugh.

    It should fix it.  I would unplug all of your other USB devices from the computer and see if it continues with that error.  If so, then certainly replace that cord (do it anyway since its having issues even in the wall)

  • Both Facts billing and Register billing, how to exclude one of them

    Hi,
    I have an installation with two different Rate determination, one through register and the other one through facts.
    Is there any way (Customizing, user-exit, enhancements, BAdI or anything else) to configure the Billing process in order to exclude one of them at time of the billing run?
    e.g. I want my Billing document to contain only lines whose rate is derived from facts, and the register rate should be ignored so that the corresponding lines are not created (even because there are no meter reads for the billing order which makes it implausible).
    Thanks,
    John

    Hi,
    if your billing rules are depended on rates (register or installation facts), you can create simple rate steps:
    Rate nr. 1 - register - you will write some factor into output operand (for example FACTOR = 1)
    Rate nr. 2 - installation facts - you will check the output operand from rate nr. 1
    If the condition is fulfilled then you execute rate steps in rate nr. 2 if not then you skip all rate steps.
    (for example:
    IF FACTOR = 1
    ....some billing rules.....
    ELSE
    (DO NOTHING)
    ENDIF
    This is possible to make also in separate rate (for example rate nr. 3).
    Simple solution.
    Vlado

  • How to combine multiple Details section rows in my report

    Hello,
    I am currently creating a report which will display employee details, which includes first name, last name, home phone, cell phone and Email.
    I get my First Name and Last name from the "Employees" table but all other info is situated in the "CommunicationLinks" table.
    The tricky part which I am having issues with is the Home Phone, Cell Phone and Email are all under the same field in this table, the field is called "DisplayAs".
    These 2 tables are linked together by taking Employees.LinkID and linking it to CommunicationLinks.LinkIDParent, which are matching linkids.
    The only issue that I have, is for example, if you look at the screenshot provided, I have 5 details section that gets populated for the same employee.
    How can I combine all these 5 records to only one?
    The homephone, cellphone and email field have formulas created for them, the formula is as follow.
    This example below is for the HomePhone field, the others have different type assigned to them
    If {CommunicationLinks.Type} =1 then
    {CommunicationLinks.DisplayAs}
    else ""
    Homephone, Cellphone and Email are all different types but uses the same field "DisplayAs".
    I also tried creating a subreport for each of these fields but seems to give me the same results.
    Any help would be really appreciated.
    If you have any other questions please let me know. See attached screenshots for reference.
    Thank you in advanced.
    Jocelyn

    Easier way without working in SQL:
    1.  Group by a field that is unique to the employee.
    2.  Suppress the employee group header and the details sections.
    3.  Create a couple of formulas:
    {@ClearVariables}
    WhilePrintingRecords;
    StringVar HomePhone := "";
    StringVar CellPhone :="";
    StringVar Email := "";
    Put this formula in the employee group header - even though the section is suppressed, it will evaluate.
    {@SetVariables}
    WhilePrintingRecords;
    StringVar HomePhone;
    StringVar CellPhone;
    StringVar Email;
    if {CommunicationLinks.Type} =1 then
      HomePhone := {CommunicationLinks.DisplayAs};
    else if {CommunicationLinks.Type} = <type for cell> then
      CellPhone := {CommunicationLinks.DisplayAs};
    else if {CommunicationLinks.Type} = <type for email> then
      Email := "";
    Put this formula in the details section - it will evaluate even though the section is suppressed.
    {@HomePhone}
    WhilePrintingRecords;
    StringVar HomePhone
    (Do the same for Cell Phone and Email.  Note that there is no semi-colon at the end of this one!)
    Put these formulas and all of the rest of the employee data in one or more Employee group footer sections.
    -Dell

  • How to insert a set of rows at a time from another table

    Hello!
    I have a table1 and table 2 - i want to insert a set of rows at a time from table1 to table 2. Then do a COMMIT. Then continue inserting another set of rows and so on.... say i want to insert into table 2 i million records at a time and then do a commit. then continue with the next 1 million and do a commit and so on..until there are no more records in table 1
    Any ideas please!!!!!!!!!!

    may be this will help
    declare
    cursor c1
    select * from table1
    i_counter binary_integer := 1;
    begin
    for c1_rec in c1
    insert into table2
    values(c1_rec.,..);
    if i_counter = 1000? then
    commit;
    i_counter = 1;
    end if;
    i_counter := i_counter+1;
    end loop
    end;

  • How to get rank within the row in SQL

    I have an a key orderid and 4 other columns with orderdate&time in (16/12/2011 16:15:24 format) within a table.
    the orderid has an average of 1million rows every week hence could not do this in excel for a 15 day period .
    ORderid.........: mail........................................ : telephone ............................:online ........................................ store.......................... Agency
    A3456...........15/12/2011 16:15:24 ............... 16/12/2011 14:12:01.............16/12/2011 16:14:00..........17/12/2011 11:22:55 ............12/12/2011 22:20:30
    B678
    C555
    i want to create a new table which ranks each row according to the max orderdate and time say in another table
    i want to capture the rank
    KEY.......Mail............Tel............online.........store..........Agency
    A3456.....4 ...............3...............2...............1............... 5
    Is there any way either within the same table or in other table i wiould be able to get the rank based on the rows in SQL.
    thnks
    Edited by: UOOLK on 29-Dec-2011 06:46

    Something like this I think:
    create new_order_table as
      select order_id
            ,rank() over (order by mail desc) mail
            ,rank() over (order by telephone desc) telephone
            ,rank() over (order by online desc) online
            ,rank() over (order by store desc) store
            ,rank() over (order by agency desc) agency
        from old_order_table;Assuming you want the most recent date to be ranked number 1. If you want number 1 to be the oldest then remove all the 'desc's from the order by clauses.

  • How to store data into database by reading sql statements from text file

    how to write java program for storing data into database by reading sql statements from text file

    Step 1: Create a property file to add various queries.
    Step 2: Read the properties file using ResourceBundle
    Step 3: Use the jdbc to execute the query read from the property file.
    So in future if you need to change query no need do any modifications in java program. But depends on how you use the property file.

  • How to create 2 print buttons on a sql report ?

    hello,
    i work on apex 4 and database 11GR2, i configure bipublisher for advanced printing.
    On a sql report i want to have an excel Button and a Pdf button with redirect URL.
    I don't know how to specify in the URL the format output.
    I see in the help
    "use the output format derived from item option and include the item name and value in your Print URL."
    but i look for an example of URL.
    Best regards
    Jean marc

    So, you have to specify a hidden item which contains the value, then specify in print attributes the item name (mine is P5000_TYPE)
    Then you would have button redirect URLs of:
    javascript:redirect('f?p=&APP_ID.:&APP_PAGE_ID.:&SESSION.:FLOW_XMLP_OUTPUT_R1483125430108678:::P5000_TYPE:PDF') ;and
    javascript:redirect('f?p=&APP_ID.:&APP_PAGE_ID.:&SESSION.:FLOW_XMLP_OUTPUT_R1483125430108678:::P5000_TYPE:XLS')
    to print in pdf and xls respectively.
    Ta,
    Trent
    Edited by: trent on Dec 10, 2010 11:29 PM

  • Loop Through Rows in SQL Report.

    Hello Everyone,
    I've been creating a very different application, and I've run into quite the roadblock.
    Let me give you a breif about the problem.
    I have a form that needs to be dynamic and thus is created at runtime.
    I have used the APEX_ITEM and a SQL SELECT CASE to create a dynamic report.
    For example if the DATATYPE column in my table says DATE, I create an APEX_ITEM.DATE_POPUP, if it says CHAR i create a textbox, and if a column called
    LOV is populated APEX_ITEM.SELECT_LIST_FROM_QUERY using the number value of the LOV to query a List of Values from another table.
    Now this brings me to say in a single column of the there could be different data_types. meaning the multi-row update functionality with apex will not work.
    Getting the data to display is easy. However saving the updates is a different story.
    Which brings me to my question. Does anybody know of way in which you can loop through each row in a SQL Report on APEX and assess each row individually.
    I'd like to accomplish something like this
    LOOP
    MyUpdateProcedure(currentrow_id,currentrow_datatype, currentrow_value)
    Go to Next Row in Report
    END LOOP;
    Pretty simple in theory? Do we have an APEX expert out there who could give me a hand with this?

    Codes,
    It sounds to me like you could add a hidden field to tell you what you need to know in order to determine the column to update.
    Assuming it was created using the parameter p_idx = 50 and contained the names you provided (eg DATA_DATA) and your primary key is created using p_idx = 1 then you could add the logic for the update into an on submit process something like so
    FOR i IN 1 .. apex_application.g_f01.COUNT
    LOOP
    CASE apex_application.g_f50(i)
    WHEN 'DATA_DATA' THEN
    -- run the update against the data column
    WHEN 'CHAR_DATA' THEN
    -- run the update against the char column
    etc.
    If the multi-type column is created with the apex_item api using p_idx = 2 then you just refer to it in the loop as apex_application.g_f02(i) and the primary key is apex_application.g_f01(i).
    I hope this helps.
    Greg

Maybe you are looking for