Solved

An expression that will not pass a parameter to a report

Posted on 2011-03-08
6
302 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
asp.net figure out error 3 45
Starting to use Git with Visual  Studio Online 1 68
c#, datatable, aspx 4 48
SQL 2008 - Disappearing Temp Table in Stored Procedure 24 60
Introduction Earlier I wrote an article about the new lookup functions (http://www.experts-exchange.com/A_3433.html) that ship with SQL Server 2008 R2.  In this article I’m going to show you another new feature of SSRS 2008 R2, this time in the vis…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

737 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