Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8319143
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T22:13:38+00:00 2026-06-08T22:13:38+00:00

I have googled it a lot and found that usually it cannot be done.

  • 0

I have googled it a lot and found that usually it cannot be done. I came across one of the hacks here:

http://www.bp-msbi.com/2011/04/ssrs-cascading-parameters-refresh-solved/

But its not working for me in ssrs 2005. Just wondering if anyone else tried it in 2005.
Or is there any other hacks that can be tried.

As per this article the dependent parameter gets refreshed only when its values are invalidated by the selection in the first parameter. If we can invalidate the dependent parameter every time a parameter changes we will enforce a complete refresh. An easy way to do this is to attach a value such as a GUID obtained with the NEWID() T-SQL function.

So basically we want to introduce a fake parameter in between two real parameters. This fake parameter is supposed to return new values everytime as the storedproc behind it will add a guid to the resultset everytime that proc is called. So it forces complete refresh of the other parameters.

Now the main issue I am facing is :

Setting the default value of this fake parameter.
For the available values the storedproc behind the fake param runs and it returns data in the format say : result1,result2_GUIDFROMSQL

Now it looks like the same storedproc is called again to set the defult value if i ask it to get the default value from query. But as the storedproc is run again new guid comes and so the old value cannot be found so its not being set as desired.

I just need to figure out a mechanism to pass this guid from introduced param to the next param.

Thats where I am failing.

My issue can simply be replicated by creating a param whose datasource is this querystring.

select getdate() id, @name nid 

So in this case how to set a default value for this param.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T22:13:40+00:00Added an answer on June 8, 2026 at 10:13 pm

    Finally I was able to resolve this. This link was a helpful start.
    http://www.optimusbi.com/2012/07/16/multilevel-cascading-select/

    Basically what it does is : Writing parameter query in a manner so that the dependent parameter changes its value every time you change its parent parameter.

    The query adds rownumber with a “_” preceeding it. So every time user selects other values the rownumber changes and hence the query resultset.

    Then when using the resultset remove the text after the underscore to get the real codes.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have Googled a lot and found a lot of solutions, but none of
I have googled a lot on this and i have found integrations of Linkedin
I have googled an serached a lot here about background runnin aps but have
i have googled and came to know that how to use the variable arguments.
I have search through google and found that a lot of people is struggling
I am struggling with linking ALAssetsLibrary in my code. I have googled a lot
I've have gone through stackoverflow for days and googled a lot but can still
I have googled the topic for a while but haven't found what I'm looking
I have googled a lot and also searched in stackoverflow.com about how to sort
I have been trying to solve this problem all day, I googled a lot,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.