Forum Discussion

eyeball's avatar
eyeball
Frequent Visitor
9 years ago
Solved

Sort by another column error

Hi,   I've created a cluster chart to display companies and the number of activities that our sales force have logged against them (Emails, calls etc).  I would like to sort the data by the pipelin...
  • v-ljerr-msft's avatar
    v-ljerr-msft
    9 years ago

    Hi eyeball,

     

    My mistake! Please try the formula below.:smileylol:

    MaxPipeline =
    VAR currentCompany = 'Table1'[company]
    RETURN
        CALCULATE (
            MAX ( 'Table1'[pipeline] ),
            FILTER ( ALL ( Table1 ), 'Table1'[company] = currentCompany )
        )
    

     

    Regards