Hello Everyone,
Please understand the query bit correctly.
I have one value 'X' and for that i have thousands of observations (Values basically lie withing 0 to 200)
Now what i want to build is a programing to set diffrent limits to this 'X'.
Example - I want to see how many observations are above 100 (Value of X)
In same program I should be able to see this results if i apply filter to see all the observations above 75 or lets say all the observations above 50 and so on...
Now I wrote following program (I know somehow i need to get rid of this ELSE ...but quetions is how?).
IF ( 'X' > 100 )
RETURN 'For 100'
ELSE (
IF ( 'X' > 75 )
RETURN 'For 75'
ELSE (
IF ( 'X' > 50 )
RETURN 'For 50'
ELSE 'other' ) )W
hat results it is showing is...For the limit of 100 it is showing right results ..but when i tried to see results for 50 or 75..it is showing me all the observations above 50 or 75 but below 100.
What i want to see is all the observation above 75 and 50.
Could you please help for this on bit urgent basis.
I will really appriciate.
Best Regards,
Saurabh