Forum Discussion

rlingua2234's avatar
rlingua2234
Regular Visitor
7 years ago
Solved

Matrix Percentage using Measures for Totals

New to BI still getting used to DAX language.   Have the following data   Category = 01-SALES or 02-COGS     Branch  |     01-SALES    |   02-COGS     |  Total -------------------------------...
  • MFelix's avatar
    7 years ago

    Hi rlingua2234,

     

    Although you have very limited information you need to make a measure that should look something like this:

     

    % =
     ( SUM ( Table[01-Sales] ) + SUM ( Table[02-COGS] ) )
        / SUM ( Table[01-Sales] )

    Then format as a percentage.

     

    Concerning the second part what do you mean change it based on a slicer? What type of information as the slicer should have?

     

    Regards

    MFelix