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

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Aspiring_Developer
Specialist
Specialist

Convert data type text to string qliksense

Hello All,

I have below table :-

Aspiring_Developer_0-1662540090155.png

 

Now , I need to take the sum and count of the above field. But when I am trying to take sum it is giving me 0. I thought that field might be in text so I used num# (OPEN_WKG_DAYS) as OPEN_WKG_DAYS . But still the sum is coming 0 .

Not sure why   ? Can anyone please help ?

Thanks in advance

Labels (1)
1 Solution

Accepted Solutions
Aspiring_Developer
Specialist
Specialist
Author

Hello All,

I was able to do it using below :-

num(num#(OPEN_WKG_DAYS)) as OPEN_WKG_DAYS

Thanks to @swuehl . I was able to find the solution in one of his post .Here is the link :-

Solved: Convert Text to Number - Qlik Community - 488687

 

 

View solution in original post

4 Replies
salonicdk28
Creator II
Creator II

Can you please help with the sample data which you are using here

Aspiring_Developer
Specialist
Specialist
Author

Hi, Here is the dataset being used

Aspiring_Developer
Specialist
Specialist
Author

Can  anyone please help me on this ?

Aspiring_Developer
Specialist
Specialist
Author

Hello All,

I was able to do it using below :-

num(num#(OPEN_WKG_DAYS)) as OPEN_WKG_DAYS

Thanks to @swuehl . I was able to find the solution in one of his post .Here is the link :-

Solved: Convert Text to Number - Qlik Community - 488687