Banded Report

Post Author: Elaine H
CA Forum: Formula
I've got an Income Statement that I would like to have resemble green bar paper when it prints.  The detail section of the report is suppressed; the information I want to have shaded is printing from the Group Footer.  I'm using the following formula in the Section Expert Color tab:
WhilePrintingRecords;If RecordNumber Mod 2 = 0 Then crSilver Else NoColor
This shades the lines however I'm suppressing some of the lines if there is all 0's so it isn't consistently banding everyother line.  It is still counting the suppressed lines.
How do I get it to just recognize the lines that are printing when determinig which lines to band?

Post Author: V361
CA Forum: Formula
HI Elaine,
WhilePrintingRecords;If RecordNumber Mod 2 = 0 Then crSilver Else NoColor
will work fine, if you were not suppressing records,   If you suppress record 3, then both
record 2 and 4 will be silver,
Perhaps instead of suppressing the section with all 0's, you could suppress each of the fields instead.   "Just a thought"  Your greenbar (or CRSilver bar) in this case will look ok, because you are not suppressing the section's.

Similar Messages

  • Banded report in Report header of a subreport

    I know how to make a details section of a subreport or a report banded, but I'm trying to create alternating color with several different Report Headers. I need to do this because my information i have in my report has separate columns in the database.  For instance this is what my table needs to look like:
    RHa  | [CUSTOMER]             {Table.CustomerNumber}             (Background Color: white)
    RHb  | [PREVIOUS BALANCE]        {Table.PreviousBalance}             (Background Color: silver)
    RHc  | [PAYMENT RECEIVED]         {Table.PaymentReceived}             (Background Color: white)
    RHd  | [ADJUSTMENTS]                  {Table.Adjustments}             (Background Color: silver)
    RHe  | [ENERGY USAGE]               {Table.EnergyUsage}             (Background Color: white)
    Sometimes the customer won't have adjustments or energy usage etc.. and that row will have to be suppressed.  I need the color scheme to remain alternated even if the line is supressed.
    RHa  | [CUSTOMER]               {Table.CustomerNumber}             (Background Color: white)
    RHb  | [PREVIOUS BALANCE]          {Table.PreviousBalance}             (Background Color: silver)
    RHc  | [PAYMENT RECEIVED]           {Table.PaymentReceived}             (Background Color: white)
    RHe  | [ENERGY USAGE]                 {Table.EnergyUsage}             (Background Color: silver)
    I've been trying to use formatting in each of the background color sections in the section expert, but I've had no luck. Is there a way to make this work?
    Thanks.

    To Provide alternative colour right click on the particular section --> go to select expert --> go to color tab --> click on the formula button and add the required formula.
    ie., If particula value is null then apply this colour else apply different colour.
    To Suppress  a section then right click on the particular section --> to to select expert --> go to suppress formula button and add the required formula.
    ie., if the particular value is null then true else false.
    Hope this helps!!

  • How to add text labels to computed column totals in a banded report?

    I'm sure I'm missing something obvious here. I have a simple report with a table that consists of 3 DB field columns and 3 computed columns. I have the 'show column total' property enabled and it inserts the totals at the bottom of the computed columns. What I haven't been able to do is insert a label to the left of the computed totals. I tried inserting a blank field and adding my label, but the location is not dynamic - if one grouped item has 3 rows and the next has 4 the inserted field does not flow to the bottom of the table for each group, it displays in the same position for each group.
    What property/option am I not seeing?
    Thanks!
    Edited by: user11293154 on Jun 22, 2009 1:03 PM

    Thanks for the reply. I'm using Interactive Studio version 9.3, but can't find the 'Set Spring' feature. The help file doesn't have a reference to it. There is a Spring(method) with this example;
    ActiveDocument.Sections["Report"].Body.Tables["Table"].Spring("Chart")ActiveDocument.Sections["Report"].Body.Tables["Table"].Spring("Pivot")

  • I keep getting this error message, why? "performance band report unit 3.pdf" failed to export to Mic

    Failed to export to Microsoft word.  THis is the error message I get, why wont it export?

    Could be some incompatibility with 10.6.8 or something you added to your system.
    Try downloading the 5.4.0.1771 version and see if you have any better luck.
    FWIW, I just downloaded 5.3.59.1093 and it worked "ok" on my 10.6.5.  Of course "ok" is a relative term when it comes to skype since Microsoft took it over!

  • Report data binding error

    I have created a banded report split into departments. Each
    recore has a value associated with it. The report runs fine if I
    dont try to sub-total each departments vale, but if I add a
    calculated field to the banding, I get the following error:
    Report data binding error Error evaluating expression :
    textField_2 Source text : calc.Department_Total.
    Variable calc.Department_Total is undefined.
    The calculated field is simply the sum of the values, with an
    initial value of 0 and set to reset when the group changes on the
    department. I am using the same data type for the calc field as it
    automatically gave for the original Value field (Big Decimal)
    Any ideas?
    Dave H

    Does anyone have any ideas about this, Its getting a bit
    critical now. Has anyone else been able to do sums that calculate
    on group changes?? The sum total works for the report, jusyt not
    the bands. I desparate here, pulling my hair out.
    Regards
    Dave H

  • Small Case Study

    I have one small case study that I am trying to solve to understand the dimensioanl data modeling concept better.
    We deal with lots of small securities (loans) everyday. We generate Time Series reports from this data, most of the times we look at Market Values and Duration of the securities at aggregated level.
    Everyday we get thousands of securities, each having a type, category, coupon and an amount. E.g.
    Sec Id Type Category Coupon Amount Date
    100 Arm SF_ARMS 5.0 $1200 04/27/05
    101 Arm SF_ARMS_TREASURY5.5 $2000 04/27/05
    102 Fixed SHORT_TERM 5.5 $1800 04/27/05
    103 Fixed LONG_TERM 6.0 $1000 04/27/05
    Sec Id Market_Value Duration Market Calc Batch Date
    100 1350 3.12 M1 C1 B1 04/28/05
    101 2100 2.5 M2 C1 B1 04/28/05
    102 1900 3.0 M1 C1 B1 04/28/05
    103 1100 2.7 M1 C1 B1 04/28/05
    I have to produce a report like this:
    Market Value Duration
    Arm
    SF_ARMS X X
    SF_ARMS_TREASURY X X
    Fixed
    SHORT_TERM X X
    LONG_TERM X X
    My questions are:
    1) Dimensions I have identified are: Securities, Market, Calculator, Batch, Time.
    2) Do we need two separate fact tables for Market value and Duration ? Or they can be in one ?
    3) Should Amount and coupon be security attributes or sit in a separate fact table. According to one book any numerical values should go into a fact table.
    4) What about Type and Category, are these attributes of Security Dimension.
    Any guidance in this direction will be highly appreciated.
    Shalu

    Shalu, here are a few more items to consider. I'll take a stab at these because I'm currently working on a similar investments cube (though with a lot more dimensions)
    - Market value and duration can go into a single fact table if they share the same dimensionality (as noted). Not sure of your application, but are you trying to do any market rate scenario analysis (i.e. what happens if the yield curve shifts up 50 b.p. or down 50 b.p.)? If so, then some variables (duration, avg life, convexity) will need to be dimensioned by scenario, while others (book value, for instance) do not fluctuate based on the scenario and therefore would be in a different cube.
    - Amount and Coupon rate should probably not be stored in the fact table. Having said this, you have several options:
    1) store as attributes in the securities dimension
    Pros: easy for users to select all securities that match a given amount or coupon rate
    Cons: Difficult to band these together on a report or to aggregate the totals (i.e. total market value of all securities in the 4.00 - 4.99% coupon rate band)
    2) store as hierarchies in the securities dimension
    Pros: both amt and coupon could be banded and summarized over the hierarchy, making banding reports very easy to do
    Cons: Difficult to impossible to easily show BOTH amount bands and coupon bands on a single report, since one OLAP query will only allow one hierarchy to be selected
    3) store as separate dimensions outside of securities
    Pros: easy to band, can show both bands simultaneously on a report
    Cons: creates 2 more dimensions that increases cube size (although you will find the new "compressed composites" in 10g work wonders on this)
    Note that all these points also apply to your #4 re: type and category.
    Just because I'm curious, what information do your dimensions "calculator", "batch", and "time" provide?
    Thanks,
    Scott

  • BI Report based on Age bands?

    Hi all,
    I need to create a simple OBIEE report on the sales made by sales persons based on the age band:
    Eg:
    Sales Person Sales
    Age 25 - 35 --> 30000 units
    Age 36 - 45 --> 10000 units
    Age 46 - 55 --> 5000 units
    Age 56 - 65 --> 20000 units
    I have the "*Date_ of_Birth*" field in the SalesPerson_Dimension and the No_units_sold by a sales person in the Fact table.
    My big question is how to create Age Bands in OBIEE?
    Appreciate your help.

    You create a logical collumn 'Age Band' in a Logical Dim table. Use whatever physical table is holding your DOB columm as the LTS for this dimension. For the mapping to the LTS do something like :
    CASE
    WHEN TIMESTAMPDIFF( SQL_TSI_DAY , CURRENT_DATE , physical_table.dob_column) <= 20 THEN '0-20'
    WHEN TIMESTAMPDIFF( SQL_TSI_DAY , CURRENT_DATE , physical_table.dob_column) <= 30 THEN '21-30'
    ELSE '100+'
    END
    You really want this field in a logical dim as you typically want to group by it. If the DOB column is in a fact table dont worry, just use that fact table as the LTS table and do the ususal complex join for this dimension to the fact as normal in the BMM layer.
    Dont forget a hierarchy, good practice even if no true levels, Total -> Detail with your age band as the detail. Also dont forget your content levels in the LTS content tab.
    So all the logic for assigning the bands is performed on each row.
    If your having probs let us know !
    Cheers
    Alastair

  • CF Report Builder 9: Dynamic Footer Band Height

    Problem:
    I have a coldfusion (.cfr)  and need to be able to either set the height of the footer band or set the bottom margin so that the report can be printed onto custom paper which has pre-printed information in at the bottom of the page.
    Can this be done:
    Is it possible to programically set the Footer Height in report builder or even have the footer band expand with its contents. There are options there called Stretch with Overflow but these don't appear to work on this band.
    Or
    Is is possible to programically set the bottom margin of the report for all pages when I am calling it from coldfusion 9
    <!---Create Report--->         
    <cfreport template="../reports/reportFile.cfr"
              style="mystyle{ defaultStyle: false; font-family:'Arial'; color: ##000000;}"
              format="#reportFormat#"
              query="#reportQ#">
              <cfreportParam name="lblTitle" value="#reportTitle#">
    </cfreport>
    I cannot figure this out. Someone please help!

    Another developer on my team sent me a report that worked and
    I noticed that I had set the Print Order to horizontal when I was
    trying to fix another issue. Changed it back to vertical and it
    works fine. Not sure why that should have mattered, but it works.

  • Discoverer 4i report banding

    I have a user request for a report in apps version of discoverer. They have a custom set of categories that they create on the fly in oracle 11i FSGs. Basically they have a level of the accounting category set that is no where in the database that they would like to band several reports under. I am trying to authorize the creation of a table that would hold this missing level but I have been asked to find an alternative. The client hierarchy is Cost Center the Account They would like Cost Center Category Account. They have given me a spreadsheet of What Accounts make up a Category. Does anyone have a suggestion on how I could either use a custom folder or calculations that would allow me to total up accts by these banded categories? Any help would be appreciated.
    michael

    Hi Michael
    You can do this with a DECODE.
    Let's pretend you need to have these banding ranges (0-25, 26-50, 51-75, over 75) where the numbers are coming from an item called ITEM, use this code:
    DECODE(ITEM,LEAST(ITEM,26),'0-25',
    LEAST(ITEM,51),'26-50',
    LEAST(ITEM,76),'51-75',
    'Over 75')
    Basically, we have one less LEAST statement for the number of ranges that we want to define. As you may know, DECODE insists on the items being compared based on equality, hence the use of compating the item with the lesser of the item itself or the first higher value outside of the range. Its a bit like using this code...
    IF ITEM equals the lesser of the ITEM or 26
    THEN include the item in the set called '0-25'
    ELSE IF the ITEM equals the lesser of the ITEM or 51
    THEN include the item in the set called '26-50).... and so on
    To have subgroups, you would create another complex DECODE statement and then use PAGE ITEMS or GROUP SORTING to give you the correct display.
    Hope this helps
    Regards
    Michael

  • AirPort Extreme (802.11n) dual band is reporting problems?

    Hi.
    I can not find an answer for my error-problem:
    AirPort Extreme (802.11n) dual band is reporting problems!
    I have an optimum on line cable modem connected to my AirPort Extreme (802.11n) dual band.
    Ethernet cables connect it 1. into my new Nehalem Mac Pro, 2. into my back-up Quicksilver PowerMac. I also have 2nd gen. iPod touch works on WiFi.
    This set-up has been working well but now I daily get the above error. Sometimes it says also: You have different locations set-up and it asks me to go through the set-up procedure. May be I did the initial set-up incorrect. I don't quite understand "locations" and it's purpose.
    Also the Airport runs very hot so I put a small fan in front of it. A few times I had to disconnect the cable mains to reset and get back my service. Please help.
    W.W.

    Walter Wedler wrote:
    AirPort Extreme (802.11n) dual band is reporting problems!
    I have an optimum on line cable modem connected to my AirPort Extreme (802.11n) dual band.
    Ethernet cables connect it 1. into my new Nehalem Mac Pro, 2. into my back-up Quicksilver PowerMac. I also have 2nd gen. iPod touch works on WiFi.
    This set-up has been working well but now I daily get the above error. Sometimes it says also: You have different locations set-up and it asks me to go through the set-up procedure. May be I did the initial set-up incorrect. I don't quite understand "locations" and it's purpose.
    Can you tell what's telling you about those locations? An Apple AirPort unit can maintain different "configurations" so that it could be used in different locations without a complete reconfiguration. However, I don't believe they're ever referred to as "locations". On the other hand, a Mac can have multiple "locations" defined in the Network panel of System Preferences. Those can be useful if the Mac is used in different places with different arrangements.
    If your AirPort Extreme is having problems the status light on the front will probably be amber. If you launch AirPort Utility and double-click on the AirPort Extreme item on the left, you should be able to see more details about the problem.

  • Reports with banding

    Hi experts,
    We need to know how to implement reports with Banding. For example, create a report to show the article's sales in different price bands.
    Thanks in advance for your help.
    Regards

    Hello again,
    At the end the report needs to be like this:
    Category       Price Range        Units Sold (#)     Net Rev ($)    POS GM ($)      POS GM (%)
                         $0.00 - $49.99        479            $413.931      $40.281          9,73%
    Product X     $350.00 - $399.99        216            $109.383       $796          0,73%
                       $450.00 - $499.99        160            $62.403       ($65.666)       -105,23%
    Is it able a report like this?
    What key figure we need to do this report? Article price for example?
    The restriction must be bassed on key figure?
    Any feedback will be really apreciated
    Thank you very much.

  • Typo in iTunes (Album name/Band..): where to report?

    Hi,
    sometimes there are typos in the iTunes store (e.g. Kings of Convenience - Riot On An Empty Steet; should be Street instead of Steet). How/where can I report such issues?
    Bests,
    errasmus

    sorry I forgot to mention, that I am using the german itunes store

  • Time Capsule (simultaneous Dual-Band II) that is reporting problems

    my TC is giving me this error.. both my macs are backing up fine but only one can access the internet.. any advice??
    for the record, i just had a new cable modem put in and have gone through all the reset options..

    Are the two Macs connected in the same way to the Time Capsule?
    To learn more about the problem, launch AirPort Utility, select the TIme Capsule on the left, and click on "Manual Setup" at the bottom.  You should see an amber "light" opposite "Status".  Click on that or "Status" to learn the details of the problem.

  • DAX Dynamic Banding | Calculated Member based on Calculated Field

    Good morning,
    I've created a Power Pivot model that measures the blood glucose levels of clinical patients at specific times of the day. The requirement is that this metric, let's call it GlucoseLevel, is always averaged as it wouldn't make sense to sum up the values.
    To meet this first requirement, I set the "Summarize By" property of the GlucoseLevel column to "Average".
    The second requirement is to band the GlucoseLevel values so that groups of people can be measured by this band rather than by the individual measure values. I created a banding table in Excel and then imported it into the Power Pivot model. The banding table
    has three columns (BandName, MinValue and MaxValue) and has the following values:
    VERYLOW: Min Value = 0; Max Value = 3.99
    OK: Min Value = 4; Max Value = 6.99
    WARNING: Min Value = 7; Max Value = 10.99CRITICAL: Min Value = 11; Max Value = 30.00
    It is at this point where I face my challenge. I have a GlucoseLevel measure and I have a banding table. Great. The challenge is: How do I create a calculated, dynamic
    member that will look at my GlucoseLevel measure (at whatever level), do a lookup to my banding table, and then return the "BandName" column from the Banding table at that specific level? So to clarify what I mean by level: I want to be able
    to view the bandings at Year level, or a Month level, or even at a week level. Then depending on what level I am at, my measure should have a Band associated to it.
    I've tried to solve this issue in a couple of ways:
    Attempt 1
    Create a calculated column in my fact table that contains a nested IF statement to manually band my GlucoseLevel values. This works fine if I view my data at the lowest level of granularity, however
    it does not work if I start looking at my data at the day, week, month etc. levels
    Attempt 2
    1.) Create a calculated field (not a calculated column) that averages my GlucoseLevel measure. This is cool because it will average my measure at whatever level I am viewing it at. Let's call
    this field Bob...
    2.) Band my measure Bob by creating another calculated field (called PatientBand). This field uses my banding table (described earlier) in conjunction with my calculated field Bob. This works perfectly, except for one big flaw: Excel sees this banding field
    as a measure, and not as something that I can use as a column / row...
    So my question is: Can I trick Excel into viewing my PatientBand calculated field as an attribute, and not as a measure? And if not, how do I get around this challenge? Here is the DAX formula that I used to create my second calculated field "PatientBand":
    PatientBand:=CALCULATE(
        VALUES (Bandings[BandName]);
        FILTER (
            Bandings; 
            Test[Bob] >= Bandings[MinValue]
         && Test[Bob] <= Bandings[MaxValue]
    Thanks!

    So there are 2 ways that I can think of for doing that.
    1) if you are only using MDX clients like Excel or Reporting services you can create a text based measure that returns the banding name. (Note that this sort of approach does not work at the moment with PowerView as it only displays numeric measures). This
    would effectively let you show a label next to a reading as opposed to moving the reading under a given banding column.
    Banding Name :=
    CALCULATE (
        VALUES ( Bands[BandName] ),
        FILTER (
            Bands,
            [Average of GlucoseReading] >= Bands[BandMin]
                && [Average of GlucoseReading] <= Bands[BandMax]
                && NOT ( ISBLANK ( [Average of GlucoseReading] ) )
    2) This next approach will show the results exactly as you had them in your sample screenshots. It just takes a slight bending of the DAX. I'm using a SUMX here, not because I want to sum anything, but because the "X" version of SUMX basically loops over
    every row in the specified table and sums the expression in the second parameter. I have setup the second parameter so that it only returns a single value for the average if it is in the appropriate banding. 
    Banded Average:=IF (
        HASONEVALUE ( Bands[BandName] ),
        SUMX(
            'Bands',
            IF (
                NOT ( ISBLANK ( [Average of GlucoseReading] ) )
                    && [Average of GlucoseReading] >= MIN ( Bands[BandMin] )
                    && [Average of GlucoseReading] <= MIN ( Bands[BandMax] ),
                AVERAGE(Readings[GlucoseReading]),
                BLANK()
    ,AVERAGE(Readings[GlucoseReading])
    http://darren.gosbell.com - please mark correct answers

  • UK payroll Year end reporting for EEs moving Tax References

    We have a number of EEs who have moved payroll area. Each payroll area has a different tax reference. When the EEs are moved in a timely manner all is OK when reporting end of year results. ie the correct apportioned payments are reported to each tax reference.
    However we have a few EEs who were paid in October under payroll area 1 but actually should have been in payroll area 2.
    Im looking to adjust their reporting figures so that the end of year figures includes the October payments in the report to tax reference 2 rather than 1.
    I think this can be done with a combination of adjustment wagetypes and adjusting NI figures via t5G_DTONI.
    Anyone had to do this before?, your experiences will be appreciated.

    the amounts in NIC bands are rounded.
    the remaining values are to the penny.

Maybe you are looking for