SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 Analysis Server and Reporting Services (2012)
 select all reporting
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

inbs
Aged Yak Warrior

832 Posts

Posted - 06/18/2013 :  01:49:20  Show Profile  Reply with Quote
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

India
52309 Posts

Posted - 06/18/2013 :  02:12:56  Show Profile  Reply with Quote
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

832 Posts

Posted - 06/18/2013 :  03:17:45  Show Profile  Reply with Quote
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

India
52309 Posts

Posted - 06/18/2013 :  03:37:40  Show Profile  Reply with Quote
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

832 Posts

Posted - 06/18/2013 :  04:09:52  Show Profile  Reply with Quote
sorry,it is question, what is your opinion?
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52309 Posts

Posted - 06/18/2013 :  04:16:59  Show Profile  Reply with Quote
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

832 Posts

Posted - 06/18/2013 :  05:47:35  Show Profile  Reply with Quote
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

India
52309 Posts

Posted - 06/18/2013 :  06:07:11  Show Profile  Reply with Quote
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

832 Posts

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

visakh16
Very Important crosS Applying yaK Herder

India
52309 Posts

Posted - 06/18/2013 :  06:57:18  Show Profile  Reply with Quote
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
  Previous Topic Topic Next Topic  
 New 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.09 seconds. Powered By: Snitz Forums 2000