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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello all.
I'm looking for some help on this DAX code:
Median Test 3 (next 3 months approved) =
VAR MedianValueDiscipline =
CALCULATE (
MEDIANX (
SUMMARIZE (
'Actual & Forecast Project Resources',
'Actual & Forecast Project Resources'[Work Week Ending Date],
'Actual & Forecast Project Resources'[Capsule Descriptions.Discipline],
"Median FTEs",
SUMX (
'Actual & Forecast Project Resources',
'Actual & Forecast Project Resources'[Consolidated FTEs]
)
),
[Median FTEs]
),
'Actual & Forecast Project Resources'[Final Consolidated Hours Type] = "Approved",
DATESINPERIOD (
'Actual & Forecast Project Resources'[Work Week Ending Date],
MAX ( 'Date'[EndOfThisWeek] ) - 1,
3,
MONTH
)
)
RETURN
MedianValueDiscipline
@DRA885 , did you manage to solve this? I am currently fasing the same problem.
Sorry thought I had the solution but this is still incorrect.
Obviously now still looking for a solution to this
solved with the following change to the Sum calculation of FTEs: