Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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. If 1/1/2019 is no previous month leave it blank
3. If date is on 2/1/2019 the value should be the 1/1/2019 as is.
4. So on my number 1 senario will perform the formulas for entire row
@wdx223_Daniel apologies to mention you but I also need your experties 🙂
Solved! Go to Solution.
@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 please try the code like this, you might do some adjustments to fit in your model
SmoothedForecast:=if(isempty(previousmonth(dates[date],-1,month)),blank(),if([Previousmonth],[weight]*[auctualAmount]+(1-[weight])*[Previousmonth], [auctualAmount]))
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.
@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.
Yes I agree with you 😞 it can't be called columns result on its column..
This is sad 😞
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
20 | |
7 | |
6 | |
5 | |
5 |
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |