Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi,
can someone help me to figure out how to get this?
currently i have 3MMA but how to get Jan 2022 and Nov, Dec 2021
measure for 3mma
Solved! Go to Solution.
Hi @Easley06 ,
Please enable the Time Intelligence. This will let the data column has Date Hierarchy.
Create a measure via the expression below.
Measure =
CALCULATE (
AVERAGE ( 'Table'[Values] ),
FILTER ( 'Table', [Date] >= DATE(YEAR(TODAY()),MONTH(TODAY())-5,1) )
)
This measure will filter the context and if the context have no rows match the condition, it will return blank.
Result:
Pbix in the end you can refer.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Easley06 ,
Please enable the Time Intelligence. This will let the data column has Date Hierarchy.
Create a measure via the expression below.
Measure =
CALCULATE (
AVERAGE ( 'Table'[Values] ),
FILTER ( 'Table', [Date] >= DATE(YEAR(TODAY()),MONTH(TODAY())-5,1) )
)
This measure will filter the context and if the context have no rows match the condition, it will return blank.
Result:
Pbix in the end you can refer.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Doupt it works properly without Date table but you may try
Previous 3MMA SOM =
CALCULATE (
AVERAGEX ( VALUES ( mv_fact_sales_aggr[MonthYear] ), [SOM] ),
DATESINPERIOD (
mv_fact_sales_aggr[date],
DATEADD ( LASTDATE ( mv_fact_sales_aggr[date] ), -3, MONTH ),
-3,
MONTH
)
)
it works but i have year for 2022 and i want to get also the Nov , Dec 2021 and Jan 2022 is it possible?
Hi sir,
what i mean is i have 2022 data whice has 4months and i like to get also the previous 3MMA
currently the measure you gave only works if quarter is complete
would like to get the jan 2022 , Dec and nov 2021
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 4 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 24 | |
| 12 | |
| 11 | |
| 9 | |
| 8 |