cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
dw700d
Post Patron
Post Patron

return the first 10 rows of a sorted column

I have a table with 54 employees. The table is sorted by the cogs split column. I would like to find a way to list the first 10 sorted employees in a table. And then list the next ten (11-20) sorted employees in a separate table. And the next 10 (21-30) in a separate table and the next ten (31-40) in a separate table and the next ten (41-50) in a separate table and the remaining 4 in a separate table. Any thoughts on how I can accomplish this?

 

 

Full Name          cogs splitPosition
Bob["Bob"]  SVP
Amy["Bob","Amy"]  VP
Ken["Bob","Amy","Ken"]  AVP
Cole["Bob","Amy","Ken","Cole"]  Director
Kim["Bob","Amy","Ken","Cole","Kim"]  Assistant Director
Al["Bob","Amy","Ken","Cole","Kim","Al"]  Analyst
1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @dw700d ,

 

If you have the table sorted on Power Query by the cogs split, just add an index column on the power query and then use that column to filter out that index on the visualization accordingly to your needs.

 

https://support.microsoft.com/en-us/office/add-an-index-column-power-query-dc582eaf-e757-4b39-98e6-b...


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

1 REPLY 1
MFelix
Super User
Super User

Hi @dw700d ,

 

If you have the table sorted on Power Query by the cogs split, just add an index column on the power query and then use that column to filter out that index on the visualization accordingly to your needs.

 

https://support.microsoft.com/en-us/office/add-an-index-column-power-query-dc582eaf-e757-4b39-98e6-b...


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors