Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Show text in a matrix based on a filter

Hello I'm trying to build a matrix with some information in it. Now I'm stucked in a text filter. I need the matrix to show me differents values depending on the expansion of the first column (Name)...
  • Greg_Deckler's avatar
    Greg_Deckler
    4 years ago

    Anonymous So maybe this?

    Actions Committed MM3TR&R = 
      IF(
        ISINSCOPE('Table1'[Incidents]),
        [Actions Committed],
          VAR __Table = SUMMARIZE('Table1',[Name],[Incidents],"AC",[Actions Committed],"Per",[Total Percentage])
          VAR __Max = MAXX(__Table,[Per])
        RETURN
          MAXX(FILTER(__Table,[Per] = __Max),[AC])
      )