How to select default value automatically for View parameter when I should select "Real Time " in Type of view  ?
Here I attached my screen shot to easily under stand to give solution then I written above I Had 3 parameters when I would be select "Real Time" in Type of view then automatically select null or any other else in View parameter. Report Name : UNPAIDCOMMISSION In this I had Three Parameters which are 1.@Typeof View 2.@View,3.@Entity 1 @Typeof View has drop down 1. Snapshot and 2.Real Time but @View is working with on depending @Typeof View because of my query is 1.1 When I will be selecting "Snapshot" in @Typeof View then it displaying three dates in @View but again When I will be selecting "Real Time" in @Typeof View then It will be selected default NULL or anything else automatically in @View then How to set for @View Parameter PLease Check it this Main Sproc For UNPAIDCOMMISSIO ============================= ========================================= When I click on Preview Then Report call first the Sproc which is [Report].[RSP_UnpaidCommission] then that three parameters are available in this above Proc When I select Real Time in @Typeof View then default select one value in @View parameter whether it is Null or Anything else Can Anyone give reply asap!!!!!!!!!!!!! Hi TIM Thanks for your reply I had query over here Where could I enter this Expression It means 1. Parameter Level or 2.Dataset Level
October 26th, 2012 10:21am

Here I attached my screen shot to easily under stand to give solution then I written above I Had 3 parameters when I would be select "Real Time" in Type of view then automatically select null or any other else in View parameter. CAn Any one give reply asap?
Free Windows Admin Tool Kit Click here and download it now
October 26th, 2012 10:26am

October 26th, 2012 10:36am

Your screen shots are not displaying. Sounds like you are talking about setting the default value of a parameter. Defaulting to null is easy. Set the parameter to allow null values then set the default to use a specific value. You will see that the default "specific" value is null. If you want something else as default, type that value in place of the (null) that it defaults to. You can also set the default using a formula (with some restrictions) to programatically set the default value of the View parameter based on the value of the View Type parameter: =IIf(Parameters!ViewType.Value="Real Time","X",IIf(Parameters!ViewType.Value="blah","Y",IIf(Parameters!ViewType.Value="blahblah","Z",Nothing))) Please Mark posts as answers or helpful so that others can more easily find the answers they seek.
Free Windows Admin Tool Kit Click here and download it now
October 26th, 2012 11:11am

Just create Temp Table In Populate Sproc and then Call Temp Table in Real Time and Then go to Report Select the Available Values as Select the Radio button Get Values from Query then Select Default Values as Get Values from Query Like this Create Table #TempData ([SnapShot Label] Varchar(255)) INSERT INTO #TempData Values ('NA') Then Click on Preview
October 31st, 2012 8:06am

Like this Create Table #TempData ([SnapShot Label] Varchar(255)) INSERT INTO #TempData Values ('NA')
Free Windows Admin Tool Kit Click here and download it now
October 31st, 2012 8:10am

Hi Nsrao, Glad to hear that you have resolved the issue by yourself and thanks for share your soluation. Regards, Fanny Liu Fanny Liu TechNet Community Support
November 1st, 2012 12:50am

Thanks Fanny Liu With Best Regards, Nageshwar
Free Windows Admin Tool Kit Click here and download it now
November 1st, 2012 5:25am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics