Focal Point
[SOLVED] Conditional Styling ACROSS values

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/769104683

March 04, 2010, 01:05 PM
BobV
[SOLVED] Conditional Styling ACROSS values
Hi all-
need a little more help understanding styling columns. This time, values in an across report. If I have a report that sums values across like this:
ACROSS FIELD
BY FIELD
A 0 0
B 0 2
C 1 0

I want only (but all) the cells where the sum is greater than 0 to be conditionally formatted. I can get the ones in the first column of across to format by this:
TYPE=DATA, COLUMN=N2, BACKCOLOR=YELLOW, WHEN=N2 GT 0,

but not the 2nd set of across values. Also, this report may have more than two across values depending on the data. Basically, I do not want entire rows or entire columns formatted. Just cells where values are greater than zero.

Thanks
Bob

This message has been edited. Last edited by: Kerry,


WF (App Studio) 8.2.01m / Windows
Mainframe FOCUS 8
March 04, 2010, 01:43 PM
BobV
I figured this out from another post:

I used
TYPE=DATA, ACROSSCOLUMN=N1, BACKCOLOR=YELLOW, WHEN=N2 GT 0,
$

Sorry to bother.


WF (App Studio) 8.2.01m / Windows
Mainframe FOCUS 8
March 04, 2010, 01:58 PM
Doug
Conditional formatting is really quite straight forward from within the Dev Studio GUI. Select a field on the report... select conditional formatting... follow it on through... BobV's reply is good... But, getting familiar with the DS GUI is a step forward beyond just getting it done.




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
March 04, 2010, 02:54 PM
Francis Mariani
quote:
getting familiar with the DS GUI is a step forward
hmmmmmm


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
March 04, 2010, 03:08 PM
Tom Flynn
As Francis intinmates, a Graphical "USER" Interface to a professional is a step forward?

It's a step forward to decimate the consulting world, agreed, but, a 3 year-old can point-and-click. Business and data analyses is not done via a GUI tool; that, along with folks doing other folks work for them, has changed the world...


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
March 04, 2010, 03:40 PM
Waz
The important thing is that Bob found his answer, on the forum.

10 points for initiative


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

March 04, 2010, 04:22 PM
Doug
quote:
getting familiar with the DS GUI is a step forward ... hmmmmmm
I agree.. I didn't, nor would I, say that it was a "step forward". I did say it was "straight forward " (intuitive?)...

But, then again, I've had clients who require it: "It has to be able to open in the (Dev Studio) GUI"... Then again, I had a client who required all the SQL code as part of the documentation... I was there as a Senior WebFOCUS Consultant. Why would I want to create SQL? WebFOCUS can do that... So, I let it... I gave them the SQL... That's where the SQLTRACE comes in handy... Anyway... I'm sure we could all go on, and on... but, I'll stop... It's so hard to stop... Stop already! OK!




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206