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.
Hello,
I'm trying to calculate a sum where is filtered for the max day I can find in my period of dates. The issue is, my filter condition comes from another table.
I tried this:
Solved! Go to Solution.
hi @MCacc
Do you want to create a calculate column or a measure?
If you want to create a measure, Just adjust the formula as below:
TOTAL= CALCULATE(SUM(TABLE1[HRS]);FILTER(TABLE2;TABLE2[DAYS_PERIOD] = MAX(TABLE2[DAYS_PERIOD])))
If you want to create a column, this formula need to used in TABLE1, In TABLE2, adjust the formula as below:
hi @MCacc
Do you want to create a calculate column or a measure?
If you want to create a measure, Just adjust the formula as below:
TOTAL= CALCULATE(SUM(TABLE1[HRS]);FILTER(TABLE2;TABLE2[DAYS_PERIOD] = MAX(TABLE2[DAYS_PERIOD])))
If you want to create a column, this formula need to used in TABLE1, In TABLE2, adjust the formula as below:
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.