Forum Discussion

nemo's avatar
nemo
Helper I
3 years ago
Solved

Create a table based on a condition

I have the following table Score Comment Person 1   p1 2   p1 3   p1 4   p1   abc p1 2   p2 3   p2 4   p2 5   p2     p2   How can I create...
  • PVO3's avatar
    3 years ago

    Hi, 

    Try this:

     

    Table = 

    VAR _tbl = SUMMARIZE(FILTER('Table', NOT ISBLANK('Table'[Comment])), 'Table'[Person])
    RETURN

    CALCULATETABLE(
        'Table',
        'Table'[Person] IN _tbl
    )