How Can I Not To Show All Events?

Good Morning,

I would like to know if there is a way that I can limit the number of events to show on my Events list?
For example, I would like to limit a maximum of 5 latest Events (Testing 1, Testing 2, etc.) to show on my Events List per category (CE, EL, etc.).

Solved Solved
0 2 419
  • UX
1 ACCEPTED SOLUTION

Steve
Platinum 4
Platinum 4

Create a slice on EVENTS LIST with a row filter something like this:

IN(
  [KeyColumn],
  TOP(
    ORDERBY(
      FILTER(
        "EVENTS LIST",
        ([Category] = [_THISROW].[Category])
      ),
      [Event Date],
      TRUE
    ),
    5
  )
)

replacing KeyColumn with the name of the key column of the EVENTS LIST table.

View solution in original post

2 REPLIES 2

Steve
Platinum 4
Platinum 4

Create a slice on EVENTS LIST with a row filter something like this:

IN(
  [KeyColumn],
  TOP(
    ORDERBY(
      FILTER(
        "EVENTS LIST",
        ([Category] = [_THISROW].[Category])
      ),
      [Event Date],
      TRUE
    ),
    5
  )
)

replacing KeyColumn with the name of the key column of the EVENTS LIST table.

@Steve

Thank you very much. It works!

Top Labels in this Space