Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Robert14358
Resolver III
Resolver III

Var calculate table not working with filters

Hello All.

 

this is my DAX

AC Hrs =

VAR SUMTABLE =

CALCULATETABLE(
    SUMMARIZE(
        Dim_ACT,
        Dim_ACT[ACT_Key],
        "MAX",
        MAX(Fact_SNAPSHOT[SS_HRS_AC])
    ),
NOT ISBLANK(Dim_ACT[ACT_ID])
)

RETURN
CALCULATE(SUMX(SUMTABLE,[MAX]))
 
It works when no filters are applied, but when i filter it, the sub total do not update.
NO filters
Robert14358_1-1676409793704.png

 

With Filters

Robert14358_2-1676409854174.png

 

 



1 ACCEPTED SOLUTION

yeah FILTER() function is what i needed

View solution in original post

2 REPLIES 2
Robert14358
Resolver III
Resolver III

turns out the NOT ISBLANK(Dim_ACT[ACT_ID])) is causing this to happen for some reason

yeah FILTER() function is what i needed

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors