Show/Hide filter parameters based on condition with SSRS (.rdl) reports - reporting-services

I am trying to hide the SSRS (.rdl) report parameter based on some condition.
Example:
Parameter-1
Forecast Type :
Value-1 :Monthly
Value-2 :Yearly
Parameter-2
Fiscal year
so if the user select Forecast Type = Monthly then the fiscal year parameter should show otherwise it should hide

Related

ssrs report builder year on year

How can I build a report when I select eg. Apr-Jun22 to show in a matrix Apr-Jun22 and another matrix Apr-Jun21 automatically OR either have a current period parameter and previous period parameter on selection - which ever way to have the two periods in one report on any date selection ?

SSRS : Disable/Hide Parameters based on selection in another Parameter

I Have 4 Parameters in my SSRS report.
My requirement is that one of my parameters is the main parameter and based on that parameter selection the remaining 3 parameters should display/hide in the parameter section.
Eg. My parameters are
Parameter 1 - which has values Market, Technology
Marketunit
Country
Technologies
If Market is selected in Parameter 1 I need to display only 2 & 3 (i.e) Marketunit and Country
If Technology is selected in Parameter 1 I need to display only 4 - Technologies in Parameters Section
Is it Possible in SSRS 2012 ?
My initial view
After selection

Need to set a date parameter on an SSRS subscription

I have a report in SSRS that takes a single date as a parameter. What I want is for that report to have a subscription that uses the Saturday of two weeks ahead as the date (i.e., Monday 7/4 would give Saturday 7/16). How can I do this in the subscription? Looks like I can't do a formula in the parameter.
You have to set the default parameter value in the report, not in the subscription. An expression to use in the default for the date parameter would look something like this. There both add 2 weeks to the current date.
=DataAdd(DateInterval.WeekOfYear, 2, Today)
or
=Today.AddDays(14)
The default values can be set using the Report Parameters Properties dialog in the report designer. Just double-click on the parameter you want to change and the dialog will open.

Using a Parameter from a query in a Report

I'm using a query in which a enter parameter box appears for a user to enter a month and year and the query shows sales data for that time period.
When I create a report based on this query, how can I pass the entered value to the report so it can be used in a string? Eg. If they Enter in May for the month and 2014 for the year, The title of the report will be sales for May 2014.
You can use this expression as ControlSource for a textbox:
=DateSerial([Please enter year],[Please enter month],1)
Now specify for the Format property of the textbox: mmmm yyyy

How to get record between two hours in SSRS Report

I want to get report per hour in SSRS Report.
like records created in 9:00 am to 10:00 am how I do that.
You need to create two input parameters, startTime and lastTime, from double click to the report -> parameters-> add Parameters than add a filter to the table, with 2 element:
time > startTime && time< endTime