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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors