Dashboard -> tabs -> View name. Is it possible to include the number of rows in a view's title?

Any ideas on how to include the number of related rows in a view name? Like “Comments (2)”
The first tab “Details” is an article, the second “Comments” is a related table.


like:

Any ideas without using slices?

("Comments (" & TEXT(COUNT(Comments[_ROWNUMBER])) & ")")
1 Like

Hey Steve! Yes, it was the first thing I tried. I need to show only the number of comments related to a selected article. But this formula shows the total amount of comments in the comments table.

1 Like

What you want isn’t easily possible, as the Display Name expression isn’t aware which specific rows are included in the display. You would have to use a slice or some other means to limit the rows and base the count off the slice.

2 Likes