How to activate a different sub-report for each row in the data set as main report page breaks on each row of data in the main dataset

I am going to try asking this same question a different way as I have yet to find a working solution to my problem.  I have a main report and then 8 sub reports.  My main report has one data set and returns one row of data per account number.  One
of the fields in the main data set is called AccountProf.  My main report displays one page per Account number and then calls a different sub report based on that account's AccountProf value.  The sub reports take in the account number as a parameter
and get multiple rows of data to display that accounts usage formatted differntly for each AccountProf (hence the 8 different sub report.  
So far I can figure out how to do everything but setting the visibility property of each sub-reports when I have multiple accounts.  If I use the following expression for the visibility property on each sub report, it makes all the applicable sub report
for all the accounts requested visible at once:
=IIF(Fields!AccountProf.Value= "USE_PLUS_DMD",False,True)
*The value in bold USE_PLUS_DMD  is different for each sub report.
Here is a look at what the main report look like:
Here is the main reports data set:

Hi JasonDWilson77,
According to your description, there is a main report and 8 sub reports in the report, you want to set visibility of sub reports, if no value is passed to the parameter of sub report, the sub report will not be displayed. If that is the case, please refer
to the following steps:
  1. Create a new parameter named NewAccountNumber, set its data type the same as @AccountNumber, select Allow multiple values, set Visibility to be hidden, then set all available values to default values.
  2. Right-click the first sub report and open Subreport Properties dialog box, click Parameters in left pane, set name to AccountNumber, then click (fx) button, type the expression like below:
=Parameters! NewAccountNumber(0)
  3. Click Visibility in left pane, select Show or hide based on an expression, then click (fx) button and type the expression like below:
=IIF(InStr(Join(Parameters! AccountNumber.Value), Parameters!NewAccountNumber.Value(0))>0 , false,true)
  4. Modify parameter of other sub reports like step2.
  5. Set visibility of other sub reports like step3.
If you have any more questions, please feel free to ask.
Thanks,
Wendy Fu
If you have any feedback on our support, please click
here.
Wendy Fu
TechNet Community Support

Similar Messages

  • How can I display different error bars for each point on a scatter graph?

    I have a scatter chart in Numbers and I need to add error bars to the points along both the x and y axes, however, the size of the error bars for each point need to be of different sizes. Is there a way to accomplish this or is there some kind of work around to acheieve a similar result? So far the only way I can find to add error bars only allows a standard amount for each point.

    I found the answer here https://discussions.apple.com/message/16440653#16441393

  • How can I setup different number range for each company code?

    Dear GURU,
         Is it possible to setup different number range for material document by company code? If yes, what should i do.
         Thank you in advance.
    Thammarit

    Hi,
    you maintain the number assignment for the following documents:
    material documents
    physical inventory documents
    The number assignment for these documents is not to be confused with the number assignment for accounting documents . The number assignment for accounting documents depends on the document type which is allocated to the transaction.
    The number assignment for material documents and physical inventory documents depends on the transaction/event type which is also allocated to each transaction in Inventory Management. The transaction/event types are divided into groups of number ranges. A number range interval has to be defined for each group.
    You cannot change the transaction/event types. However, you can change the number range intervals or you can allocate transaction/event types to new groups.
    Caution: Change in the Fiscal Year
    If, at the time of a fiscal year change, you reset the number range in the new fiscal year, separate number range intervals for the previous year and for the current year must be maintained for one month to allow postings to the prior period.
    Example:
    Interval for 1995: 4900000000 to 4999999999 status: 4900451234
    Interval for 1996: 4900000000 to 4999999999 status: 4900000000
    If only one number range interval exists for both years and you make any postings to the previous period, the system will assign numbers that already exist in the previous year. This would lead to an update termination.
    In the standard system, the transaction/event types and number range intervals are preset for Inventory Management as follows:
    Physical inventory documents
    Number range interval from 0100000000 to 0199999999
    This group contains the following transaction/event types:
    - IB Physical inventory documents
    - ID Physical inventory documents for counts and differences
    without reference
    - IN Physical inventory documents for recounts
    - IZ Physical inventory documents for count without reference
    - WV Physical inventory documents for difference postings in the WM System
    Material documents for goods movements and inventory differences
    Number range interval from 4900000000 to 4999999999
    This group contains the following transaction/event types:
    - WA Goods issues, transfer postings, other goods receipts
    - WH Goods movements for handling units (HU)
    - WI Material documents for inventory adjustment postings
    - WL Goods issues for delivery documents (SD)
    - WQ Goods movements for usage decisions (QM)
    - WR Goods movements for completion confirmations (PP)
    - WS Goods movements for run schedule headers (PP)
    - WZ Documents for batch status changes
    Material documents for goods receipts
    Number range interval from 5000000000 to 5999999999
    This group contains the following transaction/event types:
    - WE Goods receipts for purchase orders
    - WF Goods receipts for production orders
    - WO Subsequent adjustment of subcontract orders
    - WW Subsequent adjustment of active ingredient materials
    Inventory sampling numbers
    Number range interval from 0200000000 to 0299999999
    This group contains the transaction/event type SI.
    SAP recommends that you accept the settings defined in the standard system. In this case, no action is required on your part.
    Note
    For performance reasons, 10 document numbers are buffered on the application server. In this way, gaps in number assignment can occur.
    Actions
    Check whether you can use the predefined groups and number intervals.
    If you want to change any groups, proceed as follows:
    a) Choose Group -> Maintain.
    b) Select the transaction/event type that you want to re-allocate.
    c) Place the cursor on the new group and choose Edit -> Assign element group).
    d) Save your settings.
    If you want to define new groups, proceed as follows:
    a) Select Group -> Maintain.
    b) Then select Group -> Insert.
    c) Enter a text for the number range group.
    d) Maintain the number interval for this number range group.
    e) Allocate the transaction/event types to the number range groups (see step 2).
    If you want to maintain new number range intervals for an existing group, proceed as follows:
    a) Choose Group -> Maintain.
    b) Select a group and choose Interval -> Maintain.
    c) Choose Edit -> Insert year.
    d) Maintain the number interval for the new fiscal year.
    If you do not want to use the year-related number assignment method, enter 9999 in the field Year.
    Note on transport
    You transport number range objects as follows:
    In the initial screen, choose Interval -> Transport.
    Note that all intervals for the selected number range object are deleted in the target system first. After the import, only the intervals you export are present. The number statuses are imported with their values at the time of export.
    Dependent tables are not transported or converted.
    Thanks and regards
    Rajesh

  • How to handle goup sub total for each group in oracle query ?

    hi,
    i want to handle one complex thing in oracle query.
    i have a grouping in my oracle query.
    i want to do sub total for each group in query and after that i want to subtract one group sub total from previous group subtotal ?
    so how can i handle this in oracle query ?
    any help is greatly appreciated.
    thanks.

    Hello
    Interesting requirement.
    I wonder why are you not using these calculation during the display time. If it is acceptable then you can try using the custom formula with the running total combination in crystral report to achieve to get the required results.
    Best regards
    Ali Hadi

  • How to create different log files for each of web applications deployed in OC4J

    Hi All,
    I am using OC4J(from Oracle) v1.0.2.2 and Windows2000. Now I want to know
    1. how to create different log files for each of my deployed web applications ?
    2. what are the advantages in running multiple instances of oc4j and in what case we should run
    multiple instances of OC4J ?
    3. how to run OC4J as Windows2000 Service rather than Windows2000 Application ?
    Thanks and Regards,
    Kumar.

    Hi Avi,
    First of all I have given a first reading to log4j and I think there will some more easy way of logging debugging messages than log4j (If you could provide me a detailed explanation of a servlet,jsp,java bean that uses log4j and how to use log4j then it will be very helpful for me). The other easy ways (if I am not using log4j) to my problem i.e creating different log files for each of web applications deployed in oc4j are
    I have created multiple instances of OC4J that are configured to run on different ports and so on each instance I have deployed a single web application . And I started the 2 oc4j instances by transferring thier error/log messages to a file. And the other way is ..
    I have download from jakarta site a package called servhelper . This servhelper is a thread that is started in a startup servlet and stopped in the destroy method of that startup servlet. So this thread will automatically capture all the system.out.println's and will print those to a file. I believe that this thread program is synchronized. So in this method I need not run multiple instances of OC4J instead each deployed web application on single instance of oc4j uses the same thread program (ofcourse a copy of thread program is put in each of the deployed web applications directories) to log messages on to different log files.
    Can you comment on my above 2 approached to logging debugging messages and a compartive explanation to LOG4J and how to use LOG4J using a simple servlet, simple jsp is appreciated ...
    Thanks and Regards,
    Ravi.

  • HT5622 How do I change the Apple id against a certain telephone number?  I have two iPhones and wish to use a different Apple id for each and confused as to how I do this?

    How do I change the Apple id against a certain telephone number?  I have two iPhones and wish to use a different Apple id for each and confused as to how I do this?

    Create a new Apple ID for the second phone. If you are setting the phones up as new phone enter the ID you want to use on each phone.
    If both phones are already signed in to one Apple ID then use the settings app to change Apple IDs on one phone.
    Settings > iTunes and App Store > tap on the Apple ID > sign out > sign in with alternate Apple ID.
    Note that if you have downloaded apps with the original Apple ID on the phone with the new Apple ID, those apps will still be associated with the old Apple ID and will require the old ID and password in order to update them.

  • How do I create different contacts lists for two iphone/users?

    How do I create different contacts lists for two iphone/users?

    Sorry. This doesn't make a lot of sense. Each iPhone user should have their own cloud accounts with which to sync contacts.
    The iPhone is not a multi-user device.

  • How do I set up different icloud accounts for each family member and make them able to access them on our common mac using their user name on the mac.  I am doing this to make sure kids don't get access to our messages.

    We have several apple products in the family.  I would like to set up different icloud accounts for each memeber.  I lately noticed having activated different devices with same icloud account that each device can access everyones messages by going in their settings and clicking which number or email they want to use to see messages.  Let me make sure I am understood, on my sons ipod in his messages settings he can switch to my cell number and see all my messages.  Re setting the devices isn't my great issue but can i set up each kids user account on my mac to their individual icloud accounts?
    Thanks!

    Any devices connected to the same icloud account can sync all the data on that account.  For this reason an icloud account is really for a single user.
    On a mac, if each user has their own account, then the itunes for that mac account should be set up to connect to that user's icloud account (System preferences>icloud).

  • Can someone upload a photo of their itunes tv shows with multiple seasons? I am wondering if you get different artwork background for each season of that show.

    HI,
    I have upgraded to iTunes 11. Its good. Few bugs but good. Anyway, i have quite a few tv shows with multiple seasons. YOu know how album artwork in music has a theme for each album when you open it.... Is it the same for the differnt seasons in a show? I know a show has a theme but like there is different cover art for each season but only the first season cover art themes for the entire show. Is that how they all are or just mine. If so how do i fix it. Its not really a big deal but it is annoying me alot.
    Thanks

    Actually, for me, it displays the artwork for the second season of the show I have. This is because that season has the highest amount of high star-ratings for its episodes over the rest of the seasons. If you don't give ratings for your episodes, then it probably chose the first season by default. I think episode length also plays a factor, like it shows the artwork of the longest episode or something if star-ratings don't make a difference.

  • Different Year Ends For Each Venture in JVA

    Hi Guys,
    Can we define different year ends for each venture we create in Joint Venture Accounting Module of SAP IS Oil and Gas Solution. If yes how can we ? transaction code or path needed.

    This may be a good start. Display by Month Year the Average and Sum Dates between Start and Stop by Project.
    SELECT      CAST    (
            (CAST(MONTH(Start) AS varchar(2)) + '/01/' + CAST(YEAR(Start) AS varchar(4)))
            AS DateTime
        AS DatePeriod,
        AVG(DateDiff(day, Start, Stop)) AS AverageDaysToClose,
        SUM(DateDiff(day, Start, Stop)) AS SumTotalDaysToClose,
        Name
    FROM     Projects
    GROUP BY CAST    (
            (CAST(MONTH(Start) AS varchar(2)) + '/01/' + CAST(YEAR(Start) AS varchar(4)))
            AS DateTime
        Name
    ORDER BY DatePeriod, Name

  • How do I get separate iCloud accounts for each family members device and still share iTunes?

    how do I get separate iCloud's for each family members iPhone, iPod and iPad and still share iTunes?

    Have everyone share the same iTunes store ID, but use separate IDs for iCloud.  The ID you use for iCloud does not have to be the same as the ID you use for the iTunes & App store.

  • HT1660 how can I use one single library for all users on the same laptop?

    how can I use one single library for all users on the same laptop?

    You are most of the way there. Each user having access to hard drive is the key. If users are limited in file privileges this is harder.
    Any files you add to your library and any files she adds to her library are available to the other. Just not automatically. Each user must add the files to their own library using the add file or add folder option from menu bar.
    What I have done is set library location to a location outside of My Documents\My Music. On my network storage I have a folder names s:\itunes. Both accounts iTunes are set to use this location for the library.

  • HT204053 Do I need a different Apple ID for each of my Apple computers?

    Do I need a different Apple ID for each of my Apple computers?

    Welcome to the Apple Support Communities
    If all of those Macs are for your use, you have to use the same Apple ID on all of them, so you will be able to use all the applications and songs purchased with your Apple ID on them, apart from your iCloud information, in case you have an iCloud account

  • Do I need a different apple id for each device? I have two iPads and an iPod but can only purchase things on the first one. When I go to verify the questions they say they are wrong.

    Do I need a different apple ID for each device I have? I have two iPads and an iPod but I can only make purchases with the first one I purchased. It tells me the security questions are wrong but I know they are not because I wrote them down. I have also reset them and my password once. Please help if you can

    You can not login into iTunes or the App Store using VPP credentials. You must purchase all apps/book/etc.  from the VPP website. Then you can redeem the codes thru itunes/app store or import the codes thru apple configurator. Here is the url for the VPP website: https://volume.itunes.apple.com/WebObjects/MZFinance.woa/wa/login?cc=us
    (It will not affect any of the apps you already have but the id can only be used for VPP.)
    Cheers,    
             Alec

  • I have an iPod, iPhone and iPad all set up to a Dell laptop. I recently got a Macbook Pro, how do I transfer all my control for my devices from the Dell to the MacBook?

    I have an iPod, iPhone and iPad all set up to a Dell laptop. I recently got a Macbook Pro, how do I transfer all my control for my devices from the Dell to the MacBook?  Can anyone help?

    http://www.apple.com/support/switch101/
    http://www.macworld.com/article/1153952/superguide_switchingtoamac.html

Maybe you are looking for