Solved

An expression that will not pass a parameter to a report

Posted on 2011-03-08
6
298 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In the following article I’ll be discussing and demonstrating several different ways of how images can be put on a report. I’m using SQL Server Reporting Services 2008 R2 CTP, more precisely version 10.50.1352.12, but the methods ex…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

830 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