Parameters for Answers report.

Hi,
I am creating an Answers report. We need to give a date range as paramters. Do we have to use the column filter prompt for this or is there any other way we can create parameter range for this. Not on a dashboard but just an Answers report. Please advise. Thanks in advance.

What kind of parameter range? If it's fixed, but dynamic, you can use repository variables and a filter. Say you want to filter "last week Monday through Friday" and run the report in Answers any day this week. Use this SQL on your date column:
BETWEEN TIMESTAMPADD(SQL_TSI_DAY,-5,TIMESTAMPADD(SQL_TSI_DAY,DAYOFWEEK(CURRENT_DATE)*-1, CURRENT_DATE)) AND TIMESTAMPADD(SQL_TSI_DAY,-1,TIMESTAMPADD(SQL_TSI_DAY,DAYOFWEEK(CURRENT_DATE)*-1, CURRENT_DATE))
You can modify the above to produce any date range, fixed, but dynamic, that you want.
If, however, you need the date range to be ad hoc and dynamic, you will need the column filter prompt (for Answers) or a dashboard prompt in a dashboard.

Similar Messages

  • Parameters into Answer Report and MsWord

    Hi,
    I'm try to invoque a Answer Report in MsWord, by Oracle Publisher, and i need to create a template.
    So, i have a principal document and this document have a subtemplate. I need insert into the Template
    one chart designed with Answer's tools, but this chart needs to receive a parameter to deploy the information
    into a cicle for example:
    group 1
    text 1
    text 2
    text 3
    group 2
    text 4
    text 5
    I don't know how the chart receive an in parameter?, because the chart don't allow to manipulate into MsWord...
    Thank's for your help!
    Sandra M. Salazar J.

    Hi,
    The following solution works for sharing parameters in CR Designer 2008. However, I am not sure if this can work with CR4E Designer. Request you to perform the mentioned steps in  CR4E :
    1.  Click a main report with surbreport
    2.  Create a parameter in main report
    3. Right-Click  on subreport and select "Change Subreport Links"
    4. Select 'Parameter' in Available Fields -> Fields to link to
    5. Click Ok
    6. Click Edit Subreport and drag the parameter field in the 'Details' section of your subreport.
    Now run the main report, it will ask you for a prompt. The same parameter will be displayed in your subreport.
    Hope this works for your cause.
    Regards,
    Shreyans

  • SSRS2014 - Retrieve parameters for a report?

    Is there a SSRS SOAP call that I can use to retrieve the parameters for a given report?
    thanks
    scott

    Hello Scott,
    See
    ReportingService2010.GetItemParameters
    Method
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Field Names for Answers reports in Publisher.

    I have found that the field names(xml element names) that publisher creates for datasets created from BI Answers reports are taken from the formula section of the field.
    This creates two big problems.
    1. The field names can be huge if you have a complicated formula in the field for BI answers. Good luck using that as anything but dropping on a page.
    2. If the formula in the BI Answer report is changed in anyway the link between the field in the template and publisher is broken as publisher renames the data field name (xml Element).
    Is there another layer of abstraction I can use to counter this? Some type of datafield mapping? Maybe something I can do in BI Answers?
    Assume not all of my Datafields can be fixed by moving the formula to the RPD layer for calculation.
    This is sort along the lines of previous thread. The method:
    REPORT NAME -> Data Model -> Groups -> GROUP NAME -> Right Click on the field name -> Property Palette -> XML Tag
    Does not seem to work in my version of Publisher. Or I need more help with it. I have not Groups Option.
    Anyway to change the XML element name

    The closest you can get to this is importing a query from the Answers catalog into Publisher, but there huge limitations to what you can then do with it. The chances are it will not actually meet your requirements and you will end up building the query from scratch in Publisher.
    Publisher isn't always as easy to use as it might seem, I would urge you to look at the examples on OTN and follow the tutorials to get a better idea of what is possible, there is too much to explain through the forum.
    http://www.oracle.com/technology/obe/obe_bi/bipub/index.html
    Regards
    Ed

  • Auto-populating the selection screen parameters for web report

    hello
    i am having a scenario where my web report is a link to another internet application (a BSP application) and it is called by clicking some link or button on the BSP page.
    can i pass the selection values for BW Web report directly from BSP application through a query string or by setting some cookie values so that the user will directly view the report on click of that link?
    Thanks in advance.
    Regards
    Rajeev

    we can do this by adding a URL as the query-string with web template_id and with the selection screen parameters as key value pairs

  • How to create user-friendly MDX parameters for MS Reporting Services?

    In SQL Server Reporting Service, when I connect to my cube to create a dataset, in Query Designer I create my query with a filter. It creates the following MDX for me:
    SELECT NON EMPTY
    KPIValue("KPI1"), KPIGoal("KPI1"), KPIStatus("KPI1")
    ON COLUMNS, NON EMPTY
    [Create Date].[Month Num].[Month Num].ALLMEMBERS * [Create Date].[Hierarchy].[Month].ALLMEMBERS
    DIMENSION PROPERTIES MEMBER_CAPTION,
    MEMBER_UNIQUE_NAME ON ROWS FROM
    ( SELECT
    ( STRTOSET(@CreateDateYear, CONSTRAINED) )
    ON COLUMNS FROM [ERP])
    WHERE
    ( IIF( STRTOSET(@CreateDateYear, CONSTRAINED).Count = 1,
    STRTOSET(@CreateDateYear, CONSTRAINED),
    [Create Date].[Year].currentmember ) )
    CELL PROPERTIES VALUE, BACK_COLOR,
    FORE_COLOR, FORMATTED_VALUE,
    FORMAT_STRING, FONT_NAME, FONT_SIZE, FONT_FLAGS
    When I add this dataset, Reporting Services creates a parameter named CreateDateYear. When I pass a value like "2014" to this parameter I get nothing and I have to pass a value like
    [Create Date].[Year].&[2014].
    How can I change my report to change this parameter for passing the value like "2014" instead of ugly and not user-friendly string
    [Create Date].[Year].&[2014]?

    Hi ,
      Follow the below steps
      1. Create a dataset with MDX as below which would return the member caption (2005,2006 etc) and member uniquename ([Date].[Calendar Year].&[2005],[Date].[Calendar
    Year].&[2006] etc)
    WITH MEMBER [Measures].[ParameterCaption] AS [Date].[Calendar Year].CURRENTMEMBER.MEMBER_CAPTION
    MEMBER [Measures].[ParameterValue] AS [Date].[Calendar Year].CURRENTMEMBER.UNIQUENAME
    SELECT {[Measures].[ParameterCaption], [Measures].[ParameterValue]} ON COLUMNS
    , [Date].[Calendar Year].ALLMEMBERS ON ROWS
    FROM [Adventure Works]
    2. In the parameter's available values choose the above data set and set the options as 
    Value Field = ParameterValue
    ValueCaption = ParameterCaption
    In this way use will see only the years and based on the selection the respective values will be passed to the dataset as parameter.
    Best Regards Sorna

  • Date prompt for Answers report.

    Hi,
    I created a report in Answers. I created a prompt on a date field which shows when the Account was closed. I foramtted the date field into a custom date format and the results also display in that format. for ex: the format I created was DD-MMM-YY. When I create a prompt for this field the drop down values show as 4/24/2008 12:00:00 AM, But I want the drop down for the prompt to be displayed as the same format as the column i.e DD-MMM-YY. This is for just a regular report prompt (column filter prompt) and not any dashboard prompt. How can I acheive this? Thanks.

    hi,
    But the prompt displays DD/MM/YYYY. How can I make the prompt also display DD-MMM-YY? Also if I create a dashboard then how do I use the same prompt with DD-MM-YY formatIn both the report and prompt fx use the following syntax and make is prompted on report column "fx"
    EVALUATE('TO_CHAR(%1,%2)' AS CHARACTER ( 30 ),Dim-Date.REPORT_DATE, 'DD-MON-YY')
    Thanks,
    Saichand.v

  • Need help on Date Parameters for BIP Report

    Hello,
    I need to add a date parameter in my BIP report. I have used a date parameter on a BIP report that has a for-each grouping, but my BIP report RTF template that was converted from Actuate do not have a for-each grouping and I was getting an error when I validate the RTF template. Can someone please help?
    Thank you

    can u send me template and xml . i will try at my side. email: [email protected]
    Some times converted templates won't work straight away. you still need to do manual adjustments to make it work based one the requirement u have.
    check this:
    http://bipconsulting.blogspot.com/2009/08/actuate-to-bi-publisher-reports.html

  • Parameters for web reports

    What is this limitation of 256 characters that I hear about?
    Thanks for your assistance.
    null

    There isn't one. There was an IE bug with IE5 and Adobe Acrobat not permitting URL's greater than 255 chars - otherwise there shouldn't be an issue.
    Regards
    The Oracle Reports Team http://technet.oracle.com

  • Challenge passing parameters to discoverer report

    Hello everyone, I am following the instructions on this website - http://learndiscoverer.blogspot.com/2008/11/metalink-note-304192.html
    Basically, we want to use parameters for discoverer reports, especially date parameters because of some performance issues we have been having with discoverer.
    Here is the process I am using. Please correct me if I am doing anythinng wrong.
    1. Login to apps schema and create context
    CREATE OR REPLACE CONTEXT DISCO_CONTEXT
    USING EUL4_US.DISCO_PKG
    2. Login to eul4_us schema and create package
    CREATE OR REPLACE PACKAGE DISCO_PKG
    AS
    FUNCTION set_context(p_name VARCHAR2,
    p_value VARCHAR2) RETURN VARCHAR2;
    FUNCTION show_context(p_name VARCHAR2) RETURN VARCHAR2;
    END disco_pkg;
    CREATE OR REPLACE PACKAGE BODY DISCO_PKG
    AS
    FUNCTION set_context(p_name VARCHAR2,
    p_value VARCHAR2) RETURN VARCHAR2
    IS
    BEGIN
    dbms_session.set_context('DISCO_CONTEXT', p_name, p_value);
    RETURN p_value;
    END set_context;
    FUNCTION show_context(p_name VARCHAR2) RETURN VARCHAR2
    IS
    BEGIN
    RETURN SYS_CONTEXT('DISCO_CONTEXT', p_name);
    END show_context;
    END disco_pkg;
    Then grant access to apps
    GRANT ALL ON DISCO_PKG TO APPS;
    Then import the functions show_context and set_context into discoverer
    3. Go back to apps schema and create synonym
    CREATE PUBLIC SYNONYM DISCO_PKG FOR EUL4_US.DISCO_PKG;
    4. Create discoverer custom folder using the following query:
    SELECT DISTINCT
    pet.run_result_id
    ,papf.employee_number
    FROM
    per_all_people_f papf,
    --hr_lookups hl,*
    per_all_assignments_f paaf,
    hr_all_organization_units haou,
    per_jobs pj,
    per_grades pg,
    pay_people_groups ppg,
    --per_addresses pa,*
    --hr_locations_all hla,*
    per_positions pps,
    per_people_f ppf,
    pay_assignment_actions paa,
    pay_payroll_actions ppa,
    PAY_RUN_RESULTS_V pet,
    --pay_element_types_v1 pet,
    pay_all_payrolls_f papaf
    WHERE
    papf.person_id=paaf.person_id
    AND papf.employee_number=ppf.employee_number
    AND paaf.organization_id=haou.organization_id
    AND paaf.job_id=pj.job_id(+)
    AND paaf.grade_id=pg.grade_id(+)
    AND paaf.people_group_id=ppg.people_group_id(+)
    AND paaf.position_id=pps.position_id(+)
    AND paaf.business_group_id=0
    AND paa.assignment_id = paaf.assignment_id
    AND paa.payroll_action_id = ppa.payroll_action_id
    AND paa.assignment_action_id=pet.assignment_action_id
    AND paaf.payroll_id=papaf.payroll_id
    AND ppa.effective_date BETWEEN paaf.effective_start_date AND paaf.effective_end_date
    AND ppa.effective_date BETWEEN papf.effective_start_date AND papf.effective_end_date
    AND ppa.action_type ='R'
    AND ppa.action_status = 'C'
    AND paaf.assignment_type = 'E'
    AND paaf.primary_flag = 'Y'
    AND haou.business_group_id=0
    AND ppa.effective_date = TO_DATE(SYS_CONTEXT('DISCO_CONTEXT','PAYROLL_DATE'))
    5. Create a parameter called Payroll Date. Default value is set to NULL and the "Create Condition" checkbox is unchecked.
    6. Create a calculation
    SET_CONTEXT('PAYROLL_DATE', TO_CHAR(:Payroll Date))
    And that's it.
    The thing is, this doesn't work for me.
    But for the same query, if I enter the date value I am substituting, values show up. So it seems for some reason, the context value probably isn't being set or thereabouts.
    I have tried setting the context manually in a TOAD session using:
    declare
    v_ret varchar2(50);
    begin
    --dbms_session.set_context('DISCO_CONTEXT', 'PAYROLL_DATE', '31-MAR-2010');
    v_ret := disco_pkg.set_context('PAYROLL_DATE', '01-MAR-2010');
    dbms_output.put_line(v_ret);
    end;
    And afterwards run the query:
    select sys_context('DISCO_CONTEXT', 'PAYROLL_DATE') from dual
    And results do show up here. So I'm wondering what could be wrong.
    Please help.

    Hi ,
    Are you saying I should create a new workbook that is not based on my custom folder for setting and showing the context value? You don't need to create a new workbook, you can just create a new worksheet in your report workbook, but you will need two sheets to use contexts. The sheet that sets the contexts should not be based on your custom folder, but on a folder that returns a single row. You cannot set and check contexts in a single SQL statement, so you have to have 2 worksheets.
    You can default the contexts using a trigger or initialisation SQL so that the user only has to set the contexts if they are not using the defaults.
    Rod West

  • BO xi 3.1 u2013 schedule a template for multiple reports with different column

    Hi,
    I need to migrate the existing reports from SQL Server Reporting Services to BO, and the column order in the report is very important to the clients since clients have existing code to ingest these reports into their database. Now I want to schedule a single template with different parameters for all reports in BO, or create a single template with lot of parameters for all reports. My question is how I might use one template to create multiple reports with different column orders in the reports?
    For example, client A has the following column order in their report: firstName, LastName, DateBirth, SSN. Client B has the following column order in their report: SSN, DateBirth, LastName, FirstName. Can I use one template to create these multiple reports?
    Thanks!

    Hi,
    The only approach I can think of is to create a template report which uses variables
    For each column you would need to variable
    v_columnAName and v_columnAValue
    v_columnAName would have a if statement in it
    =if([client]="clientA" or [client]="clientC";NameOf([firstName]);if([client]="clientB";NameOf([SSN]);NameOf([lastName]));
    v_columnA would have a if statement in it
    =if([client]="clientA" or [client]="clientC";[firstName];if([client]="clientB";[SSN],[lastName]));
    This would only work when you had a small set of clients.
    This might be more managable if it was done in the universe
    Regards
    Alan

  • Design a single template for multiple reports with different column order

    Hi,
    I need to migrate the existing reports from SQL Server Reporting Services to Crystal Report 2008, and the column order in the report is very important to the clients since clients have existing code to ingest these reports into their database. Now I want to create a single template with lot of parameters for all reports. My question is how I might use one template to create multiple reports with different column orders in the reports?
    For example, client A has the following column order in their report: firstName, LastName, DateBirth, SSN. Client B has the following column order in their report: SSN, DateBirth, LastName, FirstName. Can I use one template to create these multiple reports?
    Thanks in advance.

    -As I mentioned you can find Template Field object in Insert menu of crystal report Designer 2008.
    As soon as you select Template Field object you will be able to see a box beside ur mouse cursor. Drag and drop this box at required place. Now when you place this object in report you will get some thing like this "<TemplateField1>" listed under Formula Fields tree. Double click "<TemplateField1>" formula to add your conditions.
    -I have not tested it for large amount of Customers. However as the number of customer increases the number of conditions will get increased.
    For the customer that want the same ordering of columns you can put those customers under one condition.
        for Example...
              if(?Client in ['clientA','clientA']) then
                        <TableName>.<Field>......
    -What do you mean be 40 columns? Do you mean 40 fields or you want to show 40 columns in report? Please elaborate.
    Regards,
    Amrita
    Edited by: Amrita Singh on May 21, 2009 7:54 AM

  • Parameter for BI-report-URL

    Hi,
    I need embed a BI Report in a factsheet of CRM 2007. I have absolute no idea about BI. So, now I have a stupid question.
    Given  a BI-report-ID ,e.g.
      0TPLB_0CSALMC02_Q009_V01, but it is still necessary to fill out the so called parameters for BI-Report-URL.  How can I know, which parameters are to be passed? Where can I find the parameter?
    Thanks in advance
    yy

    Hello Holger,
    it is a pretty good hint. thanks  and point awarded!
    I looked through the web API reference, mentioned in IMG guide .  But I have still the question:
    Does a BI report accept only specific parameters ? just like a method , function ....
    I mean, whether there is a table, where all corresponding parameter are listet for each BI-report ID .
    Additionally,
    Where are some specific parameter names declared? For example  "0Country". How can I know, that the "0Country" refers  exactly to  country, instead of other concepts. 
    Thanks a lot
    Siwei

  • Passing Parameters for Dashboard Prompts to Answers Report

    I have the following requirement.
    I want to pass the value of a 2 dashboard prompts to an answers report. What is the syntax using GO URL method.
    Thoughts anyone?

    Refer to this link on how to achieve this: http://www.iwarelogic.com/2010/09/integrating-oracle-obiee-content-using-go-url-850/
    Regards,
    -Amith.

  • How to use different parameters for two tables(chart and Table) in one report in SSRS?

    Hi,
    Here is my requirement, i have 7 parameters in my report(Site,Account,LOB,year,Month,WeekDay and Date_Filter),
    and in my report i have one table and one Chart,
    my requirement is the table in the report has to show the data for 6 parameters only i.e(Site,Account,LOB,year,Month and WeekDay).so the table has to consider only 6 parameters, and it has ignore the 7th parameter, table should not consider Date_Filter parameter.
    And Chart has to consider all 7 parameters.
    so, when we preview the report table has to show the data for only 6 parameters and chart has to show the data for all 7 parameters.
    if there is a way to get this Please reply me ASAP, it is an urgent requirement.
    Thanks in Advance,
    Naveen

    Hi Naveen,
    Refer below link to create multiple datasets as suggested by Gnanadurai
    http://technet.microsoft.com/en-us/library/ff714047(v=sql.105).aspx
    Thanks
    Swapna

Maybe you are looking for