Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
jmonroe918
Creator II
Creator II

String Expression - Strip Out First Word

Hello:

I am using the Cyclic function on a pie chart and I would like to see the label above the legend but not the table name. Example: "CAPA.Status"; I want to only see "Status".

This will be the case across several other charts with different names, so I want to apply this to those charts as well.

Thanks.

Jeff 

1 Solution

Accepted Solutions
Anonymous
Not applicable

In the Label Box put =SubField(GetCurrentField(CycleGroupName),'.',2)

Image 3.png

View solution in original post

3 Replies
Anonymous
Not applicable

In the Label Box put =SubField(GetCurrentField(CycleGroupName),'.',2)

Image 3.png

jmonroe918
Creator II
Creator II
Author

Michael:

That worked perfectly. Thanks so much.

Jeff

hic
Former Employee
Former Employee

I think it would be much better if you just renamed the fields properly in the script to start with with. Then you would not have to do this in every object that these fields are used. It would simplify everything in the long run.

See more on http://community.qlik.com/blogs/qlikviewdesignblog/2012/09/25/how-to-rename-fields

HIC