PeriodsToDate with Parameter in SSRS
I have the following MDX query in SSRS:
SELECT
NON EMPTY
{ [Measures].[Gross Premium] } ON COLUMNS,
NON EMPTY
PeriodsToDate([Date].[Date Hierarchy].[Year],[Date].[Date Hierarchy].[Quarter].[Qtr 3 - 2013]),
[Broker].[Master Broker Name - Big 6].[Master Broker Name - Big 6].ALLMEMBERS ) }
ON ROWS
FROM [Broker Premium]
However, I need to change the Member Expression in the PeriodsToDate function to use a report parameter value.
If I try this:
SELECT
NON EMPTY
{ [Measures].[Gross Premium] } ON COLUMNS,
NON EMPTY
PeriodsToDate([Date].[Date Hierarchy].[Year],@DateQuarter),
[Broker].[Master Broker Name - Big 6].[Master Broker Name - Big 6].ALLMEMBERS ) }
ON ROWS
FROM [Broker Premium]
It tells me that it expects a member expression for the 2 argument.
is there a way to do this in SSRS?
thanks
scott
thanks David,
that worked, however i then had to add another parameter to constrain the dataset and I keep getting a "failed to retrieve data for report" error. I think it may be my syntax:
="SELECT " +
" NON EMPTY { [Measures].[Gross Premium] } ON COLUMNS, " +
" NON EMPTY { ( PeriodsToDate([Date].[Date Hierarchy].[Year],strtomember("""+Replace(Parameters!DateQuarter.Value,"Quarter", "Date Hierarchy")+""")), " +
" [Broker].[Master Broker Name - Big 6].[Master Broker Name - Big 6].ALLMEMBERS ) } " +
" ON ROWS " +
" FROM ( SELECT ( STRTOSET(""" + "{" + Replace(Join(Parameters!Broker.Value, ","), "Policy", "Master") + "}" +", CONSTRAINED"+""") ) "
+
" ON COLUMNS " +
" FROM [Broker Premium])"
i had to use the Join function since the Broker parameter can have multiple values. Also had to replace the word 'Policy' with 'Master'.
Any ideas?
Similar Messages
-
Ssrs report export to excel along with parameter filters
HI,
In ssrs reports export to excel along with parameter filters,is it possible or not?
Could you please help me..
induHi Sriindu,
According to your description, you want to export the report into an excel file with the report parameter and filters. And you want to filter data in excel. Right?
In Reporting Services, the components for exporting report into a file called Reporting Services Rendering Extension. There are three types of Reporting Services rendering extensions: Data Render Extension,
Soft page-break renderer extensions, Hard page-break rendering extensions. All these three extension are only for rendering data. It can't keep the filters and parameter in the report. Also excel can't support Reporting Services filter in
an excel file. So your requirement can't be achieved.
Reference:
Exporting Reports (Report Builder and SSRS)
Interactive Functionality for Different Report Rendering Extensions (Report Builder and SSRS)
If you have any feedback on our support, please click
here.
Best Regards,
Simon Hou -
How to use the same column value in the casecadeing parameter in ssrs report?
Hi frnz,
I have a table site contains one filed SiteCode
Now i have fields like below using the below quries
SThe above are the two results sets coming from the single table ,now i will use these two results /Query in my ssrs Casecade report
1.First result set/Query will use for the first dataset and use these values in the paramet1 selection as PrimaryCodes
2.Second result set/Query will use for the second Dataset and use these values in the parameter2 as SecondayCodes
3.Using these two datsets and create a Casecadeing paramet in ssrs report.
4.so using this information how can i create the Casecade report ,I have tried different ways but i didnt get the soluction
I have done the follw but ididnt get the o/p.
I have created two parameter and mapped to the results but while paramter selection i will able to see only the first paramet(PrimaryCodes) ,and i will not see the second paramter(SecondaryCodes) it could not show me the second paramter values in the drop
down list.
Note:Here i will use the Single Table to get the all the sitecodes
Can some one please help me out for this report.
Thanks.Hi,
Try below links for your reference:
http://blogs.msdn.com/b/sqlforum/archive/2011/05/26/ssrs-cascading-parameter-with-optional-select-all-in-sql-reporting-services-report.aspx
http://msdn.microsoft.com/en-us/library/dd255197.aspx
http://blogs.msdn.com/b/psssql/archive/2010/01/29/how-to-have-a-select-all-multi-value-cascading-parameter.aspx
sathya - www.allaboutmssql.com ** Mark as answered if my post solved your problem and Vote as helpful if my post was useful **. -
How to pass Cascading Parameter in SSRS using Java
How to pass Cascading Parameter in SSRS using Java---
We are having a problem with dependent parameters.There are three drop down--
1.first dropdown is of Country.When we select a country--Accordingly next dropdown(State)will populate
2.Second dropdown is of State. When we select a state--Accordingly next dropdown(City)will populate.
I have three data sources are
CountryList-
SELECT CountryRegionCode, Name
FROM Person.CountryRegion
ORDER BY Name
StateList
SELECT StateProvinceID, StateProvinceCode, CountryRegionCode
FROM Person.StateProvince
WHERE CountryRegionCode = @CountryRegionCode
ORDER BY StateProvinceCode
CityList
SELECT StateProvinceID, City
FROM Person.Address
GROUP BY StateProvinceID, City
HAVING (StateProvinceID = @StateProvinceID)
ORDER BY City
Ihave to show report that has been deployed on server on the besis of these parameters
I am using ReportViewer in JSP Page through url--
http://192.168.90.149/ReportServer/Pages/ReportViewer.aspx?%2fReport+Project1%2fCascading_Parameters&rs:Command=Render&rs:parameter=true&Country="+Country+"&State="+State;
But it is not accepting parameter if they are cascaded.It is working fine if Both parameters are independent.
Edited by: kaushlee on May 11, 2010 9:22 PMTake a look at set_custom_property:
public static final ID SETTEXT = ID.registerProperty("SETTEXT");
public boolean setProperty(ID pid, Object value)
if (pid == SETTEXT)
String text = value.toString();
and in forms
set_custom_property('beans.bean_item', 1, 'SETTEXT', 'some text');
cheers -
Passing multiple integer values as parameter in SSRS
Hello,
I am trying to pass a comma separated multiple integer value parameter in SSRS report and it errors out complaining that it is not able to convert the nvarchar value to datatype int. But it works fine when I pass a single value. Here is the code I am using
for the report and I am stuck at passing multiple values.
SELECT
id,count(*) as cnt
from table
and ID in (@id) group by id
eg: if I pass 10,20,30 then I would get error however if I pass 10 then it works fine
Is there a different method to pass multiple integer values?
Thanks for your help.A comma is, of course, a textual character and not an integer, thus the error you are getting. Multi-value parameters can be used for this.
Select "Allow multiple values"and set data type to Integer. Multi-value parameters deliver the values as an array. The query interface is smart enough to convert them to the proper syntax (comma-delimited) automatically so a statement like:
WHERE Field IN (@id)
where the parameter has an array of values {1, 2, and 3} is interpreted as:
WHERE Field IN (1,2,3)
You do not need to manually convert it in a transact SQL query. That is not the case for displaying the value array in your report. If you wish to display the array (described above) in your report as "1, 2, 3", you will need to use a join expression:
=Join(@id, ", ")
As DJ described, the other part to a multivalue parameter is the Available values. These can be set explicitly but given your example, I think it would be best to create a new dataset that retrieves a distinct list of the IDs that can be retrieved, perhaps
something like:
SELECT DISTINCT GroupName, GroupID
FROM table
WHERE [criteria]
Set the available values to use this query with GroupName (or whatever user-friendly field you choose for your dataset) as the label and the id as the value. The label field should be something the the target report user can easily identify the correct group
using.
If you don't want to or can't use a multivalue parameter for some reason then you will need to manipulate your parameter value prior to consuming it in your query. When you add the parameter to the TSql query and save the dataset, SSRS adds it to the Parameters
property of the dataset. Open the dataset properties and select the parameters tab. You should see your parameter in the list. click the expression builder (fx) button next to the value and enter this expression:
=Split(@id,",")
Note that the second element of the expression is the delimiter. If your text input has comma-space as a delimiter (1, 2, 3 vs 1,2,3) then that element must include ", ". My example just has comma so if you use that with a string "1, 2, 3"then
the resulting array will still have 3 elements but the 2nd and 3rd elements of the array will have a preceding space which will cause your dataset to error with the same error. As long as there are no non-numeric characters in any of the elements, the split6
will create the text array, SSRS will dynamically generate the correct "IN"syntax (comma separated) and SQL will convert the elements from VARCHAR to INT on the fly.
"You will find a fortune, though it will not be the one you seek." -
Blind Seer, O Brother Where Art Thou
Please Mark posts as answers or helpful so that others may find the fortune they seek. -
Chart with parameters in SSRS 2012
Hello,
I want to do a chart (line chart particularly, but I will take an answer for any chart as they all probably work similarly) with one parameter passed (hospitalid) and two values returned (BedDays and MonthYear). MonthYear is how the horizontal
line is divided, by each month, and the BedDays should be the number of patient stays in beds in that month. Doesn't matter if it's sum of bed days or bed days, because a sum is made in the stored procedure, and MonthYear is unique.
I have spend a few days on this problem, working a lot on it, and I keep running into errors, trying various methods. I don't know where all my errors could be coming from, it could be in the aspx, it could be in the report design, or it could
be in the code behind, so I am hoping someone can give me a step by step solution to this problem which should be simple, but apparently is not because there is no worthwhile help that I can find on the internet. It should work for SSRS 2012, I do not
have a choice of using an earlier version for this project. Please include everything I need to do in the report GUI, in the aspx file, and in the code behind, as any little error in any of these could keep this from working and make it very difficult
for me to pinpoint what is going wrong.
Please help!I'm using Visual Studio 2013. According to what I read, there is no report preview in newer versions?
I created a report and then added a line chart.
I used my connection and under Data Set Name I put: AllevantReportDataSetB
Under Choose the Dataset, I selected AllevantReportDataSetB as the data source.
For "Name" I chose DataSetB
The stored procedure works (that is all you need to know, because the inner detail shouldn't make a difference), and when a parameter @facilityid is passed to it, it returns a table with the first column named MonthYear which is a date of all of the months,
years, and the first of each month from the beginning to end of the data - and the second column is BedDays, the number of total stays in a bed for all of the patients at the facility.
In Category groups, I have MonthYear, and in Values I have BedDays (actually [Sum(BedDays)], but the sum shouldn't matter, because the MonthYears are unique so there is only one MonthYear, there is not more than one of the same month in the whole data set)
My .aspx is the following:
<rsweb:ReportViewer ID="ReportViewer1"
runat="server"
ProcessingMode="Remote"
Font-Names="Verdana"
Font-Size="8pt"
InteractiveDeviceInfos="(Collection)"
WaitMessageFont-Names="Verdana"
WaitMessageFont-Size="14pt"
Width="95%"
Height="99%" ShowDocumentMapButton="False"
ShowPromptAreaButton="False" Visible="true">
<LocalReport ReportEmbeddedResource="MySolution.Report5.rdlc">
<DataSources>
<rsweb:ReportDataSource DataSourceId="Report1DataSource" Name="DataSetB" />
</DataSources>
</LocalReport>
</rsweb:ReportViewer>
And my VB code behind is the following:
Protected Function GetReportDataTable() As DataTable
Dim Conn As New SqlConnection(ConfigurationManager.ConnectionStrings("sql").ToString)
Dim Command As New SqlCommand("BedDays", Conn)
Dim BedDaysDataTable As New DataTable()
BedDaysDataTable.Columns.Add("MonthYear", GetType(DateTime))
BedDaysDataTable.Columns.Add("BedDays", GetType(Int32))
Command.CommandType = CommandType.StoredProcedure
Command.Parameters.Add("@facID", SqlDbType.Int).Value = 20
Command.Connection = Conn
Conn.Open()
Dim DataReader As SqlDataReader = Command.ExecuteReader()
BedDaysDataTable.Load(DataReader)
Conn.Close()
Return BedDaysDataTable
End Function
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not IsPostBack Then
FillMetricsDDL()
FillFacilityDDL()
Dim rds As ReportDataSource
rds = New ReportDataSource("Report1DataSource", GetReportDataTable)
Dim ReportParameters As New List(Of ReportParameter)
ReportParameters.Add(New ReportParameter("@facID", 20))
ReportViewer1.LocalReport.DataSources.Add(rds)
ReportViewer1.LocalReport.ReportPath = "Report5.rdlc"
ReportViewer1.LocalReport.Refresh()
End If
Common.Chosen(Me)
End Sub
I am getting the error where the report should be
Unable to connect to the remote server, no connection could be made because the target machine actively refused it.
But I suppose once this error is resolved, there will be more, because I really do not quite know exactly how SSRS charts with parameters in SSRS 2012 are suppossed to work, in code behind, in aspx, and in the charting, and how it all ties together. So
some complete guidance to show ALL the places where I am going wrong here would be much appreciated, not just an attempt to solve the one error I have above, which may not be the sum total of all of my problems here.
Unless, of course, it IS the only error which would be GREAT. -
ORDS Template with parameter does not work
Hello everybody,
I can not get working a RESTful Service using the ORDS_SERVICES -API (ORDS version 3.0.0.343.07.58), same Query without parameter (hardcoded product_id) works fine.
declare
l_module_id number;
l_template_id number;
l_handler_id number;
l_parameter_id number;
begin
ORDS_SERVICES.delete_module(p_name => 'test_parameter');
l_module_id := ORDS_SERVICES.create_module(p_name => 'test_parameter',
p_uri_prefix => '/test_parameter',
p_items_per_page => 10,
p_status => 'PUBLISHED',
p_comments => null);
l_template_id := ORDS_SERVICES.add_template(p_module_id => l_module_id,
p_uri_template => '/demo_product_info_10/',
p_priority => 0,
p_etag_type => 'HASH',
p_etag_query => null,
p_comments => null);
l_handler_id := ORDS_SERVICES.add_handler(p_template_id => l_template_id,
p_source_type => 'MEDIA', -- source_type IN ('COLLECTION_FEED', 'COLLECTION_ITEM', 'FEED', 'MEDIA', 'PLSQL', 'QUERY', 'QUERY_1_ROW')
p_source => 'select mimetype, product_image from demo_product_info where product_id = 2',
p_format => 'DEFAULT',
p_method => 'GET',
p_items_per_page => null,
p_mimes_allowed => null,
p_comments => null);
/* now same result but with parameter */
l_template_id := ORDS_SERVICES.add_template(p_module_id => l_module_id,
p_uri_template => '/demo_product_info/{product_id}',
p_priority => 0,
p_etag_type => 'HASH',
p_etag_query => null,
p_comments => null);
l_handler_id := ORDS_SERVICES.add_handler(p_template_id => l_template_id,
p_source_type => 'MEDIA', -- source_type IN ('COLLECTION_FEED', 'COLLECTION_ITEM', 'FEED', 'MEDIA', 'PLSQL', 'QUERY', 'QUERY_1_ROW')
p_source => 'select mimetype, product_image from demo_product_info where product_id = :product_id',
p_format => 'DEFAULT',
p_method => 'GET',
p_items_per_page => null,
p_mimes_allowed => null,
p_comments => null);
l_parameter_id := ORDS_SERVICES.add_parameter(p_handler_id => l_handler_id,
p_name => 'product_id',
p_bind_variable_name => 'product_id',
p_source_type => 'URI',
p_param_type => 'INT',
p_access_method => 'IN',
p_comments => null);
commit;
end;
The first template works fine:
http://localhost:8080/ords/xxx/test_parameter/demo_product_info_10/
shows a jpeg image of a wallet.
The second template does not work:
http://localhost:8080/ords/xxx/test_parameter/demo_product_info/10/
fails with error:
mapped request using: BasePathMapper [basePath=/xxx/] to: SCHEMA:apex|XXX
Choosing: oracle.dbtools.http.dispatch.DispatchMetaData as current candidate with score: MetaDataScore [score=0, matchedMethod= GET: {10299, false}
common: CommonMetaData [accepts=[], cors=null, documentation=null, frameOptions=null, pageSize=10, pagination=NONE, requiresPrivilege=null, transport=null]
, matchedPattern= /test_parameter/demo_product_info/{product_id}
common: CommonMetaData [accepts=[], cors=null, documentation=null, frameOptions=null, pageSize=null, pagination=null, requiresPrivilege=null, transport=null]
methods:
GET: {10299, false}
common: CommonMetaData [accepts=[], cors=null, documentation=null, frameOptions=null, pageSize=10, pagination=NONE, requiresPrivilege=null, transport=null]
stack trace:
oracle.dbtools.http.errors.InternalServerException: java.lang.IllegalArgumentException: INT
at oracle.dbtools.http.errors.ErrorPageFilter.internalError(ErrorPageFilter.java:165)
at oracle.dbtools.http.errors.ErrorPageFilter.doFilter(ErrorPageFilter.java:113)
at oracle.dbtools.http.filters.HttpFilter.doFilter(HttpFilter.java:44)
at oracle.dbtools.http.filters.FilterChainImpl.doFilter(FilterChainImpl.java:51)
at oracle.dbtools.http.cors.CORSFilter.doFilter(CORSFilter.java:35)
at oracle.dbtools.http.filters.HttpFilter.doFilter(HttpFilter.java:44)
I changed the add_parameter-call p_param_type => 'INT' to be p_param_type => 'STRING'
then error remains the same and strack trace says
oracle.dbtools.http.errors.InternalServerException: java.lang.IllegalArgumentException: STRING
at oracle.dbtools.http.errors.ErrorPageFilter.internalError(ErrorPageFilter.java:165)
at oracle.dbtools.http.errors.ErrorPageFilter.doFilter(ErrorPageFilter.java:113)
Could you please confirm and fix,
kind regards,
TomThis is a guess, but I suspect that ords_services.add_parameter() is not required at all.
Also, your URL /demo_product_info/10/ should not have the trailing slash (according to your template URI).
For more information, I suggest you look here:
ords.3.0.0.343.07.58.zip\ords.war\scripts\migrate\core\ords_migrate.plb
The migration package will show what is usually done for templates that already exist within APEX 4.2. I checked my templates and the ones with URI variables {in-curly-brackets} contain no records in apex_040200.wwv_flow_rt$parameters.
-Kris -
Hi Experts,
I am a BW consultant and new to webdynpro. Not sure how to run RSO_METADATA_REPOSITORY multiple times and by passing different parameter values each time(either taken from an a standard BW table or user provided - anything is fine) and build web pages with parameter name. Need help with direction on where to start.
Let me step back and explain my requirement:
In BW we have an object called transformation.
One way of generating documentation for transformation is highlight transformation and press F1. Then its documentation will be opened as a local web page.
I need these web pages for all transformations. This is my requirment.
I came to know that RSO_METADATA_REPOSITORY is beeing used to generate this web page.
The web link is something like below:
http://ubw05.xxx.com:8005/SAP/BW/DOC/METADATA/?page=BW_O_D&SystemID=BWPCLNT100&ClassID=TRFN&ID=0KHR6J65AIIUTCJZEC093K6XDFV909PB&objectVersion=A&sap-language=EN&sap-client=100
When i run this link seperately(not by selecting transformation and pressing F1) i need to enter login credentials to BW system.
My challenges is how do i pass login credentials and multiple transformation IDs to generate multipe web pages with each page named by transformation ID?
WHere to start? First of all is RSO_METADATA_REPOSITORY Webdynpro JAVA or webdynpro ABAP or can i use anything?
Since it is beeing opened as local webpages i assume it is webdynpro JAVa is that correct?
Thanks,
Raghuhello,
might be a problem with the version you are using.
regards,
the oracle reports team -
Is it possible to create a spatial view with paramete?
Is it possible to create a view with parameter like following:
SELECT GEOM FROM INTERSTATES WHERE MDSYS.SDO_FILTER(GEOM, MDSYS.SDO_GEOMETRY(2003, 8307, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3), MDSYS.SDO_ORDINATE_ARRAY(?, ?, ?, ?)), 'querytype=WINDOW') = 'TRUE'
so that I can specify ???? at run time.
If not, is there a way to create a view that perform variable window query?You may want to look at application contexts, that way you may have code something like this:
create or replace context gis_ctx using gis_params ;
create or replace package gis_params
as
procedure set_bounds( minx in number, miny in number, maxx in number,maxy in number );
end;
create or replace package body gis_params
as
procedure set_bounds( minx in number, miny in number, maxx in number,maxy in number )
is
begin
dbms_session.set_context( 'gis_ctx', 'minx', minx);
dbms_session.set_context( 'gis_ctx', 'miny', miny);
dbms_session.set_context( 'gis_ctx', 'maxx', maxx);
dbms_session.set_context( 'gis_ctx', 'maxy', maxy);
end ;
end ;
To use this method you´ll have to execute
gis_params.set_bounds(-3,40,-2.9,40.1) ;
before doing the select.
SELECT GEOM
FROM INTERSTATES
WHERE MDSYS.SDO_FILTER(GEOM,
MDSYS.SDO_GEOMETRY(2003,
8307,
NULL,
MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3),
MDSYS.SDO_ORDINATE_ARRAY(sys_context ('gis_ctx', 'minx'),
sys_context ('gis_ctx', 'miny'),
sys_context ('gis_ctx', 'maxx'),
sys_context ('gis_ctx', 'maxy'))),
'querytype=WINDOW') = 'TRUE' ;
I f you are in a web environment, read about GLOBAL CONTEXT ACCESSED GLOBALLY .
Regards, Nico. -
How to set the default selection to "Select All" in a Multi valued parameter in SSRS 2008?
Hello Everyone,
How to set the default selection to "Select All" in a Multi valued parameter in SSRS 2008?
Regards
Gautam S
RegardsYou need to specify "Default Values" in the report parameter property. Choose similar option used in the "Available Values" option, this will allow the parameter to check "Select All".
Regards, RSingh -
Dear All,
I am getting a below error while doing ehp6 installation on sybase (high availbility )
can any one help me on this..?
An error occurred while processing option SAP Business Suite 7i 2011 > Enhancement Package 6 for SAP ERP 6.0 > SAP Application Server ABAP > SAP ASE > High-Availability System > Database Instance( Last error reported by the step: System call failed. Error 2 (The system cannot find the file specified. ) in execution of system call 'CreateProcessAsUser' with parameter ( , NULL, Program Files/sapinst_instdir/BS2011/ERP606/AS-ABAP/SYB/HA/DB, &StartupInfo, &ProcessInfo), line (646) in file (d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\syslib\synxcchapp.cpp), stack trace: d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\ejs\ejscontroller.cpp: 181: EJSControllerImpl::executeScript() d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\ejs\jsextension.hpp: 1059: CallFunctionBase::call() d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\osmod\iaxxbprocess.cpp: 423: CIaOsProcess::start_impl() d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\syslib\synxcchapp.cpp: 238: CSyChildApplicationImpl::start(false) d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\syslib\synxcchapp.cpp: 262: CSyChildApplicationImpl::doStart() .). You can no
Regards,
Letz..Hello Mauricio.
Thanks
Two Thinks:
1.- This error appears precisely in the process of creating SAP users including you mention sidadm:
A.- Execute sapinst
B.- Installation option is chosen
SAP NetWeaver CE Production Edition
Installation Options
High-Availability System
Central Service Instance (SCS)
c.- System ID, Next and appear message error
2.- However, the user manually create sidadm, I gave the permissions you indicate, and the error message is the same
Thanks -
Oracle WebADI: How to Download the WebADI Excel File with Parameter
Hello Friends,
How to Download the Oracle WebADI Excel File with Parameter??
For Ex: How to download the Employees for Specific Department from Oracle WebADI.
And After to change the specific changes on Employee Data to Upload.
Thanks in Advance.Hi Team.
Any Advise on it!! -
Does BOXI support crystal reports with parameter references in formulas?
I am designing a report in Crystal Reports XI Developer that contains parameters, which are passed to a stored procedure and are also used within formulas ( in Crystal Syntax ie. {?FORMAT_ID} ) in the report itself.
I can run the report successfully in CRXI Developer. The formulas use the correct values from the parameters entered during execution and everything looks good.
I then deploy the report to Business Objects Enterprise XI. I do all of the things necessary to manage the report including setting up the proper database connection information and default parameter values.
When I run the report using the Crystal Report Viewer, I get the following error message:
Error in File Forecasting.rpt:
Error in formula <Report Format>.
'if (not isNull({?FORMAT_ID} ) ) then
This field name is not known.
Details: errorKind
This happens when I press the "Preview" button in the Manage Object dialog from Crystal or when I run the report using InfoView.
I have changed the formulas and it doesn't seem to matter what the specific content of the formula is; other than the existence of a parameter reference in the formula. If I comment out the parameter and replace it with a hard-coded value, it gets through the formula fine.
Does Business Objects Enterprise XI support crystal reports with parameter references in the formulas?
Thanks,
Tim H.Hi,
In Crystal Reports under File -> Report Options >check convert Null Values to default > Verify on first refresh > Verify stored procedures on first refresh.
This corrected the issue by allowing the query engine time to locate those columns and map them to the query being sent by the report.
The convert null values was added because those field were being used in the record selection and grouping.
Regards,
Vinay -
Problems with Parameter Mapping
Hi All,
I have problems with parameter-mapping. For me its a black box, sometimes it works sometimes not.
Lots of times my mappings doesnt work, and I dont know the reason.
For example: I want to map my Execution-CO to the Display-CO. For that I map the in the affected Action.
But it doesnt work, although I do have the same Context Structures, because its the same CO. The technical Name is also the same.
What could it be?
Thanks for answering me
Bye SteveHi Andre,
sorry for my late answer, but I'm writing my diploma thesis and wasnt at work since wednesday and so I dont have a access to our GP-System.
Hope I understood you right.
The Use Case of parameter mapping is that Users of further steps has the possibility to see the Input of previous steps.
When I dont map the parameter inside one action, it isnt possible. I tried it out with the SAP example "Time-off-process". I took the CO "Create Request" and add it in one Action (as Display & Execution). When I understand you right mapping inside an action is not necessary, to see the Inputs from further Actions --> But this way I cannot see the Inputs.
The mapping of my application works before I changed it.
I know never touch a running system, but It was necessary, we need a new Input and Output Parameter.
Cause I have 20 parameter the mapping was very time-consuming, to map every single parameter. I read a method to reduce the time: Adding a structure requires only mapping of the two structures. But now the Mapping doesnt work.
Hope you can help me
Bye Steve -
Dear Sir….
How can I Macke log in user if success to page with
parameter.
I have DW SC4
Your reply it’s highly appreciates.
Regards;Please your help.
Maybe you are looking for
-
Constant freezing, lock-ups and beachballs with new MBP - out of patience
Posting here as my guess is this is Leopard related. I have beachballs all day everyday. Nearly every program. Yes, yes I have repaired permissions many, many times. Yes I have booted to the instal DVD and done a repair disk. My machine is freezing c
-
Re: Need a Adobe Standard 9.0 download
I have 2 acrobat 9 serial numbers from prior purchases. Neither are accepted by the Pro 9 installer. Any fix for this?
-
Secondary Axis Disappears in Pivot Table Chart
I'm using Excel 2010 and have a pivot chart based off of a PowerPivot table with multiple slicers. The X or secondary axis disappears randomly and the only way to get it to reappear is to go back into the chart property and re-assign the value to the
-
Iphoto 6 rebuilt thumbnails, now view by date is not working
The dates on the photos are still correct, but although I have "sort by date" checked off, there are recent photos that have appeared way back in the library. I've repaired permissions, restarted, and looked at every option in the menus, but can't f
-
Hi All, I am creating a OM infotype. where in ppci i am getting some error like when i am clicking on create button it shaowing that the table was not created. but i created a table in se11 and also i activated it.here se11 its showing the