spool
Computer
- Mar 26, 2003
- 2
I am creating a report that will have 10 different metrics on the report. Metrics can have different options:
1. It can display VALUE (which is a percentage)
2. It can display AVERAGE DAYS
3. It can display N/A
This is what I am looking to do:
If Value is Null and Average Days <> 0 make Average Days.visible = TRUE and the others false
If Average Days is 0 and Value is Null Make NA.visible = TRUE.
The problem I am getting is that it is not reading this criteria for EACH metric so if I turn something invisible it turns that field in every metric invisible. Can anyone help?
I would like to find a way to write code to have these three fields for every metric but to look at the results in the query to determine which field to display.
Thank you!
1. It can display VALUE (which is a percentage)
2. It can display AVERAGE DAYS
3. It can display N/A
This is what I am looking to do:
If Value is Null and Average Days <> 0 make Average Days.visible = TRUE and the others false
If Average Days is 0 and Value is Null Make NA.visible = TRUE.
The problem I am getting is that it is not reading this criteria for EACH metric so if I turn something invisible it turns that field in every metric invisible. Can anyone help?
I would like to find a way to write code to have these three fields for every metric but to look at the results in the query to determine which field to display.
Thank you!