troubleshooting Question

day of week

Avatar of Svlss
Svlss asked on
Microsoft SQL Server 2005SSRSSQL
4 Comments2 Solutions206 ViewsLast Modified:
I am selecting values for some dates in sql between 2 date  parameters.

Select DateName(weekday, sales_date), sum(Net_Sales)
from sales_summary
group by DateName(weekday, sales_date)

it gives me values between which fall in between these 2 parameters

now in report i show like this

Mon      Tue      WED

12      15      14

Now i want to show in my report all the 7 days even if i select only 3 days it has to show all seven days
some thing like this

Mon      Tue      WED      Thu      Fri      Sat       Sun

12      15      14
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 4 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros