Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Inserting Text When Row Found On Table 2

Status
Not open for further replies.

pieface

Programmer
Jun 21, 2005
5
0
0
GB
Hi,
I am producing a report and need an attribute to be defined so that if a row is found on that table it returns a value of 'Y' into the report.

Any ideas ??
 
Well if it is not a big deal, you can redefine that particular column used for your attribute as a fact. Define a metric that has a max(<fact>) set at your report level(or the level you deem it fit).
Use thresholds now to replace the row for which you would like to replace a 'Y' instead.
This is usually the most straighforward and easy way!
 
If you really want an attribute, your attribute can be defined as ISNULL(col_name, 'Y', 'N') will return anything exist as 'Y' (check the syntax).
You can also create a metric on top of attribute ID similar to iolaper's post
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top