Forum Discussion

Evelin_'s avatar
Evelin_
Icon for Helper I rankHelper I
1 year ago
Solved

MATRIX measures in rows with 2 versions

Hello,   I have several measures with the same setup (only difference is some are for TARGET version, some are for ACTUAL version) and I want to reorder a matrix table but I can not do it as I wish...
  • SamWiseOwl's avatar
    1 year ago

    You could use enter data to create a table with a single column with 2 rows: Actual and Target.

     

    Put this in your Columns seciton of the matrix.

    Create a measure for each of the 3 types:
    Sales =
    If(SelectedValue(table[type]) = "Actual", [Actual Sales], [Target Sales])

    Repeat for each measure and add them into values.
    Then use the Values - Options - Switch values to rows