Dataset as Parameter

Hello!
I would just like to ask if there's a way to make a dataset an oracle stored procedure parameter without looping through all the rows in the dataset?
Thanks guys!

the OleDB variable datasetYou might be better off in the ODP.NET forum.
Cheers, APC

Similar Messages

  • SSRS filter a dataset if parameter is "Yes"

    hello i have a report  as below
    with date Parameters this all works fine! 
    date from                date too 
    01/01/2011   21/02/2013 
    name        amount      date 
    test1 100
              01/01/2012
    test2        200             01/02/2013 
    but what i want is to have another parameter which says something like yes or no and a filter on the data set which responds to the parameter
    so that if the parameter = "yes" then filter the data set so as "not" too include test1 as a company but if "NO" then include all records! 
    Steve mason

    Add new parameter in SSRS report and pass it down to query .
    In the query add a filter like below
    WHERE....
    AND (name <> 'test1' OR @NewParameter = 'No')
    or if you want to do this in SSRS dataset do like below
    =IIF(Parameters!NewParameter.Value="Yes",Fields!Name.Value,0) for Expression
    <> for operator
    and
    =IIF(Parameters!NewParameter.Value="Yes","test1",1) for Value
    in dataset filter tab as per below
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Filtering SSRS dataset on parameter INT

    Hi.
    I have a simple report which has a Week parameter.
    Week is a multi select parameter populated from a dataset (values 1-52).
    I have now added a filter to the main dataset:
    Expression: [Week]
    Operator: In
    Value: Split(Fields!Week.Value, ",")
    I get an error as soon as I try running the report with this filter:
    An error has occurred during report processing. (rsProcessingAborted)
    The processing of FilterExpression for the dataset ‘ProjectTimesheetDataSet’ cannot be performed. Cannot compare data of types System.Int32 and System.String. Please check the data type returned by the FilterExpression. (rsComparisonTypeError)
    I have tried wrapping the the expression and Value with Cint, no joy.
    If I write out the value of Week to the page using the Join funtoin I get resutls i.e. 48,49,50
    Where am I going wrong??

    Hi CDG100,
    Based on my research, I think this issue is caused by the data type mismatch between Week field and parameter WeekNumber. If I understand correctly, the Week field is Integer data type in your dataset, while the parameter WeekNumber is Text (String) data
    type. In your scenario, even we change the field to Integer (from Text), it will also turn back to Text. Because the filter always change the data type of Expression to match the Value data type. That’s the reason why the error message that “Cannot compare
    data of types System.Int32 and System.String” appears.
    So in order to fix the issue, please try to use an Integer data type field as the parameter values by using Get values from a query. Then the Week field and parameter WeekNumber can be compared.
    If there are any misunderstanding, please elaborate the issue for further investigation.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to use Oracle refcursor dataset output parameter from SP

    Can I request for help on how to use Oracle Output parameter from a stored procedure as a source. I need the output tobe stored in a flat file
    Thanks
    Abhijit
    Message was edited by:
    Abhijit77

    yes I would like to use it for ODI.. I would like the ouput of the refcursor to be fed to a text file using ODI. How to handle the records returned by the refcursor and map with txt file.

  • SSRS report with tabular model - MDX query to filter parameter data based on Tuple value.

    Hello Everyone,
    I am working on SSRS report in which a tabular model is being used as a backend.
    I want to filter the report parameters which are dependent to other parameters. Like, country, state, and cities drop downs.
    All are multi-select parameters. I am using MDX queries to filter the parameters data.
    Based on selected one or more countries, the data of states needs to be filtered.
    The point is the text which is being displayed in state dropdown for each state name is combination of 3 different members.
    So, I created the following Tuple for the same and can see the expected display names in states dropdown.
    "("+
    [Location].[Code 1].CURRENTMEMBER.UNIQUENAME +","+
    [Location].[Code 2].CURRENTMEMBER.UNIQUENAME +","+
    [Location].[Descr].CURRENTMEMBER.UNIQUENAME +")"
    Now, when I would like filter the cities data based on selected one or more states, I am unable to pass the multiple Tuples (more than one selected Tuples) as parameter for cities dropdown.
    The following is my query for City parameter. It is working well when I select only one State from the dropdown.
    However, when I select multiple states, it is unable to convert the Tuple into SET in ELSE part of IIF condition specified in following query.
    Can anybody help me how to resolve the error that I am getting about STRTOSET function?
    Or
    Are there any other alternatives to achieve this requirement?
    Any help would be much appreciated.
    Query:
    WITH MEMBER [Measures].[ParameterCaption] AS [City].[City Business].CURRENTMEMBER.MEMBER_CAPTION
    MEMBER [Measures].[ParameterValue] AS [City].[City Business].CURRENTMEMBER.UNIQUENAME
    MEMBER [Measures].[ParameterLevel] AS [City].[City Business].CURRENTMEMBER.LEVEL.ORDINAL
    SELECT {[Measures].[ParameterCaption], [Measures].[ParameterValue], [Measures].[ParameterLevel]} ON COLUMNS ,
    [City].[City Business].Children ON ROWS
    FROM (
    SELECT ( STRTOSET(@State, CONSTRAINED) ) ON COLUMNS FROM [Model])
    WHERE ( IIF( STRTOSET(@State).Count= 1,
    STRTOTUPLE(@State, CONSTRAINED),
    STRTOSET("{
    ("+
    [Location].[Code 1].CURRENTMEMBER.UNIQUENAME +","+
    [Location].[Code 2].CURRENTMEMBER.UNIQUENAME +","+
    [Location].[Descr].CURRENTMEMBER.UNIQUENAME
    + ")
    }",CONSTRAINED )) ) CELL PROPERTIES VALUE
    Thanks, Ankit Shah
    Inkey Solutions, India.
    Microsoft Certified Business Management Solutions Professionals
    http://www.inkeysolutions.com/MicrosoftDynamicsCRM.html

    Hi,
    I used following dynamic query in expression of dataset of parameter and it works like a charm.
    "WITH MEMBER [Measures].[ParameterCaption] AS [City].[City Business].CURRENTMEMBER.MEMBER_CAPTION "&
    "MEMBER [Measures].[ParameterValue] AS [City].[City Business].CURRENTMEMBER.UNIQUENAME "&
    "MEMBER [Measures].[ParameterLevel] AS [City].[City Business].CURRENTMEMBER.LEVEL.ORDINAL "&
    "SELECT {[Measures].[ParameterCaption], [Measures].[ParameterValue], [Measures].[ParameterLevel]} ON COLUMNS , " &
    "[City].[City Business].Children ON ROWS " &
    " FROM [Model] WHERE ({"& join(Parameters!Location.Value,",") &"}) CELL PROPERTIES VALUE"
    Thanks, Ankit Shah
    Inkey Solutions, India.
    Microsoft Certified Business Management Solutions Professionals
    http://www.inkeysolutions.com/MicrosoftDynamicsCRM.html

  • Dataset query issues twice if the dataset is connected to matrix and used in multilookup function

    hello everybody.
    could not find any information if this is an intended behavior:
    dataset query issues twice if the dataset is connected to matrix and used in multilookup function
    parameters in both queries are the same
    ssrs: 2008 r2, sharepoint 2010 integrated
    sharepoint 2010: september 2014 cu
    thanks in advance
    Sergey Vdovin

    Hello, Wendy.
    I prepared a very empty sample report for you to demonstrate the problem - with this report, i hope, there is no place to discuss the shrinking of time data retrieval.
    There is one dataset, one parameter and one lookup function. The query is executed twice.
    <?xml version="1.0" encoding="utf-8"?>
    <Report xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner" xmlns:cl="http://schemas.microsoft.com/sqlserver/reporting/2010/01/componentdefinition" xmlns="http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition">
    <AutoRefresh>0</AutoRefresh>
    <DataSources>
    <DataSource Name="DataSource1">
    <DataSourceReference>http://t005/ProjectBICenter/DocLib/IntegrationDBVdovin.rsds</DataSourceReference>
    <rd:SecurityType>None</rd:SecurityType>
    <rd:DataSourceID>7e554344-d6c2-48a5-a7f4-1d24608cb4b5</rd:DataSourceID>
    </DataSource>
    </DataSources>
    <DataSets>
    <DataSet Name="DataSet1">
    <Query>
    <DataSourceName>DataSource1</DataSourceName>
    <CommandText>select 1 as temp, '$' as tempname</CommandText>
    <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
    </Query>
    <Fields>
    <Field Name="temp">
    <DataField>temp</DataField>
    <rd:TypeName>System.Int32</rd:TypeName>
    </Field>
    <Field Name="tempname">
    <DataField>tempname</DataField>
    <rd:TypeName>System.String</rd:TypeName>
    </Field>
    </Fields>
    </DataSet>
    </DataSets>
    <ReportSections>
    <ReportSection>
    <Body>
    <ReportItems>
    <Textbox Name="ReportTitle">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>=Lookup(1,Fields!temp.Value,Fields!tempname.Value,"DataSet1")</Value>
    <Style>
    <FontFamily>Verdana</FontFamily>
    <FontSize>20pt</FontSize>
    </Style>
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:WatermarkTextbox>Title</rd:WatermarkTextbox>
    <rd:DefaultName>ReportTitle</rd:DefaultName>
    <Top>0mm</Top>
    <Height>10.16mm</Height>
    <Width>139.7mm</Width>
    <Style>
    <Border>
    <Style>None</Style>
    </Border>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </ReportItems>
    <Height>57.15mm</Height>
    <Style>
    <Border>
    <Style>None</Style>
    </Border>
    </Style>
    </Body>
    <Width>152.4mm</Width>
    <Page>
    <PageFooter>
    <Height>11.43mm</Height>
    <PrintOnFirstPage>true</PrintOnFirstPage>
    <PrintOnLastPage>true</PrintOnLastPage>
    <Style>
    <Border>
    <Style>None</Style>
    </Border>
    </Style>
    </PageFooter>
    <PageHeight>29.7cm</PageHeight>
    <PageWidth>21cm</PageWidth>
    <LeftMargin>2cm</LeftMargin>
    <RightMargin>2cm</RightMargin>
    <TopMargin>2cm</TopMargin>
    <BottomMargin>2cm</BottomMargin>
    <ColumnSpacing>0.13cm</ColumnSpacing>
    <Style />
    </Page>
    </ReportSection>
    </ReportSections>
    <ReportParameters>
    <ReportParameter Name="ReportParameter1">
    <DataType>String</DataType>
    <DefaultValue>
    <Values>
    <Value>1</Value>
    </Values>
    </DefaultValue>
    <Prompt>ReportParameter1</Prompt>
    <ValidValues>
    <DataSetReference>
    <DataSetName>DataSet1</DataSetName>
    <ValueField>temp</ValueField>
    <LabelField>tempname</LabelField>
    </DataSetReference>
    </ValidValues>
    </ReportParameter>
    </ReportParameters>
    <rd:ReportUnitType>Mm</rd:ReportUnitType>
    <rd:ReportServerUrl>http://t005/ProjectBICenter</rd:ReportServerUrl>
    <rd:ReportID>cd1262ef-eca7-4739-a2ce-d3ca832d5cd6</rd:ReportID>
    </Report>
    Sergey Vdovin

  • SSRS countrow Aggregate error(Aggregate and lookup functions cannot be used in query parameter expressions.)

    Below expression works fine with text box but gives error in dataset expression.
    ="SET FMTONLY OFF select  "+ join(Parameters!Column.Value,",") +" FROM pamcustom.dbo.vw_HFL_HFD_HotfileData INNER JOIN pamcustom.dbo.HFL_HFB_HotFileBatch  on BatchID = HFB_intBatchID where BatchID ="+Parameters!BatchId.Value+"
    and "+Parameters!cmbTranType.Value+" "+ iif(CountRows("DS_Aml_Mnr_Iss_Desc")=Parameters!Mnr_Iss_Desc.count," "," and aml_mnr_iss_desc in "+"('" & join(Parameters!Mnr_Iss_Desc.Value,"','")
    & "')")+iif(CountRows("ds_ReportingCategory")=Parameters!ReportingCategory.count," "," and ReportingCategory in "+"('" & join(Parameters!ReportingCategory.Value,"','") & "')")+iif(CountRows("ds_NAICSubGroup")=Parameters!NAICSubGroup.count,"
    "," and naicsubgroup in "+"('" & join(Parameters!NAICSubGroup.Value,"','") & "')")+iif(CountRows("ds_PortTrading")=Parameters!PortTrading.count," "," and porttrading in "+"('"
    & join(Parameters!PortTrading.Value,"','") & "')")+iif(CountRows("ds_GL_LE")=Parameters!GL_LE.count," "," and gl_le in "+"('" & join(Parameters!GL_LE.Value,"','") &
    "')")+iif(CountRows("ds_coagroup")=Parameters!cmbCoaGrp.count," "," and coagroup in "+"('" & join(Parameters!cmbCoaGrp.Value,"','") & "')")+iif(CountRows("Portfolio")=Parameters!cmbPort.count,"
    "," and portfolio in "+"('" & join(Parameters!cmbPort.Value,"','") & "')")+IIf(IsNothing(Parameters!txtSecID.Value)," "," and secid in ('"+Replace(Parameters!txtSecID.Value,",","','")+"')")+iif(IsNothing(Parameters!minPortFilter.Value)
    and IsNothing(Parameters!MinPort.Value)," "," and portfolio "+Parameters!minPortFilter.Value+Parameters!MinPort.Value)+iif(IsNothing(Parameters!maxPortFilter.Value) and IsNothing(Parameters!MaxPort.Value)," ","
    and portfolio "+Parameters!maxPortFilter.Value+Parameters!MaxPort.Value)+iif(IsNothing(Parameters!minCoaFilter.Value) and IsNothing(Parameters!txtMinCoa.Value)," "," and portfolio "+Parameters!minCoaFilter.Value+Parameters!txtMinCoa.Value)+iif(IsNothing(Parameters!maxCoaFilter.Value)
    and IsNothing(Parameters!txtMaxCoa.Value)," "," and portfolio "+Parameters!maxCoaFilter.Value+Parameters!txtMaxCoa.Value)
    I guess the error " Aggregate and lookup functions cannot be used in query parameter expressions." is because I am using CountRow to ensure that if all values of multi select all selected i will not use that filter in where clause.
    Pls. guide...

    Hi, Include your parameter total count in the dataset for parameter and instead of using countrows() function use the count from dataset in the expression.
    Hope this helps.........
    Ione

  • Default Parameter Not Working

    Hello,
    I have an SSRS report with a multi value parameter assigned to it. I have also assigned a default value so that when the report is run, the report will initially open based on the default values. However, the report still prompts the user to chose a value
    from the picklist first upon running the report without firing the report based on the default parameter. To add more context, my multi value parameter and default parameter come from two different datasets. I have also based my query to check if values are
    not null as a condition. Any help regarding this would be greatly appreciated!

    I think the issue is your default parameter value is not included among the values returned by your dataset which is used for filling the parameter combo. Thats when it selects nothing and waits for the user selection.
    What you need to do is to tweak the dataset for parameter values population and also include logic to return default value also within it. Then once report runs it will show default value as selected and render the report with it.
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • 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

  • Report Cache not clearing

    Created a report that executes 3 stored procedures:
    first one deletes data from a tablex
    second one adds data to tablex based on a query
    third one adds data to tablex based on different query
    report is run based on a date range.
    date range1 returns proper results
    date range2 returns proper results
    date range1 returns double results?  cache flag is set to clear.  according to rules, if parameterized, report should not use cache.
    Help?

    there is one dataset -> tablea
    parameter date range - 06/30/2014 - 07/24/2014, returns 24516 records   first time program is executed
    parameter date range - 05/23/2014 - 06/29/2014, returns 29823 records   second time program is executed
    parameter date range - 06/30/2014 - 07/24/2014, returns 49032 records   third time program is executed    --> expected 24516
    report is defined with sql statements as follows:
    stored procedure execute a delete data from tablea
    stored procedure execute sqla insert to tablea
    stored procedure execute sqlb insert to tablea
    produce report layout
    I view the data in tablea in sql to know my record counts.

  • Dashcode - webform - back

    I am writing a mulit-level list where I have 3 different lists I want to Traverse. After playing around with Stack-Layout for a while I realized that to navigate the 12 layers of the 3 different lists I would need to create 12 views.
    So I abandonded this and put a side-to-side list inside a browser inside a custom container and wrote a little bit of code to change the URL as I navigate down.
    Brilliant. Worked Great. But when I navigate backup using the back button it does not refresh the data. I figured I needed to write an event to attach to the back button and that fires but the data does not refresh and on the home button it is blank.
    Written in Pseudo Code here is what I wrote
    function backButtonFired()
    var browser = getbrowser // remember is pseudo code
    var list = getlist
    var dataset = getdataset
    var parent = dataset.objects["parentid"] // still pseudo code not exact syntax
    dataset.setparameter(parameter.idparent, parent)
    list.refreshData.
    Anyway it all runs but the data does not refresh. Any ideas helps or hints would be greatly appreciated.
    Devon

    I've been struggling with this same problem for hours and after loads of fruitless searching and messing around, I've finally solved it.
    Finally found a solution when I realised that all the javascript code for the dashcode parts is stored here:
    /Developer/Applications/Dashcode.app/Contents/Frameworks/CYKit.framework/Resourc es/Parts
    I had a look at browser.js and at the top it lists the public methods/properties and 2 minutes later I had this working.  Bit frustrating as this is not complicated and just a tiny bit of documentation on dashcode parts would have saved me a lot of time.
    Anyway, the browser.goForward() method can take a third parameter called backHandler which is a callback function called when back is clicked, so all you need to do is pass your backButtonFired function and you should be good to go, e.g.
      browser.goForward('newviewid', 'New Title', function(){
        alert('Back Clicked!');
        list.reloadData()
        //etc
    Hope this is in time to be some help to you still and to anyone else struggling with the lack of documentation for dashcode parts would recommend taking a look in the above folder!

  • N00b is in ddesperate need of some SQL help with parameters

    SO I am trying to create a report that will allow the operator to select an application name (appname from table) which I have working as a ripoff of the AdventureWorks db for passing parameters (stored procedure);
    USE [Test]
    GO
    /****** Object:  StoredProcedure [dbo].[App_Get]    Script Date: 2/19/2015 9:40:58 AM ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    ALTER PROCEDURE [dbo].[App_Get]
    @GetName NVARCHAR(500)
    AS
    BEGIN
    ;WITH CTE1
    AS
    SELECT CAST(('<i><j>' + REPLACE(@GetName, ',', '</j></i><i><j>') + '</j></i>' ) AS XML) CSV
    ),CTE2
    AS
    SELECT CAST(i.query('./text()') AS VARCHAR(100))CSV
    FROM CTE1
    CROSS APPLY CSV.nodes('/i/j') As x(i)
    SELECT * FROM ae_apps
    WHERE appname IN (SELECT * FROM CTE2)
    END
    AND I have the script that will allow me to pull the information from the multiple tables;
    select ae_login.usrid, ae_login.usrnam, ae_login.fullnam, ae_audit.tsstamp, ae_audit.eventid, ae_agdesc.description, ae_audit.appid, ae_apps.appname
     FROM ae_login, ae_audit, ae_agdesc, ae_apps
     WHERE ae_login.usrid = ae_audit.usrid
     AND ae_audit.eventid = ae_agdesc.eventid
    AND ae_audit.appid = ae_apps.appid
    order by ae_audit.appid, ae_audit.tsstamp
    BUT I do not know how to tie that selected parameter (appname) from the dropdown list.  Essentially I want the operator to select the (appname) and have the report generate the audit information from script above for just that selected (appname). 
    Any Thoughts would be appreciated.

    Hi cnelsonaa27,
    According to your description, you want to add parameter to the report, then users can select an application name from the parameter drop down list when they preview the report, but you don’t know how to tie the dataset and parameter, right?
    To achieve the goal, please refer to the following steps:
      1. In design surface, in Report Data pane, right-click Data Sources and click Add Data Source.
      2. Type data source name, select Embedded connection, then type select Type and type connection string, or select a shared data source.
      3.Right-click Datasets and click Add Dataset.
      4.Select Use a dataset embedded in my report, the default name is Dataset1, then select data source you added in step2, then copy the query to Query text box:
    select ae_login.usrid, ae_login.usrnam, ae_login.fullnam, ae_audit.tsstamp, ae_audit.eventid, ae_agdesc.description, ae_audit.appid, ae_apps.appname
    FROM ae_login, ae_audit, ae_agdesc, ae_apps
    WHERE ae_login.usrid = ae_audit.usrid
    AND ae_audit.eventid = ae_agdesc.eventid
    AND ae_audit.appid = ae_apps.appid
    order by ae_audit.appid, ae_audit.tsstamp
      5.Right-click Datasets and click Add Dataset.
      6.The default name is Dataset2, select data source from drop down list, then copy the query used to create parameter to Query text box.
      7.Right-click Parameters and click Add parameter, type parameter name and prompt.
      8.Click Available Values in left pane, select Get values from a query, select Dataset2 from Dataset drop down list, select appname as Value field, select appname as Label field.
      9.Right-click Dataset1 to open Dataset Properties dialog box, click Filters in left pane, click Add button.
      10.Select appname from Expression drop down list, set Operator to =, then set value to [@ParameterName], click OK.
    For more information about Adding Parameters to a Report, please refer to the following document:
    https://technet.microsoft.com/en-us/library/aa337432%28v=sql.105%29.aspx?f=255&MSPPError=-2147217396
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    Wendy Fu
    TechNet Community Support

  • Parameter is not working in HTTP( XML FEED) dataset in bi publisher 11g

    Hi,
    I have used parameter in BI Publisher 10g for HTTP(XML Feed) dataset to have dynamic url which worked by using ${p_url} where p_url is the parameter.
    The same procedure when I use in BI Publisher 11g is not working.It does not consider the parameter ${p_url} and throws the following exception
    *oracle.xdo.dataengine.datasource.plugin.DataAccessException: java.lang.Exception: java.net.MalformedURLException: no protocol: ${p_url}*
    Has anyone faced this issue?
    Please let me know if am doing something incorrect here.
    Thanks &Regards,
    Balaji

    Thanks for your reply.
    In BI Publisher 10 g we are using it this way ${p_url}.
    p_url is the parameter which gives us the entire URL for the XML feed.
    e.g. p_url=http://rss.news.yahoo.com/rss/topstories
    The p_url takes the entire url.
    Please let me know if this can be done the same way in 11g.
    Thanks,
    Balaji

  • Ssrs parameter default value not showing ,when available values is binded to query dataset

    I have developed a report using sql server data tools for vsiual studio2012 ,i have defined few parameters ,on one of the parameter when available values is binded to a dataset query, the report default value is  not showing in report preview .
    Many Thanks
    Chandra

    Hi Chandra,
    According to your description, you have set the default value for a parameter, but it's not displayed when initially running the report. Right?
    In this scenario, since you have set the available values bind to query, so your default values should be within these available values. If these default values are not within the available values, the default values will be not displayed. So please check
    the default values.
    Reference:
    Add, Change, or Delete Default Values for a Report Parameter (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • [SSRS] Abnormal behavior for parameter usage in checking case within query of dataset

    Details :
    Following error is displayed when I preview a report (SUR_EXPLORER-NG.rdl) in Microsoft Visual Studio:
    “An error occurred during local report processing.
    An error has occurred during local report processing.
    Cannot set the command text for dataset 'GET_FDA_CONFIG_ID'.
    Error during processing of the CommandText expression of dataset 'GET_FDA_CONFIG_ID'.”
    Following is the query set in dataset 'GET_FDA_CONFIG_ID':
    =IIF(
    Parameters!IN_Dimension.Value = -1,
           "SELECT -1 AS FDA_CONFIG_ID FROM DUAL WHERE :H_IN_InstanceId = :H_IN_InstanceId",
           "SELECT RA_SUMM_RECON_MEASURE.FDA_CONFIG_ID AS FDA_CONFIG_ID FROM RA_SUMM_RECON_MEASURE, RA_SUMM_RECON_HISTORY WHERE RA_SUMM_RECON_MEASURE.RECON_ID
    = RA_SUMM_RECON_HISTORY.RECON_ID AND RA_SUMM_RECON_HISTORY.SUMM_RECON_INSTANCE_ID = :H_IN_InstanceId"
    As a trial, I change the report parameter used in the checking condition as follows (SUR_EXPLORER-OK.rdl):
    =IIF(
    Parameters!H_IN_InstanceId.Value = -1,
           "SELECT -1 AS FDA_CONFIG_ID FROM DUAL WHERE :H_IN_InstanceId = :H_IN_InstanceId",
           "SELECT RA_SUMM_RECON_MEASURE.FDA_CONFIG_ID AS FDA_CONFIG_ID FROM RA_SUMM_RECON_MEASURE, RA_SUMM_RECON_HISTORY WHERE RA_SUMM_RECON_MEASURE.RECON_ID
    = RA_SUMM_RECON_HISTORY.RECON_ID AND RA_SUMM_RECON_HISTORY.SUMM_RECON_INSTANCE_ID = :H_IN_InstanceId"
    Then the mentioned error message is not shown (of course I can’t get desired report generated as the logic is incorrect).
    Besides, I try with other report parameters but the mentioned error message is not shown.

    Hi chrisd921,
    According to your description, you want to do a dynamic query based on parameter select in your report dataset. Right?
    In Reporting Services, if we use query to retrieve data when creating dataset, this query will only be processed one time during report processing. So we can't make it change to another query after we change the parameter selection. And we can't combine
    the data from two query together in a dataset, because in a dataset, if multiple result sets are retrieved through a single query, only the first result set is processed, and all other result sets are ignored. For your requirement, it can't be achieved currently.
    In this scenario, we suggest you add one more column, and put in "-1" in detail row. Then control the visibility to show either "-1" or report data.
    Reference:
    Report Embedded Datasets and Shared Datasets (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

Maybe you are looking for

  • How to improve performance of java.awt.choice

    Hi! In my GUI I'm using a java.awt.choice. The problem is, when my app starts this choice is filled with lots of values with add(...). This takes quite a long time. I've already set the choice invisible before the filling, so a little bit performance

  • ID3 tags won't save

    I've noticed that a few songs that I've imported have incorrect ID3 tags, so I go to "Get Info" to fix them. When I click OK, everything looks good, but as soon as I play the file it goes back to the original tag. I've tried changing the tag and sort

  • Adobe Media Encoder Question

    Hey everyone! So I just switched from using AE CS5.5 to AE CC, which now has me use the Media Encoder to render all my files, which frankly is AWESOME. However, I sometimes like to render out a piece of a long video I'm editing so I can get a glimpse

  • WHAT THE HELL??!! ("copy image" not in 3.6???)

    i use that feature IMMENSELY. i just updated to 3.6, right clicked on some images and IT'S GONE. WHAT GIVES??????!!!!!!!!

  • "Disk cannot be partitioned because some files cannot be moved" NO RECOVERY PARTITION

    After defragmenting my disk the old-fashioned way, I lost my recovery HD partition. I am currently working to get it back. That was in an attempt to create contiguous space for Boot Camp Assistant. While that error is now solved, a new one has popped