Data links Questions on Reports Builder

We are currently using Reports Builder 10.1.2.3.0. We are trying to create a topology report. So, we have about 5 queries in the data models which are linked using a query links with Child Destination column in the child query.
So, here is the example:
Q1 --> Q2 (joined with Q1 child) --> Q3 (joined with Q2 child) --> Q4 (joined with Q3 child)--> Q5 (joined with Q4 child).
So, the problem we are experiencing is when Q2 has same child twice, the Q2 query is actually sending the same child id to Q3 twice (or however many times its repeating). Is there any way to distinct the child so we get only one child sent to Q3?
Here is an example:
Q1
Parent Child
A1 B1
A2 B2
A3 B3
Q2
Parent Child
B1 C1
B1 C2
B2 C1
Q3
Parent Child
C1 D1
C1 D1
C2 D3
Any help or suggestion would be greatly appreciated. Thanks.
Edited by: user613427 on Dec 12, 2011 1:17 PM

You are on the right track, here is how our structure looks like:
Query1
Street, City
Query 2
City, State
Query 3
State, Country
And Queries are linked using group links.
Here is an example:
Query 1 results:
Street1 City1
Street1 City2
Query 2 results:
City1 State1
City1 State2
City2 State3
City2 State1
Query 3 results:
State1 Country1
State1 Country1
State2 Country4
State3 Country5
Note: example is not realistic, i know. just wanted to give you picture.
So, the repeating frame for Query3 gets Stateid from Query2 one by one rather than collect it and distinct it, hence the duplicates. I hope this explains it.

Similar Messages

  • Data Link In Oracle Report

    Hi,
    What is the significance of group level data links in oracle reports?How is it different from data links that select column from each groups?
    Thanks

    Hi user;
    Please check below and see its helpful:
    [Link 1|http://download-west.oracle.com/docs/html/B10602_01/toc.htm]
    [Link 2|http://www.oracle.com/technology/software/index.html]
    [Link 3|http://download.oracle.com/docs/html/A73172_01/output/bawor_re.htm]
    [Link 4|http://www.softwaregeek.com/reports-oracle-10g/p1.html]
    Regard
    Helios

  • WHERE Predicate line works in Aqua Data Studio, not in Report Builder

    I’m trying to get a query working in report builder which will pull data back when run in Aqua Data Studio. 
    It returns a NULL set when working with the same data source from report builder. 
    Here is the WHERE clause:
    --WHERE SYSDATE < :REM_DATE 
    -- troubleshooting line (=DateAdd("d", 3, Now()))
    WHERE SYSDATE
    < TO_DATE(TO_CHAR(TPOA.POST_DT,
    'MM/DD/YYYY'),
    'MM/DD/YYYY') +
    3
    AND TPOA.DEST_OTHER
    IS NOT NULL
    AND TPOA.AUTH_STATUS_IND =
    'A'
    The commented line works in Report Builder.  :REM_DATE has as its default expression =DateAdd(“d”, 3, Now()), used as a means of troubleshooting. 
    There isn’t a way to populate :REM_DATE before use because forward dependencies aren’t allowed.
    Also tried is this line for the first part of the WHERE:
    WHERE SYSDATE
    < TPOA.POST_DT + 3
    As well, it works in AD but not in RB.
    Here is the full query, which is the 2<sup>nd</sup> query in a UNION:
    SELECT DISTINCT
    TO_CHAR(TPOA.MATL_ASGN_DT,
    'MM/DD/YYYY')
    AS MATL_ASGN_DT
    ,TPOA.TE_24_NBR
    ,TPOA.POST_DT AS TE24_DATE
    ,SUBSTR(TPOA.DEST_PRODR_SUPP_CD,
    1, 5)
    AS DEST_PS_CD
    ,'N'
    AS DEST_PO_IND
    ,SUBSTR(TPOA.SRC_PRODR_SUPP_CD,
    1, 5)
    AS SRC_PS_CD
    ,SUBSTR(TPOA.SRC_PRODR_SUPP_CD,
    7, 2)
    AS SRC_PS_CD_SFX
    ,TPOA.LPA_IND
    ,SUBSTR(TPOA.DEST_PRODR_SUPP_CD,
    7, 2)
    AS DEST_PS_CD_SFX
    ,SUBSTR(TPOA.DEST_CONT_ALT_ID,
    1, 2)
    AS DEST_PROJ_YR
    ,SUBSTR(TPOA.DEST_CONT_ALT_ID,
    3, 4)
    AS DEST_PROJ_SEQ
    ,TPOA.DEST_OTHER
    ,TPS.PRODR_SUPP_NM AS ABBR_NAME
    ,'SM'
    AS FRM_IND
    FROM VWARE.T_POST_ASG TPOA
    LEFT OUTER JOIN SMDBA.T_PRODR_SUPP TPS
    ON TPOA.SRC_PRODR_SUPP_CD = TPS.PRODR_SUPP_CD
    --WHERE SYSDATE < :REM_DATE 
    -- troubleshooting line (=DateAdd("d", 3, Now()))
    WHERE SYSDATE
    < TO_DATE(TO_CHAR(TPOA.POST_DT,
    'MM/DD/YYYY'),
    'MM/DD/YYYY') +
    3
    AND TPOA.DEST_OTHER
    IS NOT NULL
    AND TPOA.AUTH_STATUS_IND =
    'A'
    Michael Durthaler

    Hi Michael,
    What's the version of your Report Builder? When you run the query in query designer of Report Builder, have you got any error/warning message?
    In this case, I would suggest you can try to SQL Server Profiler to capture some events do further investigation while run the query in Report Builder.
    If you have any feedback on our support, please click
    here.
    Regards,
    Elvis Long
    TechNet Community Support

  • Data Link question

    hi all,
    just wanted to know what is the purpose of a data link that does not link columns from 2 queries.
    it only linked groups instead.
    thanks.
    allen

    Hi friends i have to query in reports9i
    Query 1.
    SELECT g.id as challan,g.issue_date,gd.item_type,g.sale_order_id,g.supplier_name,g.prod_name,g.colour,g.xs,g.s,g.m,g.l,g.xl,g.pcs,g.issue_for FROM
    gin g,gin_detail gd
    where g.id = gd.id
    and g.id = :p_id;
    Query 2.
    SELECT rownum,id,name,issue_qty,unit FROM
    item,gin_detail
    WHERE item.code = gin_detail.item_code AND
    id =:challan;
    i have two two repeating frames and set the field
    Query1 as master and Query 2 as detail
    and the result is ok on reports when i call through forms it will not show the desired result
    second query is not showing any result
    thanks
    vikas singhal
    Edited by: vikas singhal on Jan 31, 2009 2:14 AM

  • Questions on Report Builder and Graphics Builder

    Hi there:
    I'm currently using Report/Graphics builder V 6.0.8.11.3 NT version to create RDF and OGD files.
    I was wondering with the following confusions:
    1) Is the RDF/OGD file that I create under NT plat form portable to Sun Unix?? (ie. would Report Server for Sun understand this NT RDF/OGD file?)
    2) Is/will there a Sun solaris version of Report/Graphic Builder?? And would RDF/OGD file be compatible for both NT and Sun plat form??
    Thank you very much.
    Mark

    The answer to both your questions is yes. the rdf and ogd are portable to the solaris version of reports and graphics which you can download from http://technet.oracle.com/products/reports/ on the software tab.

  • How do I apply filters or limit the rows on my report using a Date field in SQL report builder 3.0?

    I have a status of completed and a date field in the dataset. The date field is either empty or contains a date. All 2015 dates are holding dates.
    So how can I limit the report to only pull completed status with an empty date or a holding date?
    I have not been able to set an OR option on a date field filter and if I add two filters on the date column one for empty one for > 12/31/2014 then it treats it as an "and" and pulls nothing from the list I have in sharepoint.
    any help will be appreciated.

    Hi MB,
    In Reporting Services, the relationship of  filters is “And”, and there is no option to change the relationship from “And” to “Or”. While we can use “or” operator within the expression to create one filter to integrated all filters to work around this
    issue.
    We can add a filter as follows in the dataset to limit the rows in your report:
    Expression: =Fields!date.Value is nothing or Fields!date.Value>"12/31/2014"    Type: Boolean
    Operator: =
    Value: true
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • Usage of Data Link..

    Dear All,
    Can anybody explain me the usage of data-link in D2K report builder...?
    Regards
    Subash

    Hello,
    You'll can find an example :
    http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b13895/orbr_grpl_multi.htm
    11.3 Create a data model with a data link
    Regards

  • Report Builder Wizard and Parameter Creation with values from other data source e.g. data set or views for non-IT users or Business Analysts

    Hi,
    "Report Builder is a report authoring environment for business users who prefer to work in the Microsoft Office environment.
    You work with one report at a time. You can modify a published report directly from a report server. You can quickly build a report by adding items from the Report Part Gallery provided by report designers from your organization." - As mentioned
    on TechNet. 
    I wonder how a non-technical business analyst can use Report Builder 3 to create ad-hoc reports/analysis with list of parameters based on other data sets.
    Do they need to learn TSQL or how to add and link parameter in Report Builder? then How they can add parameter into a report. Not sure what i am missing from whole idea behind Report builder then?
    I have SQL Server 2012 STD and Report Builder 3.0  and want to train non-technical users to create reports as per their need without asking to IT department.
    Everything seems simple and working except parameters with list of values e.g. Sales year List, Sales Month List, Gender etc. etc.
    So how they can configure parameters based on Other data sets?
    Workaround in my mind is to create a report with most of columns and add most frequent parameters based on other data sets and then non-technical user modify that report according to their needs but that way its still restricting users to
    a set of defined reports?
    I want functionality like "Excel Power view parameters" into report builder which is driven from source data and which is only available Excel 2013 onward which most of people don't have yet.
    So how to use Report Builder. Any other thoughts or workaround or guide me the purpose of Report Builder, please let me know. 
    Many thanks and Kind Regards,
    For quick review of new features, try virtual labs: http://msdn.microsoft.com/en-us/aa570323

    Hi Asam,
    If we want to create a parameter depend on another dataset, we can additional create or add the dataset, embedded or shared, that has a query that contains query variables. Then use the option that “Get values from a
    query” to get available values. For more details, please see:http://msdn.microsoft.com/en-us/library/dd283107.aspx
    http://msdn.microsoft.com/en-us/library/dd220464.aspx
    As to the Report Builder features, we can refer to the following articles:http://technet.microsoft.com/en-us/library/hh213578.aspx
    http://technet.microsoft.com/en-us/library/hh965699.aspx
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Report Builder with multiple data series

    I am not able to figure out how to create a bar chart using
    multiple data series in the Report Builder. I can do it with
    explicit CFML coding but not in the Report Builder. I am running MX
    version 7 with the current (as of 9/1/07) download of the Report
    Builder.
    My table contains visit information by site, with standard
    demographics on each visit (age, race, gender, etc.) I am trying to
    analyze the data by site, for example, race by site.
    I am using an SQL statement to sort and group by site &
    race. I can get a chart of the number of visits for each site or
    the total number of visits by race across all sites. But I can't
    get race by site. The SQL statement looks like this:
    SELECT race, site, COUNT(*) as counter
    FROM visit_info WHERE userid = #session.uid#
    GROUP BY site, race ORDER by site, race
    Every variation I have tried for showing race by site either
    leaves out part of the results or creates a bar chart that has the
    race and site categories as separate entities (White, Black,
    Chinese, Site1, Site2, Site3, etc). I've also tried creating a
    combined variable (site_race) but that doesn't seem to fare any
    better.
    Any help would be appreciated.

    Pop,
    Badunit's example is one possible arrangement that you might have described; that is, one column for X values and several columns for Y values. This is the case when you should respond that you are sharing X-values. With all the data in one table, you can select it all at once, so you don't have the problem with dragging additional series into the chart.
    The Numbers User Guide PDF's first chapter is the place to start getting your bearings - you will learn how to distinguish Header vs. Body rows and columns. It's worth the effort to take another look at it.
    Since you are using a Scatter Chart, it's important not to use a header column for X because X values must be Numeric, as opposed to Text.
    Jerry

  • DATA LINK

    I am using 6i reports. Need your help in developing a Group left report.
    I join 2 queries (Q1 master and Q2 detail) thru a data link.
    The report is showing the master information even if detail is not available. I want to print master record only if corr. details are available.
    What should I do ?
    Thanks for your time
    Regards
    Rekha

    hello rekha
    this is described in building reports manual ...
    short desciption is: make a summary column in master group counting num of records of your detail group reset at key columns and then add a format trigger on master frame whith condition when number of details = 0 then return false ...
    hth
    petr valouch, brainbench mvp for oracle programming, http://www.brainbench.com

  • Dynamic Query in Report Builder

    HI
    I have a doubt:
    I need to receive a parameter in my report and I need this parameter in the query, that means, I need to create a dynamic query depending on the value that I receive in one of the parameters that has my report.
    I tried to use the resource of Searching by Reference Cursor tool, it is a blue circle in the Data Model View of Report Builder.
    When I click this tool, I have an initial code, It is:
    function QR_1RefCurDS return <RefCurType> is
    begin
    end;
    In PL/SQL I tried to create to test and to play, this code:
    Note: If you want to try only to test, it is simple and works:
    create or replace package TEST_REFCURTYPE as
    type refcurtype is ref cursor;
    function TEST_REFCURTYPE (P_DATE_TO nvarchar2) return refcurtype;
    end;
    create or replace package body TEST_REFCURTYPE as
    function TEST_REFCURTYPE (P_DATE_TO nvarchar2)
    return refcurtype is
    refcur refcurtype;
    mysql varchar(1000);
    begin
    If P_DATE_TO is not null then
    mysql := 'select '''|| P_DATE_TO ||''' from dual';
    else
    mysql := 'select sysdate from dual';
    end if;
    open refcur for mysql;
    return refcur;
    end;
    end;
    The problem is to pass this example of code to the function QR_1RefCurDS, I do not have a place to make reference to the type:
    type refcurtype is ref cursor;
    I tested the Unit Program in the Report Builder but it did not work, because all the code I try to write and create, for example in the Event BEFORE REPORT, it opens  Funcion( ) …., and I can not make reference to the type refcurtype inside a Function( ).
    Would you help me please?
    Or there is another way to make a dynamic query in the Report Builder?
    Sorry for my English, I am a Brazilian living in Spain.

    Hi,
    you can use lexical parameters in your queries. Instead of a ":" use in the query before the parameter a "&". Then the parameter stands for a part of the query and not for a value (Bind parameter). In the before report trigger you can set this parameters. They can contain parts of SQL like order or where. Make sure that the default value for this lexical parameters are set to get a valid query.
    SELECT ENAME, &p_column as COL2 FROM EMP &p_order
    and in the trigger something like
    IF :p_which_column = 1 THEN
    :p_column := 'SAL'
    ELSE
    Saludos
    Rainer

  • Create Pie Chart and Vertical bar chart using report builder 3.0 with sharepoint custom list

    Hi All,
    I have a client requirement to create reports which should show the graphical representation of SharePoint Custom List data. The reports are Month wise and YTD. Also i have to create dashboard.
    For creating reports, i have heard about Report Builder and SSRS. I have SQL server 2008r2 and installed report builder 3.0 but i am not aware of creating reports(KPI, Pie Chart, Vertical bar, etc.,) with sharepoint customlist.
    Can some one please help me on this.
    MercuryMan

    Here is some information about using the SharePoint List Data source with SSRS/Report Builder/BIDS:
    http://www.infotoad.com/blog/post/2012/10/11/using-a-sharepoint-list-connection-type-as-a-data-source-for-reporting-services.aspx
    http://technet.microsoft.com/en-us/library/ee633650.aspx
    http://www.codeproject.com/Articles/24469/SQL-Reporting-Services-data-from-SharePoint-lists
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • How to remove unused datasource connections in Report Builder 3

    In Report Builder 3.0 using a wizard to create a new Report, select create a DataSet. It opens a "Choose a connection to a datasource" dialog box. It shows previously used datasource connections of other ReportSevers I have accessed long
    time back. But I dont want to see datasource connection not in use. How can I remove those datasource connections used in past but they are still available in the list.  

    Hi Saty
    You can find more information about Remove previously used datasource connections.
    http://connect.microsoft.com/SQLServer/feedback/details/679232/cannot-remove-old-unusable-data-source-connections-from-report-builder-3-0-wizard-dialog
    SUHAS http://suhaskudekar.blogspot.com/ Please click "Mark as Answer" if this resolves your problem or "Vote as Helpful" if you find it helpful.

  • MS Report Builder Data Source Missing

    Hi,
    Simply, when I log onto my server with a local or domain admin and open report Builder, I right click
    on Data Sources and choose add. I choose the one (only one) in the list and test (successfully) the connection.
    However, no other users see the Data source and trying to create one fails. They are local administrators. They have been added as admins in SQL and the DBs. I have rechecked all the permissions and the user has full admin rights to the server, SQL and DBs.

    Hi Analog-Kid,
    According to your description, when users click “Edit in Report Builder” on report server to launch click-once report builder, if users want to add a shared data source, they can’t see the shared data source list which resides on the report server, right?
    In your scenario, please check if those users could access the Data Sources folder on the report server. If not, please grant users permission to access this folder with Content Manager role on Security page. Also please connect to report server instance
    from SSMS, then check if Manage data sources has been selected.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • Report Builder Question - OA AR Aging - and a general question

    I'm sure this is the wrong forum for this question, but I thought there might be someone here who might be using Oracle Applications and Report Builder who'd be kind enough to help me out.
    We've recently implemented Oracle Applications 11.5.10 and I have to use report builder to change the Accounts Receiveable Aging (7 bucket) to a 5 bucket report. I've already made some changes to the seeded "ARXAGMW.rdf" report, but I'm not a big Oracle Reports guy. I've stumbled through making some changes in various other reports. But this one is just plain nasty! :)
    I was thinking that I could simply add buckets 6 & 7 to bucket 5, then just hide or delete the 6 & 7 buckets. But I'm not sure where to even start. Any help with this would GUARANTEE a Christmas or other holiday card this year! :)
    I really want to keep this simple as possible, so any help would be very....helpful. :)
    Oh, my general question is: Are there any resouces/books for Oracle Reports (Report Builder)? I feel so lost trying to modify existing reports, let alone creating new ones.
    Thanks again!
    Steve

    Hi Steve,
    I am working on the 7-bucket aging report and i want to add a new field in data model.
    As the query is build dynamically, i have modified the function BUILD_CUSTOMER_SELECT to meet my requirements.
    But the problem is that in the data model, the field is not present in my Grouping. and if I try to add the field in the Data Model query (Q_ Customer) section,
    i get the following error: ORA-01789: query block has incorrect number of result columns.
    The query is as shown below:
    select rpad('a',50,'-') short_cust_name,
    0 cust_id,
    rpad('a',30,'-') cust_no,
    rpad('a',500,'-') sort_field1,
    rpad('a',40,'-') sort_field2,
    0 payment_sched_id,
    rpad('a',32,'-') class,
    sysdate due_date,
    0 amt_due_remaining,
    0 days_past_due ,
    0 amount_adjusted,
    0 amount_applied,
    0 amount_credited,
    sysdate gl_date,
    'x' data_converted,
    0 ps_exchange_rate,
    0 b0,
    0 b1,
    0 b2,
    0 b3,
    0 b4,
    0 b5,
    0 b6,
    rpad('a',25,'-') bal_segment_value,
    rpad('a',500,'-') inv_tid,
    rpad('a',32,'-') invoice_type
    , 'y' parent_cust --I WANT A NEW FIELD HERE TO BE VIEWED ON THE REPORT LAYOUT LATER
    from dual
    where 1=2
    UNION ALL
    &common_query_cus
    Did i missed somthing 4 me to be able to add the field here?

Maybe you are looking for

  • Maintain settlement rules in a PM order

    Hi! I would like to find an easy way to automatically fill the settlement rule in an existing PM order. If it is possible I would like NOT to use BDC (Batch input). A function element or maybe a BAPI would be the best solution. If anyone knows a way

  • Custom taglib problem

    Hi I wrote some custom taglibs, but I get the following error: org.apache.jasper.JasperException: File "/dodo" not found I have the following configuration in my web.xml <taglib> <taglib-uri>/dodo</taglib-uri> <taglib-location>/WEB-INF/jsp/csajsp.tld

  • SA showing price zero at item level

    Hi Friends, There is a Scheduling Agreement created (type:LP) . Following is under investigation : THe item level prices (Price per unit ) is showing `Zero` although the Price in condition shows as required . THe Price in condition has validity perio

  • Where can I find a link to download and install ADobe Digital edition on my iPad Air ?

    I Just bought a book in PDFs format with my iPad. The vendor site says I need to install Adobe digital edition, but I can't find a link to install adobe digital edition on an iPad air. Can anybody help ? THx all!

  • Photoshop mix files not appearing with iPhone upgrade

    Hi, i have a new iPhone and the Photoshop mix files are not showing up with the app. I checked the usage from the old phone to the new one and the data is there. It just isn't being accessed by the app. The phone upgrade went from iOS 7 to 8. Also th