Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...This is a very good site. Please keep it running. Thanks and wishing a great health and success for the site and its owners..."

Geography

Where in the world do Tek-Tips members come from?
kavithapedada (Programmer)
26 Apr 12 3:22
DEear All,

Row level GL CODE
Coulnm need to calucalte

Like Parameters Year = 2011 and Period = 11
   Then This YEAR This YEAR THIS MONTH NEED TO SHOW,Year = 2011 AND  Period = 10-9   
Last YEar This MONTH  need to show , Year = 2011 and Period = 10-9     
        "This Year This MONTH"  "LAST year This MOnth " "Variance"
GLCODE
10000S   10000                  4000                     6000
10000R   9000                   5000                     4000
10000T   8000                   3000                     5000
10000K   7000                   1000                     6000
lbass (TechnicalUser)
26 Apr 12 12:30
This is not clear. You seem to want to show the previous two periods based on a selected period, but I'm not following the "this year this month" in relation to the parameters.

What are the actual fields used for your sample data or are these formulas or? How does the sample relate to the parameter selection?

Please provide more explanation overall.

-LB
kavithapedada (Programmer)
26 Apr 12 22:11
Hi LB,

Data base having year and month and one GL Code and Amount Filed
In the Cross Tab iam looking ,
Colunm1 " This Year and This Month" ( means April 2012)
and also i want " Last YEAR This Month"( April 2011)
And variance of This Year This MOnth - Last year This mOnth

Please advice me how to archive it

Regards,
KAVITHA.
lbass (TechnicalUser)
27 Apr 12 12:50
Please explain how the crosstab is currently set up: row, column, and summary fields (and type of summary). Then also show the fields you are working with and identify the datatype if it is not obvious. Do you have an actual date field? Or do you only have year and period fields? Is there an actual period identified as 10-9?

Will the crosstab always compare only two periods or are you really looking for a comparison of current year/previous year for multiple periods?

-LB

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close