Hi,
Does anyone who I could introduce zero when no data in the bucket range.
CASE
WHEN [Age] <= 0 THEN 'Future Value'
WHEN [Age] between 1 and 30 THEN '1 - 30'
WHEN [Age] between 31 and 90 THEN '31 - 90'
WHEN [Age] between 91 and 180 THEN '91 - 180'
WHEN [Age] between 181 and 360 THEN '181 - 360'
WHEN [Age] > 360 THEN '> 360'
END
thx
Sid
Does anyone who I could introduce zero when no data in the bucket range.
CASE
WHEN [Age] <= 0 THEN 'Future Value'
WHEN [Age] between 1 and 30 THEN '1 - 30'
WHEN [Age] between 31 and 90 THEN '31 - 90'
WHEN [Age] between 91 and 180 THEN '91 - 180'
WHEN [Age] between 181 and 360 THEN '181 - 360'
WHEN [Age] > 360 THEN '> 360'
END
thx
Sid