Solved

How do your write an IF Expression in Reporting Services 2005

Posted on 2011-09-20
2
290 Views
Last Modified: 2012-06-22
Expert:
I am clicking  fx expression... to bring on the popup to write expressions. I have an expression that includes and reads  & " My Test Number:"  & Parameters ! number_c.Value

When Parameters ! number_c.Value  is greater then the number 20  
I want "Parameters ! number_c.Value" to read "Max Number" in my report.
Could some show me the correct expression to do this?
thanks

How do you do this
0
Comment
Question by:tcmmaxt
  • 2
2 Comments
 
LVL 11

Expert Comment

by:rajvja
ID: 36567926
=IIF(MAX(Parameters ! number_c.Value, "Datasetname"))>20,true value, falsevalue)
0
 
LVL 11

Accepted Solution

by:
rajvja earned 500 total points
ID: 36567939
Hi,

    MAX can be used only on dataset not on parameters. Paramers collection will have only value that is passed to it.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Written by Valentino Vranken. Introduction: The first step of creating a SQL Server Reporting Services (SSRS) report involves setting up a connection to the data source and programming a dataset to retrieve data from that data source.  The data…
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

758 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

22 Experts available now in Live!

Get 1:1 Help Now