I don't have a coding background.
I need help understanding the syntax of this code:
- Code: Select all
if(amt_won > 40, rgb(225, 255, 255), rgb(255, 225,225))
So i'm guessing there are 3 arguments. The first is the logical argument or the parameter you are setting for your statistic. The Second is saying if the logical argument is true, then produce this color? Then is the third saying if it's not true, then this color?
I assume rgb(225, 255 ,255) has nothing to with the parameter but is rather the specific color you want to use in your report, right?
How would i highlight only players that are between 30 and 40 vpip in report? Would it look something like this?
- Code: Select all
if(cnt_vpip > 30 and cnt_vpip < 30, rgb(225, 255, 255), rgb(255, 225,225))
Thanks