non puoi fare riferimento a una colonna con alias nella stessa SELECT, devi inserirla in una sottoquery:
SELECT currentVal, previousVal, (currentVal-previousVal)/previousVal
FROM (
SELECT IFNULL(DValue,0) as currentVal,
(SELECT IFNULL(DValue,0)
FROM ...
WHERE...) as previousVal,
FROM ...
WHERE ...) T;