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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
joshua1990
Post Prodigy
Post Prodigy

Calculated Column with SUM in same Table and two Filters

Hi experts!

I have a table like this:

Date Article Department Value
01.01.2023 A 1 5
01.01.2023 A 2 0
02.01.2023 A 1 6

 

Now I would like to add a calculated column or an measure that shows me the Sum for each article regardles of the Department.

Date Article Department Value Value Final
01.01.2023 A 1 5 5
01.01.2023 A 2 0 5
02.01.2023 A 1 6 6

 

How would you do that in DAX?

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @joshua1990 
New column

Value Fina =
CALCULATE (
    SUM ( 'Table'[Value] ),
    ALLEXCEPT ( 'Table', 'Table'[Date], 'Table'[Article] )
)

Could work also as a measure

View solution in original post

1 REPLY 1
tamerj1
Super User
Super User

Hi @joshua1990 
New column

Value Fina =
CALCULATE (
    SUM ( 'Table'[Value] ),
    ALLEXCEPT ( 'Table', 'Table'[Date], 'Table'[Article] )
)

Could work also as a measure

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.