Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
evansabres
Specialist
Specialist

Field with hyphens

Hello -

I have a field that appears in this manner, name of the field is [Campaign Name] : (The field is an xlsx file)

NAME - 07032015 - TITLE

I also have an inline table:

tbl_CAMPAIGNS:
LOAD * INLINE
[ cmpNID, cmpCAT
1, BRAVES
2, KNIGHTS
3, JACKETS
4, HHH
5, CLUB
6, COM
7, SURVEY
8, HC ]
;

In my script, I am using:

UPPER(TRIM(SubField([Campaign Name], '-', 1))) AS cmpCAT

Also:

UPPER(TRIM(SubField([Campaign Name], '-', 2))) AS cmpNME,

This allows me to link the two tables so that I can have a list box from which to select the cmpCAT (Campaign Category)

The script runs with no issue and produces the list box in the manner I desire. However, when I click on a cmpCAT from the list box, my app does not produce any results.

Does my issue live in my scripting or is this a result of using an xlsx file?

Thank you.

Labels (1)
1 Solution

Accepted Solutions
evansabres
Specialist
Specialist
Author

Thank you for your time in replying. I made a silly mistake in my data, my scripting was spot-on for what I was trying to do.

View solution in original post

4 Replies
maximiliano_vel
Partner - Creator III
Partner - Creator III

Could you post some sample of the xlsx and expected results?

awhitfield
Partner - Champion
Partner - Champion

Hi Evan,

can you upload your qvw and excel sheet?

Andy

evansabres
Specialist
Specialist
Author

Thank you for your time in replying. I made a silly mistake in my data, my scripting was spot-on for what I was trying to do.

evansabres
Specialist
Specialist
Author

Thank you for your time in replying. I made a silly mistake in my data, my scripting was spot-on for what I was trying to do.