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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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