Forum Discussion
Anonymous
5 years agoNot applicable
Convert excel formula to DAX
I really really need your help converting this excel formula to Dax using columns only. 1. (Weight * PreviousMonth of Actual Volume) (1-Weight) * SmoothedForecast := These are common formulas 2. ...
- 5 years ago
Anonymous i think you need a rescusion, but it's sadly that dax can not do it well. measuse can not reference itself.
probably you need to find another way to solve this.
Anonymous
5 years agoNot applicable
Hi
SmoothedForecast:=if(isempty(previousmonth(dates[date],-1,month)),blank(),if([Previousmonth],[weight]*[auctualAmount]+(1-[weight])*[Previousmonth], [auctualAmount]))
wdx223_Daniel
The problems are I can't call "SmoothedForecast when the next nested if for blank forcasted Smoothed is blank. that should be the actual as is result.
wdx223_Daniel
Community Champion
5 years agoAnonymous i think you need a rescusion, but it's sadly that dax can not do it well. measuse can not reference itself.
probably you need to find another way to solve this.
- Anonymous5 years agoNot applicable
Yes I agree with you 😞 it can't be called columns result on its column..
This is sad 😞