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!View all the Fabric Data Days sessions on demand. View schedule
Solved! Go to Solution.
Sorry. It shouldn't be Tab[ID]. Use the name of the table you're filtering.
Measure2 =
VAR Tab = CALCULATETABLE ( VALUES ( TableX[ID] ), FILTER(TableX, ...) )
RETURN
CALCULATE ( [Measure1], TableA[ID] IN Tab )
@AlexisOlson thanks, but VAR Tab, doesn't let me use Tab itself as an argument of VALUES.
Sorry. It shouldn't be Tab[ID]. Use the name of the table you're filtering.
Measure2 =
VAR Tab = CALCULATETABLE ( VALUES ( TableX[ID] ), FILTER(TableX, ...) )
RETURN
CALCULATE ( [Measure1], TableA[ID] IN Tab )
I'd try refactoring it slightly.
Measure2 =
VAR Tab = CALCULATETABLE ( VALUES ( Tab[ID] ), FILTER(...) )
RETURN
CALCULATE ( [Measure1], TableA[ID] IN Tab )
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!