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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
razan_5r5
Frequent Visitor

calculation

how i can sum all the value in one column except one in power bi 

1 ACCEPTED SOLUTION
GilbertQ
Super User
Super User

Hi @razan_5r5 

 

If you mean all except on column you could do use the DAX measure ALLEXECPT

ALLEXCEPT – DAX Guide

 

Otherwise if you are looking to filter out on particular value, you could use the FILTER measure

FILTER - DAX Guide





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

3 REPLIES 3
naveenmechu
Helper I
Helper I

Hi, 

you can use 

CALCULATE(sum(Table1[cost]), ALLEXCEPT(Table1,Table1[city ]))
 
Hope it will help you.
Please mark it as solution if you got your answer
Anonymous
Not applicable

Hi  @razan_5r5 ,

I created some data:

Add [amount1] and [amount2]

vyangliumsft_0-1641955731842.png

Here are the steps you can follow:

Create calculated column.

Sum_Column = 'Table'[amount1] + 'Table'[amount2]

vyangliumsft_1-1641955731850.png

Create measure.

Sum_Measure = SUM('Table'[amount1])+SUM('Table'[amount2])

vyangliumsft_2-1641955731852.png

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

GilbertQ
Super User
Super User

Hi @razan_5r5 

 

If you mean all except on column you could do use the DAX measure ALLEXECPT

ALLEXCEPT – DAX Guide

 

Otherwise if you are looking to filter out on particular value, you could use the FILTER measure

FILTER - DAX Guide





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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