Filter table to show just the highest value AND the lowest value?

Is there a way to filter a slice so that it only shows two rows, one with the highest value in a given column, and one with the lowest? 

I'm not sure how to write an expression that does this.

Solved Solved
0 1 86
  • UX
1 ACCEPTED SOLUTION

IN([ID], MAXROW("Table", "Column") + MINROW("Table", "Column"))

Edit: I overlooked the detail of creating a list comprising the values returned by MAXROW and MINROW. I assume my original draft didn't work, but this updated version would:

IN([ID], LIST(MAXROW("Table", "Column"), MINROW("Table", "Column")))

View solution in original post

1 REPLY 1

IN([ID], MAXROW("Table", "Column") + MINROW("Table", "Column"))

Edit: I overlooked the detail of creating a list comprising the values returned by MAXROW and MINROW. I assume my original draft didn't work, but this updated version would:

IN([ID], LIST(MAXROW("Table", "Column"), MINROW("Table", "Column")))
Top Labels in this Space