Solved

Value display in Filters for report

Posted on 2013-06-20
3
397 Views
Last Modified: 2013-07-17
I'm working on a .rdl report in VS2008/SQL server 2008 R2.  

Please see the attached file. When I preview the report, the Year filter contains all year options (Fig 1). If "Select All" is selected, all drop down items (2009,2010,2010,2012) are displayed in the box (Fig 2). I would like to display the word 'All' instead of all year values when 'Select All' is selected.

Is there a way to do it? How can I achieve it?

Thanks for any help.
Drop-Down-Select-All.docx
0
Comment
Question by:minglelinch
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
Prakash_Kavar earned 500 total points
ID: 39265317
From where you fetch Fiscal year value?

1)
if from dataset than in the query use

select "ALL" as fiscal_year
union
select yoryearcoloumn as fiscal_year from yourtable

and in the main data set query use like
where (year=@fiscal_year or "ALL"=@Fiscal_year)

2)
if yu given defualt value in parameter than add ALL as labele in one value
0
 
LVL 1

Author Comment

by:minglelinch
ID: 39265982
Thanks for comments. I think I made a little confusing here. Please see the updated attached file.

The label 'Select All' is fine, and it is like the tool default.

The label “Select  All” is fine. When this item is selected,  year values ‘2009, 2010, 2011, 2012’ all are displayed in the Fiscal Year  box. I want the label ‘All’ or ‘Select All’ instead of ‘2009, 2010, 2011, 2012’ is displayed in the box.
Drop-Down-Select-All.docx
0
 
LVL 1

Author Closing Comment

by:minglelinch
ID: 39333449
Thanks.
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Parse this column 6 38
SQL Server Express or Standard? 5 63
2008 to 2016 jump (SQL Server) 1 33
HIghlights of SSIS? 3 45
SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

751 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