Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
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: