Solved

Select a specified month

Posted on 2010-11-30
1
196 Views
Last Modified: 2012-06-27
Hi I need to be able to select a specified month from the attached script when i put it in Reporting services. Please note that the are may rows with the same month in as this is the querymonth that the query was logged

I am not sure if i need to use a delcare date or how to put a where clause in so the user can chose a month
Select	QueryYear

		,QueryMonth

		,QueryMonth_No

		,BusinessDays

		,RealDays

		,employmentstatus

		,Region_Name

		,BusinessChannel

		,measure

		,ApplicationType_Name

		,QueryType_Name

		,QueryStatus_Name

		,QueryLevel1

		,querylevel2

		,querylevel3

		,Volume

From dbo.Query_Management_Dashboard

Open in new window

0
Comment
Question by:Davesm
1 Comment
 
LVL 18

Accepted Solution

by:
x-men earned 500 total points
Comment Utility
Create a new parameter Month on the report (@month) with the 12 possible values.

configure the dataset :

Select ...
From ...
Where QueryMonth in (@month)
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

Suggested Solutions

When writing XML code a very difficult part is when we like to remove all the elements or attributes from the XML that have no data. I would like to share a set of recursive MSSQL stored procedures that I have made to remove those elements from …
Data architecture is an important aspect in Software as a Service (SaaS) delivery model. This article is a study on the database of a single-tenant application that could be extended to support multiple tenants. The application is web-based develope…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now