Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Month to date and previous week total in SQL repor
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

1 Posts

Posted - 10/12/2012 :  16:09:55  Show Profile  Reply with Quote
How to do month to date and previous week to dat order total IN SQL reporting service

here is my sample

Previous week to date and month to date in SQL reporting service

This question about SQL reporting service

I do have a following formula in Crystal report. do samething in SQL reporting service. Please help me.

I would like to count total orderamount if order date in Month to date. sameway find out total order amount if ordrdate is in Previous week( start sunday )

following is a crystal report syntax. I want to do same for SQL reporting service

Provide current month to date Total

if {Table1.orderDate} in MonthToDate then
{table1.orderAmount} else 0

-- Previous week to date Total

if {Table1.orderDate} in lastfullweek then
{table1.orderAmount} else 0
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000