Forum Discussion

cn4422's avatar
cn4422
Helper V
6 months ago
Solved

Sorting specific column in matrix visual

Hello,   I'm trying to sort my matrix table (link to Power BI File) by a specific column, in my case Leads for ContactGroup "A". In the past is was possible to simply add a measure as a tooltip an...
  • cengizhanarslan's avatar
    6 months ago

    Create a measure that calculates Leads for ContactGroup A:

    Sort Leads A =
    CALCULATE(
        [Leads], 
        'ContactGroup'[ContactGroup] = "A"
    )

     

    Add this measure to the matrix:

    • Put it in Values

    • Turn off visibility:

      • Set column width very small, or

      • Rename to blank, or

      • Hide via conditional formatting (font = background)

    Then: Matrix → More options (…) → Sort by → Sort Leads A