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
dmace
Frequent Visitor

Consolidate rows into one row using RANK()

I am trying to use partitions to consolidate the rows in my table into one row. 

The data is for candidates who have been referred by multiple people (up to 4). A candidate can have multiple rows containing data as such (there are more columns, however they aren't relevant to this question as they will be the same in all that candidates rows):

dmace_0-1687799996558.png
As you can see I am able to succesfully rank the rows by using a table function and RANK(). I wish for the data to look like:

dmace_1-1687800101788.png

Then I can remove the additional rows by filtering to only show Rank 1. I have successfully accomplished this task in Workday's PRISM, however due to the restrictions PRISM has on refreshes I wish to do this in PowerBI to ensure the data is up-to-date in real time. Any help or tips would be greatly appreciated, thanks.


 

 

1 ACCEPTED SOLUTION
dmace
Frequent Visitor

5 REPLIES 5
VijayP
Super User
Super User

@dmace 

HAve you tried Calculate Function? 




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


dmace
Frequent Visitor

I have but was unable to get it to work, could you give me any tips on how to use Calculate to accomplish this?

 

@dmace 

Calculate (Average(column), filter(table name, rankcolumn = 1)), try this




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


dmace
Frequent Visitor

The values are text so I don't believe Average will work.

dmace
Frequent Visitor

dmace_0-1687868695108.png

 

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