Forum Discussion

sureshg2498's avatar
sureshg2498
Icon for Advocate II rankAdvocate II
1 year ago
Solved

Remove Aggregation from Matrix visual/Move cell value to front

Hi All,   I have created a Matrix visual with customer name under value. Since it aggreagtes i have taken Index to display all customers as shown below. Current Matrix visual     Cl...
  • Bibiano_Geraldo's avatar
    1 year ago

    hI sureshg2498 ,

    Please, create a new calculated column by this measure:

    Custom Index = 
    VAR CurrentCountry = 'Table'[Country]
    VAR CurrentQuarter = 'Table'[Fiscal Quarter]
    VAR CurrentIndex = 'Table'[Index]
    VAR SortedTable =
        FILTER (
            'Table',
            'Table'[Country] = CurrentCountry && 
            'Table'[Fiscal Quarter] = CurrentQuarter
        )
    RETURN
        RANKX(SortedTable, 'Table'[Index], , ASC, Dense)

     

    Now, instead to use index in your matrix, please, use Custom index column, and your final result should look like this: