Show statistics of year against month in cross tab

Dear All,
I want to create a report to show some statistics (measure), e.g. sales revenue of different year and month in cross tab format, i.e. year as the vertical axis and month as the horizontal axis. So that I can compare the revenue of specific among different years and show the tendency for analysis.
However, what I got the statistics is being grouped by the year (vertical axis) only and being the same across month ( horizontal axis).
should any coding be added to achieve such purpose? Please kindly advise.
Thanks and Regards,
Cherry

OK, let me explain in this way.
I have a table:
FiscalYr-Month(yyyymm)-Sales
-2006-200601--
1,000,000
-2006-200602--
1,000,100
-2006-200603--
1,000,200
-2007-200701--
1,001,000
-2007-200702--
1,001,100
-2007-200703--
1,001,200
and in the report, i want to compare the data in format of crosstab as follow:
-FiscalYr\Month---01+02+03--
+
--2006----------1,000,000+---1,000,100+---1,000,200--
+
--2007----------1,001,000+---1,001,100+---1,001,200--
+
-Sum/Diff/Avg-.................
So that I can compare the trend of sales of same month against different years.
The original data saves month in format of yyyymm instead of the month number to ease some of calculations of another module. Still, there is a time dimension table which can convert yyyymm to month number. Therefore I thought it should be possible to display month in number in the report.
However, what I get now, the sales are being grouped by the Fiscal Yr like this:
-FiscalYr\Month---01+02+03--
+
--2006----------3,000,300+---3,000,300+---3,000,300--
+
--2007----------3,003,300+---3,003,300+---3,003,300--
+
-Sum/Diff/Avg-.................
I am not sure if there is something wrong in my structure (now year and month and 2 dimensions) or I can make use of some formula/coding in the report (or universe?).
Please kindly give me some idea.
Thanks a lot.
Cherry
Edited by: Cherry Wan on Jun 2, 2009 3:23 AM

Similar Messages

  • How Should select default (Apr-mar)month in cross tab?

    HI Experts,
    I have created webi report with cross tab format. In this report how should select  Current year (April Month) to Next Year (March Month).
    For Example:
    2013 apr.......2014 may

    Hi Manikandan,
    Similar to your previous post about selecting Fiscal Year, do this in BEx, Have a range on Fiscal Month which either the user can input the range or use Customer Exits to derive it.
    The in your cross tab, having Fiscal Month in your columns will show the range selected.
    with regards
    Gill

  • Show percentage  based on summary values in cross-tab

    I am using Crystal XI. I have a cross-tab that has actual hours and standard hours as the summary fields. The column is operation and the row is clock#. I need an additional column that shows an efficiency percent. It would be the sum of standard hours divided by the sum of actual hours times 100.  Is there a way to do this? I tried inserting a formula while in cross-tab expert but it does not seem to have the summary fields available to choose.

    I will check out the example suggested.

  • Calculations based on Summarized data in Cross Tab

    First off, I'm pretty experienced with Crystal.
    I've run accross something that seems like it should be realy easy to do, and the sort of thing you would expect to do  in a cross tab... so maybe I'm missing something totally obvious.
    I'm doing a year over year comparison of some financial data broken down by month and by quarter.
    So, my Rows are Quarter, and a field called 'YEARMONTH' (calculated field, YYYYMM, for ease of sorting)
    My column is Year, and for summarized fields, I have the data field I'm interested in which is a float. Let's call it 'Dollars' for sake of argument.
    What I want to do is create a summary field (next to the total field) called 'Difference' or 'Delta' that calculates for reach row the difference between my two years (2008, and 2009)
    The only solution I can come up with is to dummy in a record from the datasource with a year value of 'Difference' and some other dummy values so that it will show up as a column on the cross tab, and then somehow use the currentrowcolum function or some such creature to mask the output in the column. but now that I type it out here, I'm not sure it's going to work. I also don't think it's going to export the way I want it to either.
    I'd really prefer it to be in a cross tab, and not in some manually created cross-tab emulation using manual running totals, but I'll go there if I have to.
    Thanks a ton!

    This is what I did in my report to get the difference
    my crosstab looks like this
                        2004     2005    Total
    Total              T1         T2         T
    USA               A          B          C
    INDIA              X          Y          Z
    right click on T1 and go to format field and write the suppress condition like this
    numberVar d:=0;
    currencyVar array arr1;
    currencyVar array arr2;
    numberVar e;
    if GridRowColumnValue('year')=2004 then
    (e:=e+1;
    redim preserve arr1[e];
    arr1[e]:=CurrentFieldValue)
    else
    (e:=e+1;
    redim preserve arr2[e];
    arr2[e]:=CurrentFieldValue);
    false
    right click on T and go to format field and write the Display string condition like this
    currencyVar array arr1;
    currencyVar array arr2;
    totext(arr1[1]-arr2[1])
    right click on A and go to format field and write the suppress condition like this
    currencyVar array four;
    currencyVar array five;
    numberVar d;
    if GridRowColumnValue('year')=2004 then
    (d:=d+1;
    redim preserve four[d];
    four[d]:=CurrentFieldValue)
    else
    (d:=d+1;
    redim preserve five[d];
    five[d]:=CurrentFieldValue);
    false
    right click on C and go to format field and write the Display string condition like this
    currencyVar array four;
    currencyVar array five;
    numberVar g;
    g:=g+1;
    ToText(four[g]-five[g])
    Note: Please select the option "column totals on top" for crosstab in customize style
    Hope this helps!
    Raghavendra

  • Cross Tab keeps suppressing rows with no data

    I have a Crystal Report that is using a Cross Tab.  I have 2 rows in the cross tab the first row is the Month name and the second row is the Day Number of the month, and the report will print the Month Name on the left followed by all the Calendar Day Numbers in the month.
    The problem is that when there is no data for a Day Number row the entire row is not shown.  So you might have day number 1, 2, 3 and then jumps to maybe 6.  I found that the ones the cross tab was not showing did not contain any data.  I just need the calendar day number to at least print so the days read sequentially instead of jumping to 6 or another number.
    Is there any way to show the rows even if they don't contain any data?
    I have right clicked and gone into the Cross Tab expert and there isn't anything checked to suppress rows.  I don't understand why its still suppressing rows!
    Is there a global report option that I missed that says "suppress rows when there are no records"?
    Thank you all in advance,
    I am using Crystal Reports XIR2 with Service Pack 4

    I am still not getting all rows to show up on the report.   The rows that are not showing up contain no data in the cross tab but the row still needs to show.
    The only reason I got it to work before was because I selected all values for the columns parameter so it brought back everything in the database that was why it was able to show all values.
    I have two tables one is a date database and contains all the dates till 2012.  The other is the product data which contains the product code and qty that the cross tab summarizes.
    I have done a left outer join from the product data to the date database, and I am still not able to get all the dates to list for the selected time range. 
    I was able to get the dates to show up when I right clicked the link and modified the link properties.  I chose Left Outer Join and then under Link Type I selected ">" in the database expert dialog.  This brought back all the dates but the data in the report was all the same.  Probably just the first record repeated all down the page.
    Any ideas how to fix this problem?

  • How can I avoid the null values in cross tab?

    How can I avoid the null values in cross tab?

    Hello Anindita,
    Let me explain you the problem in detail.
    I have selected User and Program as rows in the cross tab. In Summarized Field I am counting the Programs.
    In DB I can have both User and Program null.
    Letu2019s take these scenarios...
    1) For a User, Program can be null
    2) For a Program, User can be null
    3) And both can be null.
    A null Program does not give problem since Cross tab does not count the null values and in my case too, it remove the Program which are null from the Cross tab because of the counting its doing on Program. Hence scenario 1 and 3 is not a Problem.
    Problem comes in scenario 2 (For a Program, User can be null).
    In this case since Program is not null it will get counted and will be grouped under null user but I donu2019t want to show the null user Grouping in my cross tab.
    "Suppress empty rows" and "suppress empty colums" does not help.
    Thanks & Regards,
    Amrita

  • Suppressing a prior Year Month Column on Cross Tab Report

    I have two cross tab report in the footer that compares orders booked against what was shipped by month.  I need to suppress the columns (Month) for the prior year but keep the Totals.
    I have a pdf of the report

    Try to add a formula as a column in the crosstab instead of a field. Create a formula like this
    if year()=year(currentdate)-1 then
    year()
    else
    month()
    This works only for two years of data, means you need to have the record selection formula like this
    year()>=year(currentdate)-1 and year()=year(currentdate)
    Regards,
    Raghavendra

  • I am attempting to have cells use data from a selective month from the year before so that I can show actual from the prio. years each month.

    I am attempting to have cells use data from a selective month from the year before so that I can show actual from the prio. year each month. I need to create a spreedsheet using the the Acutlas from the year-to-date and from last year-to-date, but need to report each month.

    Hi Tony,
    Answering your question would be easier given a screen shot of the source table and one of what you want the summary table to look like.
    Is the data you want for each month in a single cell o the source table, or does the summary table need to collect February's data (for example) from several cells and do some math with those numbers before presenting them on the summary table?
    Regards,
    Barry

  • Cross tab report-dyanamic columns for months and quarterly sum

    Hi all,
    I work on report creation in BI Publisher.I need to display values in a cross tab report in a way that it shows data for 3 months and then a column for its quarterly sum.
    For ex:-
    Market --Jan       Feb    Mar    Q1_sum Apr May Jun Q2_sum ---------------like wise for n months
    Market1 100 --80 --30 -- 210 --10 -- 80 --90 --210
    Market2 120 --90 --40 --250 --100 --70 --30 --200
    Market3 130 --70 --60 --260 --140 -- 0 --40 --180 ('--' just to maintain indentation)
    The values of number of months( date range) and the names of market are derived dyanamically .
    The code from my sql query presently shows months-range (Jan ,feb,mar..), Quarterly sum to be displayed, Market names etc as child elements in multiple occurences main Query set.
    <Main Query>
    <Market>abc</Market>
    <Region>abc</Region>
    <Months-Range>abc</Months-Range>
    <Quarterly_sum>abc</Quarterly_sum>
    <Main Query>
    <Main Query>
    </Main Query>
    Please guide me on code in rtf template for the same.
    Thanks
    Edited by: user9061488 on Jul 13, 2010 1:32 AM
    Edited by: user9061488 on Jul 13, 2010 3:48 AM

    Hi,
    Do u have time dim in your metadata??
    If not,
    Create a time dimension year,quater,month,day
    http://lh4.ggpht.com/_rhCtHYLiamQ/S7PQvxYBbzI/AAAAAAABZXI/ef_Ur9AmyUo/s800/04_year_quarter_bmm.jpg
    After that in fact table by using the (ago/todate) function ....pull the respective columns to pivot table columns section(date column) and measures col in measures section and enable the grand total in columns section so that it will show grand total for every quarter
    thanks,
    saichand.v

  • My ipad air calendar doesn't show appointments in year view?

    my ipad air calendar doesn't show appointments in year view?

    Year view is too small. You have to be on at least month view.
    You can view alll your events in list form by tapping the magnifying glass on the top right.

  • Year and Month calculation

    Hi
    I have created a report with two prompts, they are "Enter Start date:" and "Enter End date:" where i take date values from a calendar while prompting.
    For example:
    Start date = 10/11/2003
    End date = 10/10/2003
    If i want to display the End date means, i ll use UserResponse("Enter End Date:") in the webi reports. What should i do to calculate Year and Month from this user response value,
    i used these calculations below, but it is not working, showing me #ERROR message.
    1) ToDate(UserResponse("Enter End Date:");"dd/MM/yyyy")     =  #ERROR
    2) FormatDate(ToDate(UserResponse("Enter End Date:");"dd/MM/yyyy");"dd/MM/yyyy")     = #ERROR
    3) Year(UserResponse("Enter End Date:")   = The expression or sub-expression at position 6 in the 'Year' function uses an    invalid data type. (WIS 10037)
    4) FormatDate(ToDate(UserResponse("Enter End Date:");"dd/MM/yyyy  hh:mm:ss A");"MM/dd/yyyy") =#ERROR
    so help me how to get the year and month values from prompts ?
    Thanks
    Dineshkumar

    to get the Month Value and year value in Webi
    month name
    =Month(ToDate(UserResponse("Enter End Date:");""))
    month number of the year
    =MonthNumberOfYear(ToDate(UserResponse("Enter End Date:");""))
    to get the Year Value
    =Year(ToDate(UserResponse("Enter End Date:");""))
    good luck

  • How to show a report for 'Previous Month' Data

    Hi Gurus,
    I have a requirement, where i have to default my report to show previous month data.
    Scenario:
    My prompts by Default are set to CURRENT (current year,quarter,month). once the user logs in, the report should display data for month 'Nov' instead of 'Dec'.
    I tried using TIMESTAMPADD() in the formula , but it didn't work, though i don't see any error. Not sure if i 'm missing something.
    Is there a way to achieve this.I 'm using OBIEE 11.1.1.6.
    Any help is highly Appreciated ! Please.
    Thanks,
    Ramya

    From what you wrote I am assuming the user can manually save the report results to the Excel file.
    If your report uses ALV Grid it is possible to export the data to a spreadsheet (one of the functions available in the ALV tool bar).
    If you have used WRITE statements it is also possible to save the output as a spreadsheet (menu System -> List -> Save), but the latter will not produce as nice a spreadsheet if the data don't form a matrix. In other words, some work may be necessary in the spreadsheet afterwards before it has the format your user wants.

  • How to put year and month in a variable

    I want to create a variable that just shows the current year (like 2010) and another variable that shows the month and year (December 2010). I have had no luck. I tried modifying the definition of unneeded system variables. That works, but it seems prone to "slippage": when importing variables from one doc to another, it's too easy to overwrite the customized system variables. Or maybe there's something in Frame that is resetting them to the default. Anyway, I'd prefer to create new variables to do this. Here's some of what I have tried:
    Variable Definition                         How it shows in the doc
    <$monthname> <$year>     <$monthname<$year
    <$monthname\> <$year\>   (it showed nothing)
    <$monthname>> <$year>>   <$monthname<$year
    I am using Frame 8.0p277, with Windows XP SP3.
    Any advice will be appreciated.

    I am using Framemaker 9, and I, too, tried to create a user variable that incorporated the system variables. It did not wo
    rk. So, as Janice, suggested, I just modified an existing system variable to suit my purpose.

  • How to arrange month in order in cross tab in crystal report

    Hi all,
          we are using cross tab to arranging the data (month wise)  in crystal report. we have month in string format like jan2008. this field is in column of the cross tab. now we need to arrange the month in sorted order. At Present , the month is displayed as april2007, arpil2008, april2009,may 2007, may 2008, may 2009.
      now i want in this order. april 2007, may 2007, april 2008, may 2008, april 2009, may 2009. how to achieve this in crystal report.
    Regards,
    Shanthakumar.

    Try this,
    Create a new formula
    For example, "April 2009" is stored as string in {TABLENAME.FIELDNAME}
    datevalue("1 "&{TABLENAME.FIELDNAME});
    Now you have a date, composed of your year, your Month and 1.
    you can use it to order your data by date.
    If sometimes there is no blank between month and year ("April2009") try this
    local stringvar x;
    x:={TABLENAME.FIELDNAME} ;
    x:=left(x,length(x)-4)&" "&right(x,4);
    x:=replace(x,"  "," ");
    datevalue("1 " & x);
    regards,
    zettels.

  • 1 year 3 Months Exp / wanting to switch to SAP

    Hi Experts
    I am a Electrical Engineering student, having 1 year 3 months experience in a manufacturing plant .
    I am planning to switch to SAP . I have few queries here.
    1. With this experience, if I do a SAP MM course, How would be the job prospects.
    2.Is this experince enough?
    2. Which module of SAP should I chose. Is it SAP MM , if not, please guide me for any other module.
    Regards
    Edited by: Swastik35 on May 9, 2011 4:50 AM
    Moderator Message : Duplicate post locked.
    Edited by: Vinod Kumar on May 9, 2011 9:53 AM

    Welcome to the Forums!
    +1. What screen should I go with? Regular or the Hi-res. LED screen.+
    Whatever you like! High-res is nice, but the text will be ~small~ !!
    +2. Why should I buy 4gig of ram with my computer from Apple for $400 when I get get it for almost 1/4 the price from a retailer and install it myself? Any reason the apple memory would be better?+
    You shouldn't. Buy it from a 3rd party like Crucial or Newegg. Apple memory is just bought from other OEMs anyway, not made by Apple.
    +3. Any advantage or disadvantage to get the black case?+
    MacBook Pros are aluminum, not black. You're thinking of MacBooks.
    +4. Does the 7200rpm 200gig HDD really add that much speed from the 250gig 5200rpm HDD?+
    Adds a little, but honestly unless you're running I/O-intensive tasks you'll get more out of the extra 50 GB.
    +5. Here is the big question. I don't need the computer until mid July. Should I wait to purchase to see if Apple comes out with a better processor and graphics card or is it unlikely this will happen?+
    Although speculation about future Apple releases is +against the Terms of Use for these forums+, it's safe to say that there will ALWAYS be a better processor, better graphics card, faster this, more that, bigger the other released in a few months. That's the computer industry. If you need one, buy now. If you can wait, wait. No matter when you buy, there will always be something better soon. This link may help.
    +6. Any advantage or disadvantage to the 15" over the 17"?+
    Just a different size in a different configuration.
    Go to an Apple Store, try them out!

Maybe you are looking for

  • FILE-MENU refuses to open 10% of the time. Of that about 1/3 can be opened with Alt-F. Not website related.

    Sorry for the ramble: Clean installed FFox 14.0.1 - 2 days ago. Installed all plug-ins, extensions etc just as I had in FFox 3.6.28. All good so far. Played around a LOT til got buttons, tabs etc looking-going lovely. Since then 90% of time "File Men

  • Creating albums and moving individual tracks

    I have quite a few compulation CDs that were created in the mid to late 80s and when I imported them into my iTunes library they were imported as individual tracks with no MP3tag info. Is it possible to create an album and move these individual track

  • File copy with 2 IDE Drive and Soundblaster problem

    Hi, When i try to copy large files my system will usually lock (windows totally freezes, the only solution is to do a hard reset). I cut the problem down to beeing an issue with my sound blaster live platinum 5.1. Everything is working fine when I re

  • Itunes 10.5.2.11 for 64 bit windows 7 freezes

    I updated my Itunes to 10.5.2.11 for 64 bit windows 7 and when I open Itunes it runs but if I close it and run it again it freezes and becomes unresponsive. How can I fix this? I think it's a compatibility issue. Microsoft Windows 7 x64 Home Premium

  • How do I get 5.1 audio from DVDs using CMSS 3dheadpho

    I know I obviously must have my control panel set to CMSS 3D, but my question is toward the actual playback application (PowerDVD, VLC Player, AC3 Filter, etc.) How should I have them set up for my X-Fi to actually decode each seperate channel and ap