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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Measure:
Thank you.
Hi @jnet
Thanks for reaching out to us.
I just want to confirm if you resolved this issue? If yes, you can accept the answer helpful as the solution or share you method and accept it as solution, thanks for your contribution to improve Power BI.
If you need more help, please let me know.
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
the first argument of DATESBETWEEN and DATEADD shall be a Date column. Try this:
L13W FA KG =
CALCULATE(
AVERAGEX(
'TM1 Facts'[Wk Start],
CALCULATE(Baseline[FA KG])
),
DATESBETWEEN(
'Date'[Date],
DATEADD(
Date'[Date],
-91,
DAY
),
DATEADD(
Date'[Date],
1,
DAY
)
)
)
Copying above suggestion, I got below error so I tried changing AverageX to Average and Baseline[FA KG] from measure to column to get a result... but it still looks incorrect.
Thanks. This is the error message I get when taking above suggestion:
indeed the column needs to be converted to a table, try this:
L13W FA KG =
CALCULATE(
AVERAGEX(
VALUES('TM1 Facts'[Wk Start]),
CALCULATE(Baseline[FA KG])
),
DATESBETWEEN(
'Date'[Date],
DATEADD(
Date'[Date],
-91,
DAY
),
DATEADD(
Date'[Date],
1,
DAY
)
)
)
Check out the November 2025 Power BI 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!