
Not applicable
2013-12-05
04:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you determine whether a field is numeric or not in QlikView?
Hi,
I have a field, and it should just contain numbers - however due to the data structure it possible that the field contains text. If so, I want to be able to mark and/or filter these rows.
Regards,
- Tags:
- qlikview_scripting
12,157 Views
1 Solution
Accepted Solutions

Not applicable
2013-12-05
04:27 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Use IsNum()/IsText() functions
4,937 Views
3 Replies

Not applicable
2013-12-05
04:27 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Use IsNum()/IsText() functions
4,938 Views
.png)
Former Employee
2013-12-05
04:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
with isnum(). for example:
load Value, isnum(Value) as IsNum inline [
Value
1
2
a
b
4
w
?
]
4,937 Views

.png)
Former Employee
2013-12-05
04:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just as amit ray and Alejandro Hernandez suggest, you can use IsNum().
However, if you have texts like '3E4', these will be marked as TRUE by IsNum(), since it is a correct scientific numeric format. If you have such texts, it may be better to use
Len(Purgechar(Value, '0123456789.'))=0
as test.
HIC
