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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
v-yangliu-msft
Community Support
Community Support

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors