Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi folks,
I need help from you guys.
I have a column name- Landed rate( which is variable, every month is changing)
i need average of Landed rate for current month minus last month.
please me out with this.
Thanks
Solved! Go to Solution.
Hi @Anonymous ,
You can follow the below steps:
1.Add a new column in the table
Cur_Minus_PreviousLandRate =
VAR cur_landrate = 'Table'[LandRate]
VAR cur_month = 'Table'[Month]
VAR previous_month = cur_month - 1
VAR previous_lanrate =
CALCULATE (
MAX ( 'Table'[LandRate] ),
FILTER ( 'Table', 'Table'[Month] = previous_month )
)
RETURN
cur_landrate - previous_lanrate
2.Create a measure to calculate the average about the new added column
Avg_Diff_LandRate =
AVERAGE ( 'Table'[Cur_Minus_PreviousLandRate] )
Best regards,
Community Support Team_ Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , You can use measure that can give this month vs last month data
MTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD('Date'[Date]))
last MTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD(dateadd('Date'[Date],-1,MONTH)))
last month Sales = CALCULATE(SUM(Sales[Sales Amount]),previousmonth('Date'[Date]))
or trailing 1 month meausre
Month behind Sales = CALCULATE(SUM(Sales[Sales Amount]),dateadd('Date'[Date],-1,Month))
or
MTD =
var _max = if(isfiltered('Date'),MAX( 'Date'[Date]) , today())
var _min = eomonth(_max,-1)+1 ,
return
CALCULATE([net] ,DATESBETWEEN('Date'[Date],_min,_max))
This Month =
var _max = eomonth(if(isfiltered('Date'),MAX( 'Date'[Date]) , today()),0)
var _min = eomonth(_max,-1)+1 ,
return
CALCULATE([net] ,DATESBETWEEN('Date'[Date],_min,_max))
LMTD =
var _max1 = if(isfiltered('Date'),MAX( 'Date'[Date]) , today())
var _max = date(Year(_max1), month(_max1)-1, day(_max))
var _min = eomonth(_max1,-2)+1
return
CALCULATE([net] ,DATESBETWEEN('Date'[Date],_min,_max))
Last Month =
var _max1 = if(isfiltered('Date'),MAX( 'Date'[Date]) , today())
var _max = eomonth(_max1,-1)
var _min = eomonth(_max1,-2)+1
return
CALCULATE([net] ,DATESBETWEEN('Date'[Date],_min,_max))
Power BI โ Month on Month with or Without Time Intelligence
https://medium.com/@amitchandak.1978/power-bi-mtd-questions-time-intelligence-3-5-64b0b4a4090e
https://www.youtube.com/watch?v=6LUBbvcxtKA
Why Time Intelligence Fails - Powerbi 5 Savior Steps for TI :https://youtu.be/OBf0rjpp5Hw
https://amitchandak.medium.com/power-bi-5-key-points-to-make-time-intelligence-successful-bd52912a5bd4
To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :radacad sqlbi My Video Series Appreciate your Kudos.
I need average of landing rate(which is varing every month) for current and previous month.
Not sum of sales. Please help me for this.
Hi @Anonymous ,
You can follow the below steps:
1.Add a new column in the table
Cur_Minus_PreviousLandRate =
VAR cur_landrate = 'Table'[LandRate]
VAR cur_month = 'Table'[Month]
VAR previous_month = cur_month - 1
VAR previous_lanrate =
CALCULATE (
MAX ( 'Table'[LandRate] ),
FILTER ( 'Table', 'Table'[Month] = previous_month )
)
RETURN
cur_landrate - previous_lanrate
2.Create a measure to calculate the average about the new added column
Avg_Diff_LandRate =
AVERAGE ( 'Table'[Cur_Minus_PreviousLandRate] )
Best regards,
Community Support Team_ Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the November 2025 Fabric update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!