Tricky Report

Hi,
I've got a tricky reporting problem that I'm trying to work through.  We have a monitoring database that I pull from to create a report.  I have the report setup to show errors grouped by day in the week, then by an office.  The problem however is that for each office, there are a number of monitors that show error durring a network outage, so the report shows multiple errors for one outage. Ideally we would only show one error durring the outage.
As this report adds total downtime for a certain period, I don't want to count multiple nodes if they are related to the same outage. The database has a field which indicates a parent node. Somehow I need to test each record, to see if it's parent id was also in error during the same time period. If the parent was in error during the same time period then I need to supress that record. If the parent wasn't in error in the same time period then I need to show the record.
I haven't come up with a good way to do this. I have found some functions previous & next which allow to check against the previous and next records....however the parent may be several records a away.  The only solution that I can think of is to use an array. Somehow I need to create an array of all of the records, then for each record compare and see if the parent_id is also in error. This is where I'm having problem.
So the real question.....
Does anyone know how I can use a while loop, to loop through the records in the report so that I can load an array? Or if anyone else has a differen't idea to a solution with the problem that would be great also.
thanks,
Rody

I'm a little dismayed that the activity level appears to be a bit dead. I have tried to answer other questions posted in this forum, (if I didn't answer it's because i have no clue on how to help.)
Anyways if you have idea's for the above situation please respond.
thanks

Similar Messages

  • Self Joining and Inline Query. A tricky report.

    I am stuck with a very tricky situation.Please help.This is PROD issue.
    I have written a SQL code which has 1 inline queries,and displays the right results
    with the right report output
    Dont get confused.Just go thru this.
    select   pie.id_inst_code,
             ISNULL(PN.Active, 0)                 'Active',
    from position_master_input_event pie,
    (select  insx.id_inst_xref_type,insx.id_inst_xref,count(*) 'PrimaryListing'
    from instrument ins, instrument_xref insx
    where ins.id_inst = insx.id_inst
    and   insx.flg_active = 'Y'
    and   ins.flg_active  = 'Y'
    group by insx.id_inst_xref_type,insx.id_inst_xref
    )PN
    where     id_entity = 'AGL'
    and       pie.id_inst_code *= PN.id_inst_xref
    and       pie.id_src_inst_code_type*= PN.id_inst_xref_type
    group by  pie.id_inst_code,PN.Active,
    Table :Instrument_xref
    id_inst      id_inst_xref_type    id_inst_xref  flg_active
    0372285      SE                   B0DV8Y9       Y
    0372285      IS                   GB00B03MLX29  Y
    Table :Instrument
    id_inst      id_inst_xref_type    id_inst_xref  flg_active  flg_primary_listing
    0372285      SE                   B0DV8Y9       Y           N 
    OUTPUT:
    id_inst_xref                      Active
    B0DV8Y9                           1
    PERFECT.Works fine
    2) Now comes the tricky part.:
        0372285 also has GB00B03MLX29 which has flg_active to Y and which also maps to 0372285.
        Am I right?
        New reportOutput
        id_inst_xref                      Active   PRIMARY ISIN
        B0DV8Y9                           1        1
        So,now I want a SELF JOIN this way built into the code:
        (hardcoded values work)
        (i)
        select  a.id_inst_xref
        from instrument_xref a,
             instrument_xref b
        where b.id_inst_xref ='B0DV8Y9'
        and   b.id_inst = a.id_inst
        and   b.id_inst_xref_type in ('SE','IS')
        and   a.id_inst_xref =  'GB00B03MLX29'
        (ii)
         select count(*) 'PrimaryISIN'
         from instrument ins,
             instrument_xref insx
         where ins.id_inst = insx.id_inst
         and   insx.flg_active = 'Y'
         and   ins.flg_primary_listing = 'Y'
         and   ins.flg_active = 'Y'
         And now LINKING ALL :
        select   pie.id_inst_code,
             ISNULL(PN.Active, 0)                 'Active',
        from position_master_input_event pie,
        (select  insx.id_inst_xref_type,insx.id_inst_xref,count(*) 'PrimaryListing'
         from instrument ins, instrument_xref insx
         where ins.id_inst = insx.id_inst
         and   insx.flg_active = 'Y'
         and   ins.flg_active  = 'Y'
         group by insx.id_inst_xref_type,insx.id_inst_xref
        )PN,
        (select count(*) 'PrimaryISIN'
         from instrument ins,
             instrument_xref insx
         where ins.id_inst = insx.id_inst
         and   insx.flg_active = 'Y'
         and   ins.flg_primary_listing = 'Y'
         and   ins.flg_active = 'Y'
          and     insx.id_inst_xref = ( 
                                           select  DISTINCT  a.id_inst_xref
                                            from    instrument_xref a,
                                            instrument_xref  b
                                      where b.id_inst_xref = 'B0DV8Y9'
                                          and     b.id_inst = a.id_inst
                                          and     b.id_inst_xref_type in ('SE','IS')
                                       and    a.id_inst_xref =  'GB00B03MLX29'
        where     id_entity = 'AGL'
        and       pie.id_inst_code *= PN.id_inst_xref
        and       pie.id_src_inst_code_type*= PN.id_inst_xref_type
        group by  pie.id_inst_code,PN.Active,
        THE Self join works fine as long as it is hardcoded.
        But assume there can br multiple such situations as the above,and I dont want to
        hardcode the values,how can I build the NEW REPORT by SELF JOINING.
        Please can someome help.This is a tricky one.
        Is there a better way to this

    Isn't this the same question as:
    Passing values dynamically Froman 'INLINE Query' to a 'SUB QUERY'
    and
    Another query regarding Inline Query and Self Join and pass Column Values

  • Tricky Report for Sub totalling. Please See

    Hi,
    First of all this is a repeated question and I thank
    all of you (cartena,petpandian,FS and the lot) who have
    sent in replies.
    I need to create a report in 9i
    This is the table data :
    TRANS_ID   ACC_ID DEL        CCY        AMT TRADE_DAT LENDER
    LEL0002045 SLEND  RECEIVE    GBP       1200 02-AUG-05 LENDERA
    LEL0002053 SLEND  DELIVER    GBP       1000 02-AUG-05 LENDERA
    LEL0002003 SLEND  DELIVER    KRN       1000 11-AUG-05 LENDERA
    LEL0002001 SLEND  DELIVER    GBP       1000 08-AUG-05 LENDERA
    LEL0002002 SLEND  DELIVER    USD       1000 09-AUG-05 LENDERAThis is the Report Format I want :
    TRANS_ID   ACC_ID DEL        CCY        AMT TRADE_DAT LENDER
    LENDERA
    LEL0002045 SLEND  RECEIVE    GBP       1200 02-AUG-05
    LEL0002053 SLEND  DELIVER    GBP       1000 02-AUG-05
    LEL0002003 SLEND  DELIVER    KRN       1000 11-AUG-05
    LEL0002001 SLEND  DELIVER    GBP       1000 08-AUG-05
    LEL0002002 SLEND  DELIVER    USD       1000 09-AUG-05
                      RECEIVE    GBP       1200
                      DELIVER    GBP       2000        
                      DELIVER    USD       1000
                      DELIVER    KRN       1000You can get multiple CCY with 'RECEIVE' or 'DELIVER' for a particular
    lender
    There can be a CCY with 'YEN' for LENDERA with DEL as 'DELIVER'
    I have used layout style 'GROUP LEFT' while creating the report (thru Report wizard)
    In group fields, I specified
    LENDER as (Level -1)
    DEL as (Level -2)
    CCY as (Level -3)
    And in Sum fields
    Give sum(Amt).
    The SQL Query I am using in the SQL is
    SELECT trans_id, acc_id, del,ccy,amt,trade_date,lender,
           decode(DEL,'RECEIVE', AMT,0) as REC_AMT,
           decode(DEL,'DELIVER', AMT,0) as DEL_AMT
    from TableAThe output comes this way using GROUP LEFT layout:
    LENDERA    RECEIVE       GBP    LEL0002045      1200
                                    Total           1200
               DELIVER       GBP    LEL0002053      1000
                                    LEL0002001      1000
                                    Total           2000
               .... Can anyone suggest a better altenative? Thanks a lot

    I have got the SQL running if I run this from the SQL prompt and it gives me the correct result (Thanks a lot cartena for the grouping SQL)
    But now, if I run this same SQL in report wizard, the output is not correct
    If I run this in SQL :
      Select lender,
                trans_id,
                del,
               ccy,
               sum(amt) as amt from TestReport
       group by grouping sets ((lender, trans_id, del, ccy),(lender, del, ccy))
       order by
       lender, trans_id, del, ccy
       Output:
    LENDER                                   del             ccy                     AMT
    LENDERA                        LE     RECEIVE   GBP             1000
    LENDERA                        LE     RECEIVE   GBP             1000
    LENDERA                        LE     RECEIVE   KRN             1000
    LENDERA                        LE     RECEIVE   GBP             1200
    LENDERA                        LE     DELIVER   USD             1000
    LENDERA                                DELIVER    USD             1000
    LENDERA                                RECEIVE   GBP             3200
    LENDERA                                RECEIVE   KRN             1000
    LENDERB                                RECEIVE    KRN            1000
    LENDERB                                RECEIVE   KRN             1000But which layout wizard should I use in REPORT ?
    Group Above or Group Left?

  • Tricky Reports Stuff...

    I'm having a technical issue with Reports. We run Forms 6.0 (not i) and Reports 6, and we are trying to dynamically insert conditional statements into the report. Conditional statements will be stored in a DB table. The client has mandated the conditional statements will contain verying type styles and properties of text (some bold, some underline, some italics, some different type face).
    Report looks something like this:
    Statement 1. blah blah blah blah
    blah blah blah.
    Conditions:
    1. You MUST (in bold) NOT (Bold and Underline) operate during the day.
    2. At no time can ANYONE (Bold) blah blah blah.
    Depending on some criteria, the conditions may not need to be inserted into the report. There may be one or more conditions (or no conditions at all).
    We tried building the report and condition statements in RTF, however RTF doesn't seem to restore from the DB and insert into the report and retain its formatting. I was told to use OLD (install Word), but there has to be a cleaner way to provide the functionality. Next to try is HTML and saving the condition statements as an HTML string. Are there any tricks to storing HTML in a DB table, or inserting HTML into a report?
    Report output format doesn't matter as no matter what it is, we will be converting it to PDF.
    Any help would be greatly appreciated.
    null

    Hi,
    I have two Western Digital external HDs with nearly exactly these specs.
    Partitioned them with GUID partition scheme and have Partition 1 as bootable OSX clone and partition 2 with FAT32 for file storage/sharing between OSX and Windows.
    So, what you want is what I have/use right now.
    Regards
    Stefan

  • Creating a "bunched" report (intercompany)

    Hi Gurus,
    I have a tricky report requirement that can be achieved using multiple reports but that is not ideal and will make it difficult to maintain.
    The report is an intercompany report with Entity, Interco member and Account in the rows.  The report needs to have Entity on the outside with each intercompany partner listed and then a subtotal for each intercompany member and then each entity member.  Within each intercompany member, a "group" of accounts needs to be shown (intercompany account groups).  Finally, a subtotal for the total of an account group needs to be shown beneath all the entities and intercompany, then this is repeated for a new account group, as follows:
    Is this possible with one report?  I'm open to using VBA or any other tricks to turn this into one report.  The current problem is that the Entity and intercompany need sorting, but if they are sorted then the accounts will not be bunched together as shown above.
    Appreciate any help or advice on this.
    Best,
    Chris

    Moderator message: you said your  issue is solved but did not mark your discussion as such, please see
    How to close a discussion and why

  • Issue with Standard report RPLICO10

    If the standard report RPLICO10 is copied to to a Custom Program.
    Because this program uses LDB, we are not able to print multiple records for a single PERNR on the ALV Report.
    Jus wanted to confirm can we try to print multiple records for single PERNR?
    ( Eg : 0006 infotype has subtype 1 and subtype 2 records )
    I tried to change the code for such infotypes ( Multiple subtype records ), the program is dumping.
    Can someone suggegst a solution for this.
    Regards,
    Srujan

    Hi,
    RPLICO10 is a tricky report but by far one of the best report fo someone who want to take a look into Dynamic Programming in HR.
    For handling such type you have to add them as separaate entities in FIELD SELECTION tab and then write the code for them accordingly in the report, create field catalog for them also.
    If you want to go like any other standard one it will require a complete change in the report logic and also reduce the performance of the report.
    Regards,
    Amit
    Reward all helpful replies.

  • Reg: Please share... [OFF TOPIC]

    Hi Experts/Gurus,
    Please share any of the toughest challenge(s) you faced in your long (Oracle) career.
    Like some time back I saw a discussion between some biggies (Guru & ACEs) regarding the Y2K problem. They said about the server room, New year eve and the problems they faced. It was really nice and great inspiration for new folks like me. :-)
    I know this is going very off-track, but just for a break.
    This 'll also surely act as an inspiration for juniors like us. We would love to hear some interesting/tricky/innovative problems from your experiences.
    Looking for an active participation. Frank, could please start this. ;-)
    Thanks!!
    Ranit B.

    I'm sure most, if not all of us herethat have been around for a while, would have lots of war stories about someone or something blowing up the database and the trials and tribulations of getting it put back together properly. Many of us would also have lots of stories about that really tricky report/ETL job and all of the tricks we used to get it to work correctly and fast enough. However, for me the biggest challenges I face regularly have to do with the types of things that come up on this forum every day.
    Basic things like not understanding correct datatype, dates are a real biggie here but storing/passing numbers as strings is right up there, and relying on implicit type conversions. Developers who do not think in sets and resort to cursors and row by row processing for (almost) every task. Misusing dynamic sql when it is not required, personally I rarely use execute immediate in my code, and when I do it is almost always for set up/re-set type activities in ETL code like truncating a staging table or disabling constraints/indexes prior to a data load.
    These types of things can have an impact on performance, not only for the particular task that the piece of code is designed to accomplish, but quite possibly database wide. Flooding the shared pool with hundreds of copies of a sql statement that differ only by the literals used in a predicate (or worse as one app I dealt with only in literals in the projection) is detrimental to the health of the whole database, and when the app has hundreds of sql statements it gets reall bad for the well behaved developers inthe database.
    Worse than the performance impact is the subtle bugs these types of things can introduce in the code. How many questions on this forum essentially boil down to "I put data in my table now when I try to query for a date range I get no rows, but I know I put it in" and the answer comes down to at some point in the process inserting the data or querying the data someone relied on an implicit string to date conversion and the date in the table (or perhaps the predicate) is actually 19 something or 00 something instead of the expected 20 something.
    I cannot tell you how many hours I have spent debugging other people's code (usually after the data has been well and truly corrupted) asking how did that value get in that column because (so I'm told) it's impossible for that to happen. In the vast majority of the cases it is due to implicit data conversions.
    Inspiring stories are all well and good, but if you are looking for inspiration to become a better developer/DBA look at the mindset of the people like Frank, Blushadow, Solomon and Billy that allow them to see the set-based solution to a problem (there is almost always one), to see the "correct" data types to use etc. And, to paraphrase Billy, programming is programming, basic good practices are the same in any language, so look at well-written code in other languages, not just PL/SQL.
    But, if you want in inspiring story for a "junior", here is mine.
    We had a very trick bit of ETL code that involved joining 5 or 6 tables. Complicating matters, because of the nature of the source system, one of the tables had to be pivotted, one had to be unpivotted and we needed a top-n query for one of the others. At the time, we were using 10 something, so no PIVOT/UNPIVOT, so I wrote a several hundred line query with
    sub-queries over sub-queries, analytic functions and hierarchical queries. This produced correct results, and the run-time was more than adequate (about 3 minutes for 6.5 million rows as an insert append). I gave that query to one of our junior developers for integration into the ETL package we were creating. She looked at that monster and said "Huh?". I told her, as I tell everyone, break it down into pieces, run each of the bits alone to see what they do then build it back up again to see how it all fits together.
    The next day, she came back to me and said "I spent a lot of time playing with your query, and I think I understand how it works. If I do understand, then I think this is an equivalent query, can you check it for me?" What she gave me was a fifty or so line query with two sub-queries, no analytics and no hierarchical queries. At first glance, it could not possibly work, but I checked it anyway and much to my surprise it was correct (and faster than mine). Sometimes, knowing too many tricks is not a good thing :-)
    John

  • Bex Query - How to capture characteristic value and set it as filter value?

    Dear Experts,
    I would like to create a tricky report that listed sales quantity by companis. Companies consists of production plant as well as trading company.
    Company / Sales Quantity / Sales Quantity 2 (which produced by Company itself)
    A            / 100                  / 50                     (50 was produced by company A)
    B            /  80                   / 0                      (this is a trading company)
    C            / 150                  / 150                   (All are produced by company C)
    First I thought of using variable to capture Company value and then under Sales Quantity 2 I set producing company = this variable. But this only works if I filter company values. Any workaround idea that I can get the above with all the listing of companies?
    Any assistance would be great! Thanks!
    JL

    Hi,
    Have you tried elimination of Internal business Volume?
    http://help.sap.com/saphelp_bw32/helpdata/en/d5/784d3c596f0b26e10000000a11402f/content.htm
    Impliment this solution  by adding another KF Sales qty2.  with ref. to Sales qty.
    In characteristic pair you can have Company and  Production Company(navigational attribute).
    By implimenting this solution  the system will eliminate if the quantity is produced by the company it self.  You can create CKF in query to get the result you need.
    Jaya

  • Tricky problem in Bex report

    Hi, experts,
        In our Bex reports, If I set the figure format(scaling and decimal) with "change query (local view ..)", then customized layout(add drill down, keep filter ..). It's works fine.
        But, If I do customized layout firstly, then go to "change query (local view ..)", the format change can not work any more   It's so strange, just cause different sequence.
        Some end user will follow wrong sequence, how can I explain this. is it bug in BW?
    Thanks in advance.

    my Version is: 3.50   patch level  3020.10.618
    For example,
    column is Act, Plan
    Row is company
    free characteristic is profit center.
    if you position on "ACT" and right click mouse and select "filter and drilldown according to" -- "Profit center"
    then open the "change query (local view)" , you will see Act located on "free characteristic". in this case, I can not set the scaling factor for "ACT"

  • A tricky question: how to automatically product a HTML version report?

    Greetings:
    I have to tackle with an issue in one of our Apex apps: send a report to users in HTML format at every night.
    The rationale behind this is that, the report takes fairly long time to be generated. We don't wanna the user go to the app and wait for 30 minutes to get the report. Instead, we want to generate the report to be a HTML (table) and attach it in an email which is automatically sent to the users.
    My issue are:
    1) I couldn't find any way to automatically generate the HTML of a report page, so I used the UTL_HTTP in a page process to get the source of that page, and store it into a clob table. However, that means the page has to be there to be "extracted". As the consequence, the app has to be there 24 hours to run the report, and the page process to get the HTML source at the specific time.
    2) I used the META tag to refresh the page to get it automated, which is really lousy.
    Is there better solutions to solve the issues?
    Thanks in advance.

    Luc,
    Can you give an outline of the sort of report you create? It might help to shape some of the suggestions as to a good way to improve the speed etc.

  • Tricky display in report how to do?

    I have one requirement in report. I have to display the dates in header at report output. But the dates should get displayed in range as user enters eg. User enters 1 to 10 of this month then it should display dates from 1 to 10 along with the data. Below that I want to display the status of material available or no?
    but for same matnr. Can anybody tell me how to do this?

    HI Devayani,
    Just go for Herarchical ALV Report
    Regards,
    Madhu.

  • Tricky sql for report purpose

    Hi all,
    Please see the example and help me out is there any solution to get below Required output.
    with t as (select '61527' as cp_Code,'RELEASE SWITCH' as Cp_Des,'88967095' as Part_No,'1800' as List_Price from dual union all
    select '61527' as cp_Code,'RELEASE SWITCH' as Cp_Des,'88967095' as Part_No,'909' as List_Price from dual union all
    select '61527' as cp_Code,'RELEASE SWITCH' as Cp_Des,'89018180' as Part_No,'4071.53' as List_Price from dual union all
    select '61527' as cp_Code,'RELEASE SWITCH' as Cp_Des,'89018180' as Part_No,'5755.25' as List_Price from dual union all
    select '61527' as cp_Code,'RELEASE SWITCH' as Cp_Des,'TEST1' as Part_No,'100' as List_Price from dual)
    select * from t
    Output of the above query
    cp_Code          Cp_Des               Part_No          List_Price
    61527           RELEASE SWITCH           88967095      1800
    61527           RELEASE SWITCH           88967095      909
    61527           RELEASE SWITCH           89018180      4071.53
    61527           RELEASE SWITCH           89018180      5755.25
    61527           RELEASE SWITCH           TEST1      100
    Required output like this
    cp_Code          Cp_Des               Part_No          List_Price
    61527      RELEASE SWITCH      88967095                1800
                                            909
                             89018180                4071.53
                                            5755.25
                             TEST1                100
    Thanks in advance .

    Hi,
    As Karthick said, the Presentation Layer is the best place to handle formatting like this.
    For example, in SQL*Plus you can use the BREAK command:
    BREAK     ON cp_code NODUPLICATES     ON cp_des NODUPLICATES     ON part_no NODUPLICATES
    SELECT       *
    FROM       t
    ORDER BY  cp_code
    ,       cp_des
    ,       part_no
    ,       list_price
    ;Output:
    CP_CO CP_DES         PART_NO  LIST_PR
    61527 RELEASE SWITCH 88967095 1800
                                  909
                         89018180 4071.53
                                  5755.25
                         TEST1    100If you want the rows in the order in which you posted them, just change the ORDER BY clause.
    This site notmally won't display multiple spaces (or tabs) together.
    When posting formatted text (like your output), type these 6 characters:
    (all small letters, inside curly brackets) before and after formatted sections.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Print customized report on client printer

    I'm evaluating HTMLDB as an option to some MS Access applications we have in place and I have to add I'm a new user with no experience on HTMLDB.
    One of my applications basically generate a report to be printed on pre-printed forms. For what I've read the reporting capabilities of HTMLDB are very limited, so I'm not sure how we can implement this type of reports with HTMLDB.
    Any suggestions are appreciated.
    Thanks

    I'm evaluating HTMLDB as an option to some MS Access
    applications we have in place and I have to add I'm a
    new user with no experience on HTMLDB. HTML DB is a far superior development environment to MS Access. I did Access for quite a while and don't ever really want to look back. Although, I'm forced to sometimes. I think you'll really come to appreciate HTML DB pretty quickly.
    One of my applications basically generate a report to
    be printed on pre-printed forms. Printing to preprinted forms will get tricky. Basically, you're going to have to work with standard HTML constructs (generated by the Oracle server of course) to create your page output. I'm not saying it's impossible but it will be a significant challenge to line up your data output with preprinted forms. Especially given the variability of browsers.
    Could be that someone has more experience with some other reporting (e.g. Oracle Reports) that could accomodate your need better than HTML DB page templates.
    I'm sure everyone here would be interested to hear how your evaluation goes. Keep us posted. Good luck.
    Earl

  • How to add A single row at the middle of the table in a Webi report

    Hi,
         I created a Webi report using Universe(Created universe using bex query).Now i have a requirement to display a row at the middle of a report. Can you please tell me ,how to add a sigle row at the middle of a Webi report.
                                                    Thanks in advance
    Regards
    Monika

    Hi Monika,
    It is not really possible to add a row (I assume you mean of unrelated data) to the middle of a table in a report. You can add a new table with a single row between two tables. For instance you could add a new one row table, or even single cells which are positioned relatively between two tables. Possibly a block on top of another. But this gets tricky.
    Can you explain in more detail what you are trying to do?
    Thanks

  • Reporting Services web service complex xml type report parameters

    Hi,
    I have the following xml type parameter in my request query that I use in reporting services.
    <Parameter Name="accountDetails" Type="XML" xmlns:d4p1="thevalue" xmlns:i="thevalue">
    <DefaultValue>
    <d4p1:AccountDetailDto>
    <d4p1:AccountNumber>12345</d4p1:AccountNumber>
    <d4p1:AccountType>Sales</d4p1:AccountType>
    </d4p1:AccountDetailDto>
    </DefaultValue>
    I want to know how I can assign values to the accountDetails parameter from report parameters, I've tried to call it from the dataset parameter properties but it doesn't return any values. I created Parameters!accountDetails.Value on the dataset parameters
    properties and assigned it the following value: it only returns empty columns
    ="<AccountDetailDto><AccountNumber>"& Parameters!AccountNumber.Value &"</AccountNumber><AccountType>"& Parameters!AccountType.Value &"</AccountType></AccountDetailDto>"
    You're help will be highly appreciated as I've been trying to solve this for a while now

    Hi Alisa,
    Perhaps I should explain my problem clearly...
    This is my query request that I send to the webservice:
    <Query>
    <Method Name="GetPerAccountAssetAllocation" Namespace="http://tempuri.org/">
    <Parameters>
    <Parameter Name="accountDetails" Type="XML" xmlns:d4p1="thevalue" xmlns:i="thevalue">
    <DefaultValue>
    <d4p1:AccountDetailDto>
    <d4p1:AccountNumber>12345</d4p1:AccountNumber>
    <d4p1:AccountType>JSE</d4p1:AccountType>
    </d4p1:AccountDetailDto>
    </DefaultValue>
    </Parameter>
    </Parameters>
    </Method>
    <SoapAction>http://tempuri.org/IPortfolioManagementService/GetPerAccountAssetAllocation</SoapAction>
    <ElementPath IgnoreNamespaces="true">*</ElementPath>
    </Query>
    It works well when I run it just like this, that is without specifying any parameters in the report data dialogue window or on the dataset parameters properties, it returns the values and columns correctly.
    So my problem is, I need to find out how(xml parameter syntax, steps e.t.c)
    I can do to allow users to specify the accountDetails parameter, its quite tricky for me coz its an xml type parameter, Im not sure if I should just specify the AccountNumber and
    ReportType parameters separately:
    I've tried the following without any success:
    1. Under the dataset properties:  I tried not to specify a default value for the accountDetails parameter on the xml query, then I added a parameter called "accountDetails" under the dataset parameters properties, then under parameter
    value I added the following xml value :
    <d4p1:AccountDetailDto>
    <d4p1:AccountNumber>Parameters!AccountNumber.Value</d4p1:AccountNumber>
    <d4p1:AccountType>Parameters!AccountType.Value</d4p1:AccountType>
    </d4p1:AccountDetailDto> 
    (I also added the AccountNumber and AccountType parameters under the report data dialogue window)
    This returns empty columns, is there something I'm missing, or am I doing this incorrectly?

Maybe you are looking for

  • Questions about the Program "Renamer4Mac" (file renamer program)

    Does anyone use this program? Or does anyone know of a good program that can be used to rename a large group of files? I have been trying to use this program to get rid of all the ",jpg" and ".doc" and ".ppt" etc, on my files. However, when I use the

  • Final Cut Pro X Opens But Doesn't Respond

    I am running FCPX 10.0.9 on OS X Mavericks (10.9). FCPX worked without issue on my computer and it was running Mavericks. Now, out of the blue, it will open but not respond. Once the loading screen goes away, nothing happens. FCPX is not responding a

  • Going back/away from aperture

    i have this problem with importing DNGs with all my settings (see my other post). that made me think, what if in a year or two i decide to migrate away from aperture to another software (lightroom, captureone, unknown)? is it possible to export your

  • Update Photoshop CS3 Extended 10.0 to 10.0.1

    I try update 10.0 to 10.0.1 I uploaded http://www.adobe.com/support/downloads/detail.jsp?ftpID=3794 When I run PatcherApplication I have info that INSTALLATION WAS UNSUCCESSFUL THE UPDATER IS UNABLE TO LOCATE THE PRODUCT TO BE UPDATED why ? Could any

  • I cannot run slideshow feature in some albums. Do I need to change settings?

    I am using Iphoto. Some albums I am able to view photos with the slide show feature whereas others run in reverse or not at all. Can someone please help