RTF model and parameters

Hello

I am a new user of ad BI and I had a few problems.
I'm trying to insert the parameters in my RTF model to list only the project I want.

I made my request SQL two lists of values, one for the project and another for the Department.
My RTF is to show me, for a project and a Department, a list of the people who work there.
So, for now I am able to view a list of each project and the Department with users, but I can't chose just one project.

I saw on several thread I should use <? parameters@begin:RELPARENT? > and so when I want to use it I have to write <? $RELPARENT? >.
Could you help me and give me some tips like where I put my settings start or things like that.


Here's my RTF model structure.

Group of LINES by RELPARENT
project: 'RELPARENT'-> projects I want to show only
ASGNROLE group
role: 'ASGNROLE'-> departments I want to show only
Record name
F REVNAME FRSTNAME LASTNAME E
completed by ASGNROLE
end of LINE by RELPARENT

Here is my request on Bi Publisher:


SELECT distinct VTMM_PERSON. LASTNAME,
VTMM_PERSON. FRSTNAME,
VTMM_STAFF. RELPARENT,
VTMM_PERSON. REVNAME,
VTMM_STAFF. ASGNROLE
TO THINK. VTMM_STAFF, THINK. VTMM_PERSON
WHERE (VTMM_PERSON. REVNAME = VTMM_STAFF. RELCHILD)
and not (VTMM_STAFF. RELPARENT = 'Society')
and not (VTMM_STAFF. ASGNROLE = 'SysAdm')

Here is my request for a single list

SELECT distinct VTMM_STAFF. RELPARENT
TO THINK. VTMM_STAFF
WHERE (VTMM_STAFF. RELPARENT! = 'Company')






Kind regards

Published by: user11869055 on 7 September. 2009 13:27

Published by: user11869055 on Sept. 8. 2009 08:26

Hello

If you try to get the user to pass a parameter which will then limit the resutls in the output, you can use a parameter in the SQL for example (assuming that relparent and asgnrole are the columns, you should limit by):

SELECT distinct VTMM_PERSON. LASTNAME,
VTMM_PERSON. FRSTNAME,
VTMM_STAFF. RELPARENT,
VTMM_PERSON. REVNAME,
VTMM_STAFF. ASGNROLE
TO THINK. VTMM_STAFF, THINK. VTMM_PERSON
WHERE (VTMM_PERSON. REVNAME = VTMM_STAFF. RELCHILD)
and VTMM_STAFF. RELPARENT =: RELPARENT
and VTMM_STAFF. ASGNROLE =: ASGNROLE

You can then create two parameters in the definition of BI Publisher report called RELPARENT and ASGNROLE, create LOVs for them (sounds like you already have) and there you go. When the user selects the parameters, they are replaced in the SQL and you get limited results.

You can also add a specific logic of db around settings to handle NULL values so that you get all values when a setting is selected.

Kind regards

Matt

Tags: Business Intelligence

Similar Questions

  • Create dynamic table in BEEP RTF models

    Hello

    I have a table in my RTF model and I want to hide some columns and the remaining columns occupy the remaining space so

    I try inserting the size of each column in the table dynamically like this:


    Elements of XSL - FO support

    " column in the table " " " -the width of column '


    < fo:table - column-column number '2' column width = "25%" border-style = border-width 'solid' = "5pt" / >


    but gives me the following error "FOTableColumn cannot be cast to oracle.xdo.template.fo.elements.FOLayoutable"


    Is there a way to do this?

    I solved this problem with the number of columns spans:

    2

  • Multi BI Publisher RTF model in Testing conditions

    Hi, kindly guide me, how to write a code for several conditions in RTF Model Builder

    for example

    If a = 1 and b = 2 then

    C

    on the other

    A

    END IF

    Thank you

    Example 1:

    If there is static text put your result in single quotes.

    If your result is a column value so do not use single quotes.

    Example 2:

    C

    A

    Please provide your RTF model and XML data for you the exact solution.

  • In RTF model number format

    Hello

    I have a form field on a RTF model and its value is a number positive or 0.
    I see positive numbers in braces and zero strapless.


    The number Format that I use at the moment (#, # 0.00), which is also puts braces around zero.

    Here is an example of how I need to display the positive numbers and zero.


    Example:

    Value: 201.53
    Display: (201.53)

    Value: 0
    Display: 0.00


    Thank you
    Yogi

    Published by: user3209802 on February 21, 2013 22:03

  • RTF model. body with two loops and custimized footer

    Hello.
    I have a rtf model with a body and a custom footer. The body has two loops. The first loop x cheques and the second for loop for x elements of each control.
    The footer must be individually for each control. Is there a possibility of variable access from the first loop of the body in the foot?

    the structure of my rtf file:_
    header: vacuum
    body:
    <? for-each: Scheck? >
    An asfdfadsfasdf: <? One? >



    Article price
    <?-foreach: point? > <? name? > <? price? >
    <? end foreach? >

    Summe: <? sum (price)? >

    <? model: footer? >
    <? One? > does not work*.
    <? end model? >


    <? split-of-page-break:? > <? end foreach? >



    footer:
    empty space
    empty space
    empty space
    empty space
    empty space
    empty space
    empty space
    empty space
    empty space
    <? Call: Footer? >






    an excerpt from my xml file:_
    < root >
    < Scheck >
    < item > < name > Kunststoffe < / name > < price > 22000 < / price > < / item >
    < item > < name > Metalle < / name > < price > 100000 < / price > < / item >
    < item > < name > Holz < / name > < price > 6000 < / price > < / item >
    < item > < name > paper < / name > < price > 100 < / price > < / item >
    < item > < name > Kunststoffe < / name > < price > 22000 < / price > < / item >
    < item > < name > Metalle < / name > < price > 100000 < / price > < / item >
    < item > < name > Holz < / name > < price > 6000 < / price > < / item >
    < item > < name > paper < / name > < price > 100 < / price > < / item >
    < item > < name > Kunststoffe < / name > < price > 22000 < / price > < / item >
    < item > < name > Metalle < / name > < price > 100000 < / price > < / item >
    < item > < name > Holz < / name > < price > 6000 < / price > < / item >
    < item > < name > paper < / name > < price > 100 < / price > < / item >
    < item > < name > Kunststoffe < / name > < price > 22000 < / price > < / item >
    < item > < name > Metalle < / name > < price > 100000 < / price > < / item >
    < item > < name > Holz < / name > < price > 6000 < / price > < / item >
    < item > < name > paper < / name > < price > 100 < / price > < / item >
    < item > < name > Kunststoffe < / name > < price > 22000 < / price > < / item >
    < item > < name > Metalle < / name > < price > 100000 < / price > < / item >
    < item > < name > Holz < / name > < price > 6000 < / price > < / item >
    < item > < name > paper < / name > < price > 100 < / price > < / item >
    < item > < name > Kunststoffe < / name > < price > 22000 < / price > < / item >
    < item > < name > Metalle < / name > < price > 100000 < / price > < / item >
    < item > < name > Holz < / name > < price > 6000 < / price > < / item >
    < item > < name > paper < / name > < price > 100 < / price > < / item >
    < item > < name > Kunststoffe < / name > < price > 22000 < / price > < / item >
    < item > < name > Metalle < / name > < price > 100000 < / price > < / item >
    < item > < name > Holz < / name > < price > 6000 < / price > < / item >
    < item > < name > paper < / name > < price > 100 < / price > < / item >
    < Payment > HUNDERTACHTUNDZWANZIGTAUSENDEINHUNDERT < / payment >
    < a > Firma1 < year >
    < / Scheck >
    < Scheck >
    < element > < name > end < / name > < price > 2000 < / price > < / item >
    < item > < name > Metalle < / name > < price > 10000 < / price > < / item >
    < item > < name > Holz < / name > < price > 600 < / price > < / item >
    < item > < name > paper < / name > < price > 10 < / price > < / item >
    < element > < name > end < / name > < price > 2000 < / price > < / item >


    Thank you for helping me!

    Edited by: user12052573 the 19.05.2010 02:00

    Hello

    change your main loop shape

    This will create a new page with a section break for each change in 'Scheck. You can remove your split sentence of page break.

    -Karine

  • Conditional formatting in the RTF models

    Hello

    I'll just with the design of rtf models. I have a question about the function of conditional formatting. It comes

    IF I have different types of customers(corporate,individual,etc..) passed as parameters, can, a particular cell be formatted with different colors for different customers. for example, if the setting is undertaken client the the color of a particular cell should be RED in color, and if the parameter is the color of the cell must be GREEN in color.

    Please help me with this.


    Thanks in advance

    Yes, you can conditionally format individual cells.

    Take a look at the guide (link provided) and looking for 'highlighting of cells:

    http://docs.Oracle.com/CD/E10415_01/doc/bi.1013/e12187/T421739T481157.htm

    Code example: 1000? >rouge

    Thank you
    Bipuser

  • Rtf red and white borders are necessary: question

    Hello



    I need to have a report that is to have red white edges as layout of the report when I try to insert the border as a shape or image in the output pdf rtf model is getting distorted and shape or image abruptly changed its position in the output.


    How to include the scenario above in the rtf.


    Please any suggestions would be helpful

    Hello

    I realized that the border is not supported, so I took the picture in. provided and put in the Word as a water mark and was able to get PDFs out put as below. I think that a larger image and a few changes and you can get it in the format you need.

    RTF

    Output PDF

    Thank you

    Rahul.

  • Stuck in the BI Publisher rtf model for Apex report

    Hi, I work on Express 4.2.3.00.08 and oracle database 11 g application.

    I stuck in the BI Publisher RTF model.

    I want to create a BI Publisher Apex report.

    Question is.... have several activities and several Notes to a significant number.

    Not sure how to put repeating frame so that all corresponding activities and corresponding notes are a major number without repeating.

    Each main number arrive on a page, see the snapshot below.

    I have attached my rtf model snapshot too.

    I'll be really grateful for your help.

    Thank you very much in advance

    Untitled.jpg

    Untitled2.jpg

    I think your results will have 1102 pages (one page separated by major) for all major XML data?

    You must use @section. so your for each should be as below

    and remove the page break before for each end.

    If you can share the email I can send the updated model.

  • BI Publisher RTF model - fill a cell with a group without line breaks for each element

    I have a fairly rigid rtf model with multiple cells. A cell in particular just display a value of a single group.

    I want to display all the values of group in the cell, but instead of display each value on a new line of the

    cell and cell resizing, I need a way to repeat the values (we hope) without resizing the cell.

    Thus, for example, given a simple group such as < GROUP > < VALUE > where the GROUP contains the VALUES 1, 2, 3, 4 and 5.

    a normal <?-foreach: GROUP? > <? VALUE? > <? end foreach? > product

    CELL

    OUTPUT: 1

    2

    3

    4

    5

    What I would like is to be able to output the following (assume the slot size cell is not resized one appears exactly as it does in the rtf)

    CELL

    OUTPUT: 1 2 3

    4 5

    The tricky part is that I'd love to be able to have the text wrapping, once he arrives at the edge of the cell. Is there a simple way to do this?

    After a search in a dozen of nets beforehand of course, I find the answer, about 10 minutes after the announcement.

    Knew it was something simple!

  • How to display an image blob at the top of the RTF model.

    Hello

    I want to display an image blob (company logo) in my RTF model

    My problem is how can I display this image in the header of the template.

    I tried this

    <?

    < fo:instream - foreign-object content-type = "image/jpeg" >

    < xsl: value-of select=".//LOGO"/ >

    < / fo:instream - foreign-object >

    ? >

    but failed

    Thanks in advance.

    I tried this

    <>

    ?>

    but failed

    course

    What is red elements?

    model you can be like

    ... of data...

    (after all data)

    (as a field)

    (in the header/footer)

    a few comments https://oralublog.wordpress.com/2014/10/04/bi-publisher-11g-footers-and-headers-in-rtf-template/

  • I want to create the BI Publisher .rtf model as attaché

    Hi Experts,

    I'm creating the RTF template but unable to group and the merger of the blocks contained in the sample model. Could you please create the rtf with attached sample data model. For your reference, I enclose my RTF template as well. Please do the needful.

    Thanks in advance

    Thank you and best regards,

    Satya

    Hi Satya,

    I created the RTF model based on your design data and sample layout xml.

    Please find attached.

    Let me know if you need more assistance.

    Thank you...

  • Merge cells in Excel of the RTF model output

    Newbie question. When I create a RTF model whose primary production is Excel, I usually have a lot of merged cells. Any advice on how to fix that? I almost always prefer my split cells.

    exporting to XLSX

    What export to xls?

    also that there emerged word? where is the same behavior or not?

    as I said

    can not say without looking at it

    can be yes or no

    output image seems strange

    It's may be bug or incorrect model

    Look at

    Generate an Excel output with an RTF template columns and rows of a Table are combined (Doc ID 1590858.1)
  • Exit Excel does not not the headers on each page of the rtf model

    Hi all

    I have an rtf template where I used a title in the header section. This repeats outputs in PDF and RTF. But output Excel it is not repeated.

    This is an expected behavior. If it's... does perform a work around...

    enjoy all the entries on this...

    Best regards

    gt1942

    AFAIK, you can't repeat the page output to Excel headers using RTF model.

    Excel page headers can be repeated for each page using Excel template.

  • Problems with highlighting of the rows of the table through RTF-model

    Hello!

    Peace im new in the world of BI Publisher. For the moment, I try to create and RTF-model with the Office AddIn for Word Bi-editeur (2010). I want to create a table based on a table of a pdf document existing already. I have all the data in the right format and order and just worked fine - until I wanted to change the background color of some specific lines.
    If I add that a statement such as

    <? If: Variable = "Expressionstring?" > <? attribute@InContext:background-color;' #FFFF80 '? > <? end if? >

    the context of the evolution of the entry. But the fact the line height. It develops. The expressions more that I use more it grows. That of not good, because the table is so great that it only fits on a single page with fine lines... I tried to apply a height specified in the line through the word, but it does not work.
    I searched a couple hours and still didn't find anything regarding this problem. I appreciate any ideas how to solve this problem.

    Tounsiiaa in advance

    Gabriel

    To help those who have a similar problem: it's just like sfr.farhan.fani wrote. I try to give you a general expression:


    <? If@row:ROWNAME=VALUE? > (this should work with = > etc do not forget the ' ' for strings etc..)

    < xsl: attribute name = 'background-color' xdofo:ctx = 'incontext' > lightgray < / xsl: attribute > (lightgray can be changed to hexa% and %valeurs)

    <? end if? >

    Hello

    Try the following expression

    5000? >

    LightGray

  • Problem with RTF model with columns &gt; 63

    Hello

    We use the XML editor in Oracle EBS 12.1.3.

    I have a relationship with more than 100 columns, for which I created an RTF model with going out to Excel. I fell on the boundary of Word of 63 columns in a table.  To get around it, I created a table with 2 columns and each column insert a table of columns about 58.

    Well, it seems to work 90% of the time.  But at the end of the excel sheet the last 20 or if data lines have sometimes 58 columns in the column in the external table empty.  The second cell of the outer table is a large cell empty.

    The issue seems to occur when there is a lot of data in the report.  If I run the report on specific lines containing questions the data is displayed correctly.

    Everyone has faced something like this?  Or have any ideas on how to debug what is happening?

    Thank you

    -Johnnie

    Hopefully the new XSL - FO model is selected in the Options tab, when you submit the request. Output XML code usually means - an error (if the program terminates with an error) or the mapping of model not done correctly (if completed normally).

Maybe you are looking for