PDA

View Full Version : ValueExpressions using in Reports



borsaci007
09-20-2009, 03:06 PM
Hello,

is it possible to use variables like "ValueExpressions" in Reports? I know, that in cutom stats it is possible.

If it is possible, can you show me please just one example?

fozzy71
09-20-2009, 03:54 PM
I have forwarded this thread to the developer for a reply.

Rvg72
09-21-2009, 12:00 AM
Hello,

is it possible to use variables like "ValueExpressions" in Reports? I know, that in cutom stats it is possible.

If it is possible, can you show me please just one example?

Could you give me an example of what you are trying to do? Then I can explain how to do it using an example that will help you

Roy

borsaci007
11-13-2009, 08:20 PM
For example,when I write customstats, I have no problems combining two Value Expressions with the word "and". And I can define the variable "Prefunraised".

sum(case when PH.PreflopAction_ID in (0,1,2) and PH.preflopplayeractiontype_id in (22,66) then 1 else 0 end) as Prefunraised

Here the whole CustomStat:

Stat ColumnName="Pref unraised" ValueExpressions="sum(case when PH.PreflopAction_ID in (0,1,2) and PH.preflopplayeractiontype_id in (22,66) then 1 else 0 end) as Prefunraised" Evaluate="Prefunraised" ColumnHeader="Pref unraised" ColumnFormat="0.00" ColumnWidth="*" Tooltip="" /

But I don't know, how to use this word "and" in CustomReports.

I can program, what I want in CustomStats, but I cannot program, what I want in CustomReports.

I hope, I could explain my problem.