cancel
Showing results for 
Search instead for 
Did you mean: 

Grouping by specified order question

Former Member
0 Kudos

I have CRXI. I have a group by specified order setup discarding others. In the page header I want to count all data, including the items I have discarded that don't meet the group parameters without displaying them. How would I accomplish this.

Ralph

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Try using SQL Expression like this

(select count(`Customer`.`Country`) from `Customer`)

Regards,

Raghavendra

Former Member
0 Kudos

That works great, however I forgot that I also need it to be able to select that date based on a date paremeter range. What commands would I use for a WHERE clause in the SQL expression statement to put that in. Thanks

Former Member
0 Kudos

You can statically add the where clause like this

(select count(`Customer`.`Country`) from `Customer` where `Customer`.`Country`='USA')

but unfortunately SQL Expressions doesn't support formula fields and parameter fields in it.

Regards,

Raghavendra

Answers (1)

Answers (1)

former_member260594
Active Contributor
0 Kudos

You could put the others together with the name others and then use Group Selection where group name <> "others". This would still allow you to summarize on all the data but only the specified groups would appear.