Forked from ralfbecher/QlikView_Calculate_Age_Group.qvs
Created
October 11, 2013 11:32
-
-
Save IronistM/6933257 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LOAD | |
if(age<16, 'Under 16', | |
if(age>65, 'Over 65', | |
text(16+(Div(age-16,10)*10)) & ' - ' & text(25+(Div(age-16,10)*10)))) as age_group |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment