How to use the region parameter of main report for subreport chart titles?

I am using Crystal Reports 11.
I create 1 main report with 10 sub-reports that contain cross-tabs & charts. The main report has a parameter regarding 3 different areas: region1, region2, and region3.
I use the method of adding the u2018regionu2019 parameter of main report to the selection formula of the sub-reports. So, I can select 'region' from main report to controll outputs in sub-reports by region.
I use formulas for chart titles, e.g.:
Select {Product Code}
Case 'a111':
  u2018Region1 u2013 a111 Counts'
Case u2018b222u2019:
  u2018Region1 u2013 b222 Counts'
u2026
u2026
Default:
u2026
Since I pass the u2018regionu2019 parameter of main report to sub-reports, I have to change chart titles dynamically based on the region I select.
How can I use the region parameter from main report in the formulas to get chart titles dynamically?
Thank you in advance.

Thank you.
I am not using Chart Title with "Chart Expert".
I am using a formula for chart titles, e.g.:
Select {Product Code}
Case 'a111':
  u2018Region1 u2013 a111 Counts'
Case u2018b222u2019:
  u2018Region1 u2013 b222 Counts'
u2026
u2026
Default:
u2026
I drag this formula above the charts and it looks like a dynamic title. So, for product a111, the chart title would be "Region1 u2013 a111 Counts"; for product b222, the chart title would be "Region1 u2013 b222" Counts; and so on ...
Because I pass the region parameter from master report to subreport, I want to change the region part of the chart titles dynamically.
For example,
when select Region1, the chart titles should be: "Region1 u2013 a111 Counts"; "Region1 u2013 b222"; ...
when select Region2, the chart titles should be: "Region2 u2013 a111 Counts"; "Region2 u2013 b222"; ...
I want to add the region parameter into the tiltle formula.
How should I do?

Similar Messages

  • How to pass an integer parameter from main report to subreport?

    I don't understand why this isn't working, but I have a main report with parameters:
    StartDate=datetime,
    EndDate=datetime,
    Program=text,
    ChartType=text.
    In this RDL, I have a chart with Action configured on this bar chart series.  The Action expression is:
    ="javascript:void(window.open('http://evolvssrs/ReportServer/Pages/ReportViewer.aspx?%2fIncoming%2fCensus+Report+Modifier&rs:Command=Render&rc:Parameters=true&StartDate=" & Parameters!StartDate.Value & "&EndDate=" & Parameters!EndDate.Value & "&Program=" & Fields!program_info.Value & "&ChartType=" & Fields!ChartType.Value & "','_blank'))"
    (program_info is a FIELD uniqueidentifier value matching the value of the Program parameter).
    So for this subreport, I have tried ChartType parameter as both integer and text, but each time i click on a bar from the main report, it opens a new window with ChartType field empty.  But the other 3 parameters: Start Date, End Date, and Program are
    all populated.  Why is it doing this and how can I fix please?
    Ryan D

    Hi Ryan,
    If I understand correctly, you have got empty in the ChartType parameter text box when you enable go to URL action.
    In my test, if the value we pass to the subreport which is not include in the parameter available values, we would get the empty text box. Please check if it has the specific ChartType values in the subreport parameter available values.
    Alternatively, please check if it has pass value to the subreport. We can add a parameter without available values and default values to check if it is can accept the Field ChartType Value from the main report.
    Hope this helps.
    Regards,
    Alisa Tang
    If you have any feedback on our support, please click
    here.
    Alisa Tang
    TechNet Community Support

  • How to use the cell editor in FICO reports for YTD

    HI experts,
    I am working with BI7.0, in the below report, i have displayed result based on user input.but how to calculate the YTD values. User will give the input like 072007, results will be display one year from 072007 to 062006 (one yearback) and one more column is YTD
    Report structure is :
         user input(single value): 072007
              AUG06....JAN07....JULY07....YTD
    KEYFIGURE-1        453      -
    777     -
       232       -
      777 (Only Jan07 value of Keyfigure-1)   
    KEYFIGURE-2        879      -
    233        -
    123       -
      ???? (only sum from Jan07 to July07)
    KEYFIGURE-3        212            -
    879      -
    989                -
    KEYFIGURE-4        234            -
    656      -
    788                   -
    KEYFIGURE-5        345            -
    878      -
    878                 -
    KEYFIGURE-6        767            -
    767       -
    323                 -
    KEYFIGURE-7        879            -
    878     -
    999                -
    999 (Only last value of keyfigure-7 (July07)
    in the above report, total 7 keyfigures so 7rows of YTD column
    1) in the first YTD column, how will display only one value (keyfigure-1) of Jan07?
    2) in the last YTD Column, how will display only one value (keyfigure-7) of July07?
    3) from 2 to 6 columns of YTD, how will display the sum from Jan07 to July07?
    Note: months will be changed based on user input(single Value)
    how can use cell editor for above the senior.
    if any option is availabel please let me know
    Thanks
    kishore

    I think the following should work:
    Context:
    Rows (node,c=0:n)
    --- rowIndex (integer)
    selectedRowIndex (integer)
    Bind the "selectedKey" property of the radio button (cell editor) to attribute "selectedRowIndex" (outside table data source node) and bind "keyToSelect" to attribute "Rows.rowIndex". Make sure that the "rowIndex" attribute will contain the index of the node element in node "Rows".
    Armin

  • How to use the "out" parameter in idl

    hello.idl:
    module HelloApp
    interface Hello
    string sayHello();
    void getPass(in string name,out string pass);
    HelloServer:
    public class HelloServer
    class HelloServant extends _HelloImplBase
    public void getPass(String name,org.omg.CORBA.StringHolder pass)
    System.out.println("Server pass = " + pass);
    if (name.equals("lxh"))
    pass = new org.omg.CORBA.StringHolder("1234");
    if (name.equals("cbj"))
    pass = new org.omg.CORBA.StringHolder("5678");
    HelloClient:
    public class HelloClient
    public static void main(String args[])
    try{
    org.omg.CORBA.StringHolder Pass = null;
    if (args.length == 1)
    System.out.println("Client pass = " + args[0]);
    helloRef.getPass(args[0],Pass);
    System.out.println(Pass);
    } catch(Exception e) {
    When I run client main method with parameter "lxh",I will get a error says the getPass() parameter which has given is wrong.
    How to use the out parameter in client?

    Does this error only occurs if you pass "lxh" or always?
    Did you try passing a StringHolder Object rather than a NULL Object?
    Perhaps you can post the error message!?

  • How to use the out parameter of a transformation

    Hi All,
    I have a requirement where I need to move all the transformations from process flows to map.SO for each transformation I need to have 1 map which calls this transformation.I have 1 transformation which has both input and output parameter.If I use this transformation in mapping then how to use the out parameter of thsi transformation.This out parameter needs to beused in other mappings.Can soemone please help me.
    Thansk in advance

    Hi,
    I'm not quite sure what you are trying to do.
    What works: Connect the outgroup of a pre- or post-mapping process operator to the mapping output parameter operator..
    What does not work: Connect the outgroup of an operator that can return more than one row (e.g. table operator, filter, joiner ,...) to the mapping output parameter operator. The mapping output parameter just returns "one row", like a pl/sql function call.
    You cannot pass a "data stream" from one mapping to another. Maybe the pluggable mappings is what you are looking for.
    Regards,
    Carsten.

  • How to use the selection profile and status profile for production order?

    Hi expert,
       I want to know how to use the selection profile and status profile for production order. what's the usage for these two selection profile and status profile ?
      Please help me.
      thanks in advance.
      george.shi

    Hi George,
    There are are two types of statuses.One is system status and second one is user status.These statuses will tell us current situation of an order.
    We can't change system statuses.But we can create our own statuses through status profile.With this profile we can control user statuses.
    In this status profile,
    1.We define the sequence in which user statuses can be activated,
    2.We define initial statuses
    3. Allow or prohibit certain business transactions.
    Selection profiles are used to select the objects (say production orders) with different status combinations.We assign status profiles to selection profiles in BS42 T-Code.
    Regards,
    Raja.
    Edited by: Rajarao on Oct 30, 2008 6:21 AM
    Edited by: Rajarao on Oct 30, 2008 6:22 AM

  • How to use the admin user account in reports and dashboards?

    Hi Everyone,
    I want to use the admin user account in report and dashboard connections. But the Hyperion is automatically using the current user's credentials to fetch data.
    Hyperion 11.1.1.1
    Thanks
    Syantan

    This has been posted in the essbase forum > How to use the admin user account in reports and dashboards?
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • HT1343 how to use the options with F10, F11, F11 for turning the sound up or down or mute?

    Hi, I'm Hannah. I'm using a Mac. Can you show me how to use the options with F10, F11, F12 for turning the sound up, or down or mute? Thank you very much

    Normally simply pressing them should do what you want, F10 to mute; F11 to decrease volume; F12 to increase volume. However, it's possible that you have a box ticked in Keyboard preferences which modifies the behaviour of the keys, requiring you to also hold down the Fn key (bottom left key on the keyboard) to enable the function.
    Check System Preferences>Keyboard to makes sure the box indicated in the image isn't ticked.

  • How to create ''from to '' parameter in XL reporter for templates

    Hi,
    How to create ''from to '' parameter in XL reporter for templates
    Can anyone help me in this regard
    thanks,
    Suresh Kannan

    Suresh,
    1. Goto Report Designer
    2. there u can find "Advanced Report Builder" on left side of the window
    3. At the below u can find three buttons like "Parameters", "Properties","Apply"
    4. Click on "Parameters"
    5. then Parameters window will populate
    6. Click the new Button
    7. Name: give as u like
    Category: Literal
    Type: Date
    Attribute: Leave blank
    Default Vale: Leave Blank
    Prompt: From Date
    This is the process to create the parameters.

  • How to use the update mechanism in Photoshop CS10 for Camera Raw?

    Good Evenning!
    I would like to open .NEF files with Adobe Photoshop CS10 (RAW for Nikon D5200) but my version of Camera Raw is too old.
    I need at least the 7.3 version.
    When I try to download it, I have this message: Please use the update mechanism in Photoshop CS10 for Camera Raw. But how?? When I go to "Help" tab, to "Updates", it says that no update available.
    Can please someone help me?
    Thanks a lot!!
    Kinds Regards
    Vanessa

    Which version of photoshop or photoshop elements are you using?
    Which operating system?
    There is no such version as cs10.
    Do you mean photoshop shop elements 10?
    If you go to Help>About Photoshop Elements (windows) or Photoshop Elements Editor>About Photoshop Elements (mac), that should tell you which version you have.

  • How to use Dynamic cascading parameter in crystal Report XI ?

    Hi,
    I want to use Dynamic cascading parameter in crystal Report XI which is to be viewed through the infoview without using the Business View.Is it possible?
    I could implemented Dynamic cascading parameter using the CR XI developer without using Business View, but cannot view the report when uploaded it to BOXI, through infoview.
    Please suggest..
    Thanks in advance..
    Rajneesh

    In the crystal reports field explorer>right click on parameter field>create new-->name the parameter field and select the type as dynamic. Now in the value field click the row and add the database field also add another field below that by clicking on the next row so..on. The order should be like this parent field first and then child field next...... Also click on the last column to add parmater for each level.
    Regards,
    Raghavendra

  • How to Keep the spool created of a report for one month

    Hi ,
    How do we program to keep the spool created of a report for 1 month?
    I used SUBMIT TO SAP-SPOOL but it seems that its maximum retention is only 9 days...
    Please advice.
    Thanks!

    This would be a question for your basis administrator.
    Rob

  • How to use the caseccading parameter in my ssrs report? with some scenioro?

    Hi i have a complex report for that i am using the 3/4 parameters name list.
    parm1:ProductId
    parme2:manafacturer
    pram3:productname
    so here i will use these 3 paramters in my ssrs report .
    so here i will create a casecading parameters using the above 3 parameters.
    But here my requirement is..
    1)for my user selcction select the paramater1  as ProductId based on the productID parameter the 2 nd 3 paramters
    i want to display automatically without user selection
    2),Here every productid have a single productName and single manfacturer
     and here i dnt need the drop down list of 2 nd 3rd parameter for user selection. i need only the text boxes
    4)am alredy tried for this but i will able to see only one value in the user selection of param1.but it would not change for the second selection
    5)can you give me some idea hw would i show u 2nd and 3rd parameteer based on 1st paramter value without drop down list for my user seletion of my first parametr1
    I guess u understand my requirement.
    can you suggest me any help .....for the above requirement.
    ThanX!

    In your case you need to setup parameters like this
    1. ProductId
    Have a dataset which gives you list of productids. It should return atleast one field which would be the distinct productids from your table. 
    ie like
    SELECT ProductID
    FROM ProductTable
    assuming ProductID is it Primary key
    In report go to parameter properties for ProductId parameter
    In Available Values tab choose the option Get values from query
    Map the above dataset and choose value field name as ProductId and label also as the same
    This will populate param 1 with values
    2. Manufacturer
    Have a dataset which gives you list of manufacturers. It should return atleast one field which would be the distinct manufacturer from your table. 
    ie like
    SELECT Manufacturer
    FROM ManufacturerTable m
    WHERE EXISTS (SELECT 1
    FROM ProductTable
    WHERE ProductId = @ProductId
    AND Manufacturer = m.Manufacturer
    assuming Manufacturer field has unique values. map @ProductId query parameter to SSRS parameter ProductId you created above
    In report go to parameter properties for Manufacturer parameter and map the parameter to dataset as per same sequence of steps before
    3. Product
    Have a dataset which gives you list of manufacturers. It should return atleast one field which would be the distinct manufacturer from your table. 
    ie like
    SELECT ProductName
    FROM ProductTable m
    WHERE ProductId = @ProductId
    assuming Manufacturer field has unique values. map @ProductId query parameter to SSRS parameter ProductId you created above
    In report go to parameter properties for ProductName parameter and map the parameter to dataset as per same sequence of steps before
    Now if you run the report the values for Manufacturer and ProductName keeps on changing based on value you chose for productid parameter
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • How to use the result of a sql query for a max () function

    Hi
    I wrote a query on which i wrote
    "select max(id) from users "
    how can i use the returned value.
    if i made the var name ="userid"
    can it be userid.rows[0] or what.
    thnx for any help

    Hi!
    The result of this query will be the max ID of users' IDs.
    Let say we have:
    String sql="select max(users.id) from users";
    Statement st = ctx.conn.createStatement();
    ResultSet rs = st.executeQuery(sql);
    rs.next();     
    So you can get the max Id in the following way:     
    int maxId=rs.getInt("id");
    Regards,
    Rossi

  • How to use the backup database to create report or update testing

    Hi,
    I have a fully backup of production database in the last month, and I have using Oracle 8.1.7. I want to known how can I use
    this backup to generate a new instance so that I can reproduct some report from the last month data or doing some update testing
    from the backup database with the both production instance and last month instance is opened at the same time. I have tried to
    create a new instance by using the oradim and startup the new sid with mount option and then use the alter database function
    to change the datafile name to the new directory. After this i also create the local service name and change to listerner. I can
    startup the new instance but when i start the production database. I got the error that I can open the database with exclusive.
    I do this in Oracle 7.3.4 and it works. But how can i setting it in Oracle 8.1.7. Anyone can help me and many thanks.

    Hi,
    Create the Second instance thro' Database Configuration Assistant, and Replace with Back up files.Now you can run two instances at parallel.

Maybe you are looking for

  • Unable to open or reinstall addressbook; icon not showing

    I'm using a Macbook with Tiger (10.4.11). Tried to open addressbook, but noticed the icon is not the typical brown address book, but the generic "A" icon. Clicking on it does not work. I can open my addresses using the widget & using Mail, but cannot

  • InDesign CS5 ACE exam - when is it available to take in London

    Hello, I have exhausted all means of finding out when and where the Adobe InDesign CS5 ACE exam will happen in London this year. I have called Pearson Vue and they have no idea, they still have InDesign CS4 ACE exam listed. I have also called contact

  • Re: Same entry twice

    Hi, When i do listcube why does it show me each entry twice. In the reprot it is dislayed only once with same selection criteria. Thank you, sam

  • Any 3.0 export to 3.2 problems?

    Have you experienced any problems exporting an application in 3.0 and importing it into 3.2? I've just done that and nothing is working: 1) owa_util.get_cgi_env('REMOTE_USER') always returns "APEX_PUBLIC_USER" not the real network user (making my aut

  • Import Error in Elements 10.0

    Just upgraded to 10.0 and am very dissapointed with errors when importing photos from my 4TB NAS.  Some folders import fine, others error out.  No specific reason is given for the error and I have tried resolving the problem by selecting single folde