Solved

SSRS Format

Posted on 2009-06-29
3
412 Views
Last Modified: 2012-05-07
I have a question on Conditional Format. I have 2 fields
=Fields!Cost.Value
=Fields!OrderCost.Value


I want to make a new dataset or a textbox that displays the greater of the 2 which is the easies way to do it?
0
Comment
Question by:gotti777
[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 Comments
 
LVL 8

Accepted Solution

by:
Hadush earned 400 total points
ID: 24740214
You can just use expression  
Note: How would like to handle them if they are both equal?


=IIF (Fields!Cost.Value>Fields!OrderCost.Value, Fields!Cost.Value, Fields!OrderCost.Value)

Open in new window

0
 

Author Comment

by:gotti777
ID: 24740240
display ordercost .. i guess it dont matter snice there the same
0
 
LVL 27

Assisted Solution

by:Chris Luttrell
Chris Luttrell earned 100 total points
ID: 24742788
If you just want the greatest value, irregardless of which field it came from, then the code Hadush provided will work.  I ran some test to make sure nulls would not cause any deviations and between 2 numeric fields, it works fine.
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Introduction: When running hybrid database environments, you often need to query some data from a remote db of any type, while being connected to your MS SQL Server database. Problems start when you try to combine that with some "user input" pass…
A recent questions about how to add SSRS named instances, couldn't find any that talks about SQL server 2008, anyway I decided to help by creating some screen shots. The installation is straightforward, you just pop the SQL server 2008 installati…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

623 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