Forum Discussion
RogerSteinberg
7 years agoPost Patron
How to toggle between % and absolute values in a matrix
Hi everyone, Simply put I would like to toggle between my absolute values in a table/matrix to % as a column or row or grand total. How can I achieve this ? Thank you
- 7 years ago
You may create a slicer table like below.Then create a measure to get the value.
Value_New = IF ( ISFILTERED ( Slicer[Type] ), SUM ( 'Table'[Value] ) / CALCULATE ( SUM ( 'Table'[Value] ), ALLEXCEPT ( 'Table', 'Table'[date] ) ), SUM ( 'Table'[Value] ) )Regards,
Cherie
v-cherch-msft
7 years agoMicrosoft Employee
You may create a slicer table like below.Then create a measure to get the value.
Value_New =
IF (
ISFILTERED ( Slicer[Type] ),
SUM ( 'Table'[Value] )
/ CALCULATE ( SUM ( 'Table'[Value] ), ALLEXCEPT ( 'Table', 'Table'[date] ) ),
SUM ( 'Table'[Value] )
)
Regards,
Cherie