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

 All Forums
 SQL Server 2012 Forums
 Analysis Server and Reporting Services (2012)
 select all reporting

Author  Topic 

inbs
Aged Yak Warrior

860 Posts

Posted - 2013-06-18 : 01:49:20
hi,

how is the defulat could be "select all" ,when i opend the report
(the data set is on SP, that get parameter)

thanks

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-06-18 : 02:12:56
http://blogs.msdn.com/b/bimusings/archive/2007/05/07/how-do-you-set-select-all-as-the-default-for-multi-value-parameters-in-reporting-services.aspx

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page

inbs
Aged Yak Warrior

860 Posts

Posted - 2013-06-18 : 03:17:45
i must to choose key in the value field in the parameter? and in the query ,in the where...change to key

i mean : WHERE storekey IN (SELECT * FROM (@param_StoreKey, ','))
instead (i wrote before)
WHERE store IN (SELECT * FROM (@param_Store, ','))
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-06-18 : 03:37:40
was that a question or a statement?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page

inbs
Aged Yak Warrior

860 Posts

Posted - 2013-06-18 : 04:09:52
sorry,it is question, what is your opinion?
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-06-18 : 04:16:59
it depends on your requirement. In typical cases, key is used for filtering and decsriptions are just for displaying to users inside dropdown.

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page

inbs
Aged Yak Warrior

860 Posts

Posted - 2013-06-18 : 05:47:35
but, if i choose description in "value field" the select all is nto work automatically, unless i choose key in "value field".

why?
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-06-18 : 06:07:11
hmm..if you're using description in value field, you should be setting same field in default value too. Both the places field has to be same either description or key

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page

inbs
Aged Yak Warrior

860 Posts

Posted - 2013-06-18 : 06:47:36
this is my problem with description it is not working.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-06-18 : 06:57:18
what have you set as default value in that case?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
   

- Advertisement -