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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Sabatino
Frequent Visitor

How to show TopN and MidN rows from a query on different reports?

Hello,

 

I have a query I wrote which is currently returning 150 rows and I want to create table type reports to rotate and display on a TV.  Because they will be displayed on a TV, simply scrolling the table will not be an option.  Using a single dataset I'd like to create 6 reports to show 30 different rows from my list.

 

In Visual Basic or C# I could write a code to count the number of rows and determine how many times that number is divisible by 30 and then choose which 30 rows to display on each report.  If there were 60 rows, it would show the first 30 rows, then the second 30 rows on reports 1 and 2, 3 and 4, and 5 and 6.  Or, if there were 180 rows it would show 30 different rows on each report.

 

I'm using 6 as my lucky number of reports because I can fit 30 rows on each report table and don't anticipate ever needing to display more than 180 rows.

 

Is there any way I can make a power BI report count the number of rows returned from a dataset and display certain rows based on a calculation?  Or is there any other solution for me to break up my data into multiple tables showing different rows on each report from a single dataset?

 

Otherwise, I can write what I need into the SQL code and utilize 6 different datasets. It just seems wasteful and inneficient to use that many datasets in this case.

 

Thank you,

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hello @Sabatino 

You can create an index/rank column and apply that as a visual level filter. Like on the 1st-page table apply the filter as 'is greater than equal to' = 1 and 'less than equal to' = 30 and so on for other pages.

I hope this works for you.
Thank You.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hello @Sabatino 

You can create an index/rank column and apply that as a visual level filter. Like on the 1st-page table apply the filter as 'is greater than equal to' = 1 and 'less than equal to' = 30 and so on for other pages.

I hope this works for you.
Thank You.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors