cancel
Showing results for
Did you mean:
Highlighted
Frequent Visitor

## SUM ALL by Row

Hi there,

I would like the column 'total_phrase_all_pixel' to simply keep the results as shown:

However when I use the pixel slicer on the right Ican't get the number to remain like it does for total_all_pixel which uses the ALL function in CALCULATE SUM

Is it possible to do a SUM ALL by row calculation?

Cheers

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team

## Re: SUM ALL by Row

Use ALL(Table) instead of ALL(Table[Column]) like below:

```total_all_pixel =
CALCULATE ( SUM ( 'Table'[pixel_count] ), ALL ( 'Table' ) )
```

Community Support Team _ Jimmy Tao

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

3 REPLIES 3
Super User

## Re: SUM ALL by Row

are these calculated measures?
What;s the syntax for [total_pixel]?

Frequent Visitor

## Re: SUM ALL by Row

Thanks for getting back,

total_pixel = CALCULATE(SUM('Table'[pixel_count]),ALLSELECTED())
total_all_pixel = CALCULATE(SUM('Table'[pixel_count]),ALL())
Community Support Team

## Re: SUM ALL by Row

Use ALL(Table) instead of ALL(Table[Column]) like below:

```total_all_pixel =
CALCULATE ( SUM ( 'Table'[pixel_count] ), ALL ( 'Table' ) )
```

Community Support Team _ Jimmy Tao

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