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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
Anonymous
Not applicable

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.