Solved

An expression that will not pass a parameter to a report

Posted on 2011-03-08
6
294 Views
Last Modified: 2013-12-17
Hello,

I have created a pie chart, and in the actions of pie i defined "Go to report"
In the expression,I go to a differnet reports by one of my parameters.

I want that one of the parameters I am passing will not pass to one of the report.
Is there any expression that i can write in one of the parameters that will not pass the parameter?
Capture.JPG
0
Comment
Question by:contel
  • 3
6 Comments
 
LVL 9

Expert Comment

by:mayank_joshi
ID: 35067213
An alternative option you might consider is to publish your report to a folder, hide it using security permissions, and present to the users two "linked reports" based on the hidden one. You could then show/hide different combinations of parameters on each, e.g. one can show the start and end date parameters, while in the other the users can select "Entire Program" or "Last Quarter" (no need for the "Specified Dates" option). To the users they will appear to be 2 different reports, but you will only need to maintain one in the background.
0
 
LVL 44

Accepted Solution

by:
AndyAinscow earned 500 total points
ID: 35068691
You could always pass a value eg. -1 into the report instead of the real value.
In the report you could set fields to hidden (that you don't want shown under these special circumstances) based on a condition (eg. PassedInParameterWhichHasADifferentNameToThisMadeUpOne = -1)
0
 
LVL 44

Expert Comment

by:AndyAinscow
ID: 35276299
My comment #35068691 indicates a method to achieve what the asker requires.  Namely always pass in a value BUT for a particular value the parameter field on the report is hidden so the user doesn't see that dummy value.
0
 
LVL 44

Expert Comment

by:AndyAinscow
ID: 35276306
My comment #35068691 indicates a method to achieve what the asker requires.  Namely always pass in a value BUT for a particular value the parameter field on the report is hidden so the user doesn't see that dummy value.
0
 
LVL 1

Expert Comment

by:modus_operandi
ID: 35321848
Starting auto-close process to implement the recommendations of the participating Expert(s).
 
modus_operandi
EE Admin
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

How to use Variables  and Custom code in SSRS report and Assembly reference to use compile shared code in SSRS. Its big question for all who are working with SSRS. It is easy to create assembly and refer in SSRS report, still there are some steps…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now