기술 자료

How to limit the number of rows displayed


게시 날짜: 22 Dec 2023
마지막 수정 날짜: 25 Dec 2023

질문

How to create the Page Navigation using "Next Button" like a Report. How to split a long table into multiple pages and switch between them.
User-added image

User-added image

환경

  • Tableau Desktop

답변

1. Create a Parameter to control Page number as bellow.
User-added image

2. Create calculated fields as bellow.
[Rows per pages]
20
[INDEX]
INDEX()
[Page filter]
[INDEX] > (([Page Selector]-1)*[Rows per pages]) AND [INDEX] <= ([Page Selector]*[Rows per pages])

3. Place the [Page filter] on Filters shelf and select True. Then Show Parameter and use it to control the number of rows displayed.

4. (Optional) On the dashboard, show the parameter and change the settings as bellow. Then shrink the size until it reaches a suitable size as the Next button.
User-added image
 
이 문서로 문제가 해결되었습니까?