cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
datadatadata_16 Frequent Visitor
Frequent Visitor

SUM ALL by Row

Hi there,

 

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

 

No Slicer.PNG

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

 

On Slicer.PNG

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

 

Cheers

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: SUM ALL by Row

@datadatadata_16 ,

 

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
Super User

Re: SUM ALL by Row

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

datadatadata_16 Frequent Visitor
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
Community Support Team

Re: SUM ALL by Row

@datadatadata_16 ,

 

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.