×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Ability to use a formula on a specified column on a crosstab

Ability to use a formula on a specified column on a crosstab

Ability to use a formula on a specified column on a crosstab

(OP)
Hi there,

I am attempting to report on outcomes from a client interview, the front-end allows workers to select multiple values using a check box. the values are stored in the database as a text field concatenated by a $, for example
Advice given$Escalate to Intensive Service
Signposted$Advice given$Escalated to Health Services
Advice given$Escalate to Intensive Service
Signposted$Referral to another organisation$Advice given
Advice given$Escalate to Intensive Service
Assistance with form filling
Signposted$Advice given
Signposted$Advice given$Escalated to Health Services
Advice given$Assistance with form filling

On my column listing i am using a formula to strip out the values, foe example
InStr(( {events.outcome} ), 'Advice given' ) > 0
InStr(( {events.outcome} ), 'Signposted' ) > 0

I would like to produce a crosstab that counts the number of number of events by outcome. i am using using specified order but i am not able to use my formula to filter out the outcomes from the text file.

Any ideas how i can get around this?

Many thanks




RE: Ability to use a formula on a specified column on a crosstab

Create a manual crosstab in the report footer.

Create formulas like this and place in the detail section:

If instr({events.outcome}),’Advice Given’)>0 then 1

Insert a sum on this at the report total level, and then move it next to a label “Advice Given: ” in the report footer. Repeat for other text alternatives.

-LB

RE: Ability to use a formula on a specified column on a crosstab

(OP)
Many thanks Lbass,

worked just i wanted it to.

Thanks again

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close