Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
vilenm
Helper II
Helper II

Power bi table or matrix or table to display only x amount of rows at a time

Hi

 We have a tabular model and at times we would display some rows via matrix or table, due to the large amount of rows, is there some way to only display for eg. 5000 rows on a table, and have a next button to show the next 5000 rows instead of displaying everything which I doubt will have a enough memory for the visual to display?

2 ACCEPTED SOLUTIONS
jbocachica
Resolver II
Resolver II

Hi, in order to paginate I would recomend this:

  1. Create an index column starting in 1
  2. Divide that column by the size of your pages (5000 in this case for example)
  3. Roundup the division (1/5000) = 1 --- (5000/5000) = 1, you get the point.
  4. Create a filter and use the second column as a filter

page-powerbi.gif

 

Regards! 

 

John Bocachica
Senior BI Consultant
Information Workers
http://www.iwco.co

View solution in original post

Hi @vilenm ,

After you create an index column in power query, you can create a custom column like this as @ jbocachica mentioned(in my sample, use 20 as the base for paging):

index.png

Close & apply it in power query, use the custom column as the filter that you could get the expected result.

re.png

 

Attached a sample file in the below, hopes it could help.

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

3 REPLIES 3
jbocachica
Resolver II
Resolver II

Hi, in order to paginate I would recomend this:

  1. Create an index column starting in 1
  2. Divide that column by the size of your pages (5000 in this case for example)
  3. Roundup the division (1/5000) = 1 --- (5000/5000) = 1, you get the point.
  4. Create a filter and use the second column as a filter

page-powerbi.gif

 

Regards! 

 

John Bocachica
Senior BI Consultant
Information Workers
http://www.iwco.co

Hi John

 

Thanks this can work! . How would I implement point 2 and 3 ? maybe example?

thanks

Hi @vilenm ,

After you create an index column in power query, you can create a custom column like this as @ jbocachica mentioned(in my sample, use 20 as the base for paging):

index.png

Close & apply it in power query, use the custom column as the filter that you could get the expected result.

re.png

 

Attached a sample file in the below, hopes it could help.

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.