CREATE A PARAMETER IN SSRS

i AM TO CREAT A PARAMETER FROM THE ANALYSIS DATABASE BUT APPARENTLY THERE ARE NO VALUES IN THE DIMENSIONN MEMBER
BELOW IS THE LOGIC THAT WAS USED WHEN LOADING THE DATA INTO THE DATAWAREHOUSE.
1) 
Each transaction in the audit trail is matched with a record in the EA dimension table using the EA, SUBJOB, and AGENCY
2) 
Each transaction in the audit trail is matched with a record in the Trans Code dimension table using trans_code
3) 
If the EA_STAT value is E4, U4, P5, 02, 03, or 04 AND the TRANS_GROUP value is 3500 or 9100, then the record is marked as a PROJECT
4) 
If the EA_STAT value is NOT in E4, U4, P5, 02, 03, or 04 AND the TRANS_GROUP value is 3500, then the record is marked as NON-PROJECT
5) 
Anything else outside of those ranges is marked as UNKNOWN.
"SELECT
ACTIVITY = coalesce(activity,''),
AGENCY = coalesce(agency,''),
AGENCY_SOURCE = coalesce(agency_source,''),
AGREEMENT_NO = coalesce(f.agreement_no,''),
AGREEMENT_SFX = coalesce(agreement_sfx,''),
APPN_SYMBOL = coalesce(appn_symbol,''),
AT_VENDOR_NO = coalesce(at_vendor_no,''),
AT_VENDOR_SFX = coalesce(at_vendor_sfx, ''),
CHECK_NO,
CHRGE_UNIT = coalesce(chrge_unit,''),
COMPONENT = coalesce(component,''),
CUR_DOC_NO,
CUR_DOC_SFX,
EA = coalesce(f.EA,''),
EFFECTIVE_DATE,
ELEMENT = coalesce(element,''),
FISCAL_YEAR = coalesce(f.fiscal_year, ''),
FUND_DETAIL = coalesce(fund_detail,''),
FUND_NUMBER = coalesce(fund_number,''),
INVOICE_NO = coalesce(invoice_no, ''),
OBJ_DETL = coalesce(obj_detl,''),
OPERATOR = coalesce(operator,''),
PROCESS_DATE,
PROGRAM = coalesce(program,''),
REMIT_ADVICE_DESC = coalesce(REMIT_ADVICE_DESC,''),
RESPONSIBLE_UNIT = coalesce(RESPONSIBLE_UNIT,''),
REVENUE_SOURCE = COALESCE(revenue_source,''),
SUBJOB = COALESCE(f.SUBJOB,''),
TASK = COALESCE(TASK,''),
TRANS_CODE = COALESCE(TRANS_CODE,''),
TRANSACTION_AMOUNT,
TRANSACTION_QTY,
VENDOR_NO = CASE WHEN LEN(VENDOR_NO) = 0 THEN AT_VENDOR_NO ELSE VENDOR_NO END,
VENDOR_SFX = CASE WHEN LEN(VENDOR_SFX) = 0 THEN AT_VENDOR_SFX ELSE VENDOR_SFX END,
b.BIEN_SK,
DOCUMENT_DATE,
LET_DATE = '1900-01-01',
COMPLETION_DATE = '1900-01-01', t.TRANS_SK,
case when t.trans_grp_desc = 'EXPENDITURES' AND f.CATEGORY != '9' then f.transaction_amount else 0.00 end AS TRAN_AMT_EXPENDITURE,
case when t.trans_grp_desc = 'REVENUE' then f.transaction_amount else 0.00 end AS TRAN_AMT_REVENUE,
case when t.trans_grp_desc = 'AGREEMENT AMT BILLED' then f.transaction_amount else 0.00 end AS TRAN_AMT_AGREEMENT,
case when t.trans_grp_desc = 'ENCUMBRANCES' then f.transaction_amount else 0.00 end AS TRAN_AMT_ENCUMBRANCE,
case when t.trans_grp_desc = 'LEG EXP BUDGET' then f.transaction_amount else 0.00 end AS TRAN_AMT_LEGISLATIVE_BDGT,
case when t.trans_grp_desc = 'OPERATING BUDGET' then f.transaction_amount else 0.00 end AS TRAN_AMT_OPERATING_BDGT,
case when t.trans_grp_desc = 'PROJECT BUDGET' then f.transaction_amount else 0.00 end AS TRAN_AMT_PROJECT_BDGT,
EA_FINAL_STAT = coalesce(f.ea_final_stat,''),
CASE
WHEN
e.ea_stat IN ('E4', 'U4', 'P5', '02', '03', '04')
and t.trans_grp IN ('3500', '9100')
THEN 1 -- PROJECT
WHEN
e.ea_stat NOT IN ('E4', 'U4', 'P5', '02', '03', '04')
and t.trans_grp IN ('3500')
THEN 2 -- NON PROJECT
ELSE 0 -- UNKNOWN
END AS EXPENDITURE_GROUP_SK,
BATCH_AGENCY,
BATCH_DATE,
BATCH_TYPE,
BATCH_NO,
DOC_INDEX,
LINE_NO,
FUND_SPLT_SEQ_NO,
DUP_REC_IND,
RECORD_NO,
STATE_FORCE_ORDER,
REFERENCE_CODE,
FLEET_CODE,
FUEL_TYPE,
f.CONTRACT_NO,
f.CONTRACT_SFX
FROM
" + @[Package::SQL_Source_Table] + " as f
JOIN " + @[Package::SQL_Dest_DB] + ".dbo.DIM_BIENNIUM as b
ON b.fiscal_year = f.fiscal_year
AND CAST(f.fiscal_month as tinyint) = b.fiscal_month_no
JOIN " + @[Package::SQL_Dest_DB] + ".dbo.dim_trans as t
on t.trans_cd = f.trans_code
JOIN (SELECT MAX(EA_SK) AS EA_SK, EA, SUBJOB, EA_AGY, EA_STAT FROM " + @[Package::SQL_Dest_DB] + ".dbo.dim_EA GROUP BY EA, SUBJOB, EA_AGY, EA_STAT) e
on f.EA = e.EA
AND f.SUBJOB = e.SUBJOB
AND f.AGENCY = e.EA_AGY
HOW DO YOU SUGGEST i GO ABOUT IT?

=Code.fFormatColumnName(Parameters!pSummary1.Value) &
" " & trim(fields(Parameters!pSummary1.Value).Value) &
iif(
Parameters!pSummary1.Value="OBJECT",
"-" & Lookup(
iif(isnothing(Fields!CAT_OBJ_KEY.Value), "-111", Fields!CAT_OBJ_KEY.Value),
Fields!CAT_OBJ_KEY.Value, Fields!OBJECT_DESC.Value,
"sqlOBJLookup"),
iif(
Parameters!pSummary1.Value="CATEGORY",
"-" & Lookup(
iif(isnothing(Fields!CATEGORY.Value), "-1", Fields!CATEGORY.Value),
Fields!CATEGORY.Value, Fields!CATEGORY_DESC.Value,
"sqlCategoryLookup"),
iif(
Parameters!pSummary1.Value="OBJ_DETL",
"-" & Lookup(
iif(isnothing(Fields!OBJ_DETL.Value), "-111", Fields!OBJ_DETL.Value),
Fields!OBJ_DETL.Value, Fields!OBJ_DETL_DESC.Value,
"sqlOBJDetLookup"),
) & " TOTALS:"

Similar Messages

  • Creating multivalue parameter in SSRS on top of DB2 views

    How to create multivalue parameterized report in SSRS for belo scenerio:
    Data source is DB2 and we don't need to write whole query as expression while creating dataset.
    But if we don't need to write whole query as expression in SSRS, is that possible to create the view in DB2 with same expression query and while calling the view in SSRS, how multivalue report can be generated.

    Hi Andy,
    Based on my understanding, you want to create a multivalued parameter in your report. When creating the parameter, you don’t want to write a whole query to specify the parameter’s value which is used in the main dataset, right?
    In Reporting Services, if we want to create a multivalued parameter, we can create a new dataset to populate the valid values for the parameter. Within the new dataset, we needn’t write a whole query which is used in the main dataset, we can only retrieve
    those data which will be used by the parameter. So in your scenario, you can write a simple query to populate the valid values for the multivalued parameter. If you create a view on database side, you can also call the view in SSRS to retrieve the corresponding
    data, then specify the values for the parameter with those data.
    Reference:
    Lesson 3: Adding Parameters to Select Multiple Values in a List (SSRS)
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • Can you use a hierarchy as a parameter in SSRS?

    All,
    I was attempting to create a SSRS report and then will take that report and add it into performance point.  In PerformancePoint, I am able to have one dropdown parameter list with a tree like hierarchy coming from a SSAS cube.  For instance, my geography parameter in PerformancePoint is one drop down that goes from Region > Area > Country in a tree form.
    In SSRS I don't see any way at all to create ONE parameter that has a dropdown in this form.  It seems like I have to bring in each component separately.  So I would have one Region drop down, One Area dropdown and one Country drop down.  Yes I can make them cascading.  But is there
    1) ANY way at all to create one parameter from a SSAS hierarchy and if NOT then
    2) How can I link the SSRS report into my dashboard filter that is one drop down?  I do NOT want the users to have to select from region, then from area then from country.
    Thanks,
    Mindy

     
    Hi Mindy,
    Thank you for your posting.
    Unfortunately the tree parameter control is not supported in the current version of SQL Server Reporting Service.
    I suggest that you could submit your feedback here:
    https://connect.microsoft.com/SQLServer/feedback
    I also suggest trying this solution to solve the issue:
    1.    In main report, display the country in hierarchy.
    2.    Link “country” to sub report.
    3.    The sub report is the main report in current situation.
    If anything is unclear, please feel free to ask.
    Thanks,
    Jin
    Jin Chen - MSFT

  • 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 **.

  • 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.

  • How to sort via multi value parameter in ssrs

    I have a parameter with multi values. when the user selects ,he get of options like acount name, first name, last name.
    so if user selects firstname , the data has to sort by firstname.
    if he selects acount name , the data has to sort by account name.
    please help me how to sort the data using parameter with multivalue? in ssrs 2008.
    Thank you?

    Hi Venku,
    Based on your description, it seems that you create a parameter with available values and you want to sort the report data based on the parameter value. If the available values are the field names in the report, you can try to open the Tablix properties
    dialog box and specify the sort expression on "Sorting" tab as follows:
    =Fields(Parameter!parametername.value).value
    If the parameter allow multiple values and you want to sort the report data by more than one field, for example, sort the report data by "accountname" and then by "firstname", please add two sort expressions as follows:
    =Fields(Parameter!parametername.value(0)).value
    =Fields(Parameter!parametername.value(1)).value
    If you have any question, please let me know.
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Pass parameter to ssrs report based on cube

    hi folks:
      I am working on a weekly report based on cube. Users are able to pull out data by themselves using excel. Now they want this to be scheduled to run on a weekly basis via SSRS. The date hierarchy (date.calendar)  is like this: Year -> Quarter
    -> Month -> Week
     I want users to be able to pick any week (only one week) they want and run the report.  I understand I need to create a parameter @week .
    The problem is how to populate this parameter @week in mdx since the source is a cube db.
     Any idea?
     Thanks
     Hui
    --Currently using Reporting Service 2000; Visual Studio .NET 2003; Visual Source Safe SSIS 2008 SSAS 2008, SVN --

    Thanks Charlie, your solution is pretty close now. When I try out the shareddataset via cube, I found the following statement in the query via query designer:
    WHERE ( [Checkoutdate].[Fiscal Year Calendar].[Week].&[23]&[2014]&[2]&[6] )
    23 is the week no, 2014 is the year, 2 is the quarter and 6 is the month. I intend to create 4 parameters so that users could pick year, quarter , month and week. 
    The question here is the sequence, do I have to strictly follow the sequence  [week - year - quarter - month] or it doesn't matter? 
    SELECT {STRTOMEMBER("[Date].[Calendar Weeks].[Calendar Week].&["+@Week+"]&["+@Year+"]&["+@quarter+"]&["+@month+"]
    ")} ON 0
    or can I go like this as it's more intuitive:  
    SELECT {STRTOMEMBER("[Date].[Calendar Weeks].[Calendar Week].&["+@year+"]&["+@quarter+"]&["+@month+"]&["+@week+"]
    ")} ON 0
    --Currently using Reporting Service 2000; Visual Studio .NET 2003; Visual Source Safe SSIS 2008 SSAS 2008, SVN --

  • Creating a Parameter with pre-defined date ranges.

    How can I create a parameter that will allow the user to select a specific date range for a report (i.e. YTD, MTD, WTD...)? Any suggestions? Thanks...
    Matt Johnson

    You can create & define Parameters in SSRS Report and provide possible values (MTD, YTD or WTD) as drop-down options, the user can then select which one to pick and you can write your T-SQL logic to capture this option and take further query action
    on it
    Good Luck! Please Mark This As Answer if it solved your issue. Please Vote This As Helpful if it helps to solve your issue

  • While creating the parameter it doesnot pull all the data of that particular column

    Post Author: pvds
    CA Forum: Data Connectivity and SQL
    Hi everyone.
    i am using a sql query with a join condition to pull data in to crystal reports. I got that data which i want in to the report. but when i was trying to create a parameter with a dropdown of all the database values to a particular column it is not showing all the data from the report.
    for example  i have a column called state
    the column has many states displayed in the report but when i select that column and select browse data it shows only 1 state. with this i am anable to create a parameter with a dropdown list of all the state. i can see different states in the report but y i am not able to see when i browse the data or create a parameter? can any one answer me?
    i already created another report with a query on same table but i never faced this problem before.

    Post Author: V361
    CA Forum: Data Connectivity and SQL
    There is a limit to the number of Parameters that will show in a drop down... You can increase using the following.
    Check this KBase article on how to increase the number.
    http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=c2017238&sliceId=&dialogID=19032644&stateId=1%200%2019034607

  • How and where should I create a parameter list

    Hi, I4m trying to create a parameter lists but I don4t know where and how.
    I guess as a program unit but as function or procedure, sorry I4m new on this for that I4m finding this a bit difficult. Please, someone could help me to understand this:
    PROCEDURE Run_Emp_Report IS
    pl_id ParamList;
    BEGIN
    ** Check to see if the 'tmpdata' parameter list exists.
    pl_id := Get_Parameter_List('tmpdata');
    ** If it does, then delete it.
    IF NOT Id_Null(pl_id) THEN
    Destroy_Parameter_List( pl_id );
    END IF;
    ** Create the 'tmpdata' parameter list afresh.
    pl_id := Create_Parameter_List('tmpdata');
    ** Add a data parameter to this parameter list that will
    ** establish the relationship between the named query
    ** 'EMP_QUERY' in the report, and the record group named
    ** 'EMP_RECS' in the form.
    Add_Parameter(pl_id,'EMP_QUERY',DATA_PARAMETER,'EMP_RECS');
    **Pass a Parameter into PARAMFORM so that a parameter dialog
    will not appear
    **for the parameters being passing in.
    Add_Parameter(pl_id, 'PARAMFORM', TEXT_PARAMETER, 'NO');
    ** Run the report synchronously, passing the parameter list
    Run_Product(REPORTS, 'empreport', SYNCHRONOUS, RUNTIME,
    FILESYSTEM, pl_id, NULL);
    END;

    Hi,
    What you've pasted the code here is absolutely correct.
    You'll have to write the code in Forms builder.
    You can either paste the same code in a procedure & call that procedure
    from button's When-Button-Pressed trigger or paste the code in
    your button's When-Button-Pressed trigger like this :
    DECLARE
    pl_id ParamList;
    BEGIN
    ** Check to see if the 'tmpdata' parameter list exists.
    pl_id := Get_Parameter_List('tmpdata');
    Run_Product(REPORTS, 'empreport', SYNCHRONOUS, RUNTIME,
    FILESYSTEM, pl_id, NULL);
    END;
    However, don't write the code in a function as you will need to return some value from the function.
    Thanks,
    Mayur Shah
    [email protected]

  • Not able to create a parameter of type STRING_TABLE in BOR

    Hi All,
    I want to send a table of type STRING_TABLE from webdynpro to workflow.
    I have created this table of type STRING_TABLE in webdynpro as well as in workflow successfully.
    But i am not able to create a parameter of type STRING_TABLE in BOR event as well as method.
    It is giving me error as "Data type STRING_TABLE can not be used".
    So how can i send my internal table value of STRING_TABLE type into workflow?
    Regards,
    Amar

    Hi,
    I agree Vinoth in certain aspects. It is not possibly the best idea to try to store a string table in workflow container. There are certain limitations in the container (255 characters) in certain situations and you might find yourself in problems in the future. So, consider converting the string data into some other format - OR you could also check if you can limit somehow the lenght in WDA (but of course then you will still have the same problem about the string table data type).
    If you want to try to it, you should be able to create your own table type of string. I don't remember the details but there might be something "special" about the STRING_TABLE (only available in WDA or whatever), and that's why you are seeing the error. So, try to create your own table type that has string data type as an row. Then use that.
    But as I said, you might see some problems. For example, if you try to read the container with SAP_WAPI_READ_CONTAINER, it will just return you the first 255 characters of each row, etc. There are ways to overcome these kind of problems, but just to let you know, they might not be that simple.
    Regards,
    Karri

  • 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 PM

    Take 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

  • How to create a Parameter with LOV

    Hello All,
    I am having the follwoing custom query.
    SELECT concatenated_segments, (SUM(PERIOD_NET_DR)-SUM(PERIOD_NET_CR)) MOVEMENT
    FROM gl_balances a, gl_code_combinations_kfv b
    where period_name='Apr-08'
    and a.code_combination_id = b.code_combination_id
    and set_of_books_id=1010
    and currency_code='USD'
    gROUP BY concatenated_Segments
    HAVING (SUM(PERIOD_NET_DR)-SUM(PERIOD_NET_CR))<>0.
    Instead of hard coding the values I have created the custom folder
    with the follwoing query.
    SELECT concatenated_segments, (SUM(PERIOD_NET_DR)-SUM(PERIOD_NET_CR)) MOVEMENT
    FROM gl_balances a, gl_code_combinations_kfv b
    where a.code_combination_id = b.code_combination_id
    gROUP BY concatenated_Segments
    HAVING (SUM(PERIOD_NET_DR)-SUM(PERIOD_NET_CR))<>0.
    Now I have to create three input parameters period_name,set_of_books_id,currency_code.
    The parameter set_of_books_id should have list of values so that the user will select one from it at run time. But when I tried to create the parameter
    I am unable to create list of values for this parameter. (i.e in Parameter dialog box the For Item filed doest not have any field like set_of_books_id as it is custom query)
    So how Can I add LOV for this parameter.
    Kind Regards,
    PRaveen.

    Hi,
    You custom folder needs to contain a statement like :
    SELECT concatenated_segments, period_name,set_of_books_id,currency_code, (SUM(PERIOD_NET_DR)-SUM(PERIOD_NET_CR)) MOVEMENT
    FROM gl_balances a, gl_code_combinations_kfv b
    where a.code_combination_id = b.code_combination_id
    gROUP BY concatenated_Segments, period_name,set_of_books_id,currency_code
    HAVING (SUM(PERIOD_NET_DR)-SUM(PERIOD_NET_CR))<>0.
    The you will have the period_name,set_of_books_id,currency_code items in the folder and can create parameters using these columns.
    To define the LOV you will need to create separate folders that return the list of values required e.g.
    SELECT set_of_books_id, name
    FROM GL_SETS_OF_BOOKS
    Use this folder to define an item class and then include the set_of_books_id from the first folder into the item class.
    Rod West

  • 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
    Regards

    You 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

  • How do I create a Parameter Field From a Formula?

    I am new to Crystal Reports 2008.  IN version 8.5, I used to easiuly create a formula, and then a dynamic parameter field based upon that forumla.
    In version 2008, thus far, I create a formula field, then I try to create the parameter field, but it won;t give me the optioin of choosing the formula I have created.
    Is this a bug or is this a featuer they removed from version 2008?  I am using Crystal Reports 2008 12.3.0.601.
    Thanks in Advance!
    Travis

    Sure.
    I want to use a Full Name as a Dynamic Parameter.  The DB stores the name in FirstName in one columns, LastName in another.
    Formula:
    FirstName" "LastName
    Then I usually make this the dynamic parameter field, as I am doing with older version of 8.5.
    What am I missing?

Maybe you are looking for

  • Move negative sign (minus) to left side of value in gui_download

    Hi, While downloading data using gui_download I want to bring the negative sign to the left side of the value. Is this possible? Regrads, Madhu

  • Unable to deploy Web App using JPA TopLink Essentials in Tomcat5.5.17

    Hi All, I am trying to deploy a Web App ( used Top Link Essentials ) to Tomcat and i am getting the following Error.. I am strating tomcat using -javaagent:/Path/To/spring-agaent.jar Dec 14, 2006 9:52:46 AM org.apache.catalina.loader.WebappClassLoade

  • Message Tracking Center won't track messages

    Hi Technet, I'm using Exchange 2003 SP2. Tried to use message tracking center but it gives me the error: " the search could not be completed. Check to see that the Microsoft Exchange Management service is running on all Exchange 2000 and Exchange 200

  • Dvd rewriter not working

    my Dvd rewriter on a Compaq presario laptop  model  CQ61  does not write and need to get a new one , please could anyone let me know of a compatible drive for model No TSL63,Hp spare No 517850-001 This question was solved. View Solution.

  • Adobe Reader Performance with Protect Mode On

    We are getting very poor performance in opening PDF documents with Adobe Reader XI with Protected Mode on, particularly for users remote from our central server.  With Protected Mode off, performance is much better (10-20X faster opening).  Note that