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: 
Anonymous
Not applicable

Logical help

Hi all,

I have field named  "CSS_CurrentCEScoreR"  which has range of number till 1000.I want to derive a new column from by arranging a range like 0-20,20-40 and so on from this field. I am using the Class function for this but still no data is populating. Can anyone help?

Regards

Adarsh

Labels (1)
3 Replies
Anil_Babu_Samineni
MVP
MVP

May be do this

Class(CSS_CurrentCEScoreR,20) as CSS_CurrentCEScoreR1

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Anil_Babu_Samineni
MVP
MVP

FYI, I used this

LOAD replace(class(RowNo(),20),'<= x <','-') as ID1 AutoGenerate 998;


Output:


Capture.PNG

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Peter_Cammaert
Partner - Champion III
Partner - Champion III

In a User Interface expression, or in the Load script? You're not posting this in the Scripting forum, so I'm assuming you want to do this on-the-fly?

Can you post an small example document that shows this behavior?