Hi,
I am using the SQL Macro to get results from a database.
What is the way to color each result based on the value returned from my query?
So for example, if I get value > 50, color the cell background in Red and if < 50, color the cell background in Green...
Thanks!
Use a case statement in your sql to distinguish the cases and apply the appropriate surrounding text. The easiest way is to use output=wiki and the color or similar macros.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.