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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
RogerSteinberg
Post Patron
Post 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.

2019-03-14 14_43_57-Book1 - Excel.png

 

How can I achieve this ?

 

Thank you

1 ACCEPTED SOLUTION
v-cherch-msft
Microsoft Employee
Microsoft Employee

Hi @RogerSteinberg 

 

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] )
)

1.png

Regards,

Cherie

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-cherch-msft
Microsoft Employee
Microsoft Employee

Hi @RogerSteinberg 

 

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] )
)

1.png

Regards,

Cherie

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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