Link to home
Start Free TrialLog in
Avatar of srodgers45
srodgers45

asked on

Show date ranges by month in SSRS

I want to show totals (group) by month and year instead of each day. Is there an easy way to do this in report builder 3.0. I usually use crystal. thanks for any help.

User generated image
Avatar of Howard Cantrell
Howard Cantrell
Flag of United States of America image

If you are using a Stored Procedure or Query then the best way is to group your SQL statement by month and Year.
Then the report will pick it up from there.
Avatar of srodgers45
srodgers45

ASKER

I am not currently doing it that way, I was able to figure out the grouping, now I am having trouble displaying the Month Name and Year Example:  "Jan 2012"  I can get it to show in this format:  "1 - 2012"

Using this expression:

=Month(Fields!tdate.Value) &" - " & Year (Fields!tdate.Value)
is tdate a date field?
If so them you could do this...

=Format(Fields!tdate.Value, "MM-yyyy")
When I use the expression above it looks like this:

User generated image
User generated image
ASKER CERTIFIED SOLUTION
Avatar of Alpesh Patel
Alpesh Patel
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I have been gone, i will try this. sorry for the delay.