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
Rylee
Helper I
Helper I

Concatenate Rank Measure and Column

I have a measure that uses the RANKX function to return the rank of Brands by DisplayMeasures. I want to concatenate this rank number with the [Brand] column. When I have the measure on its own, it returns 1, 2, 3, 4, etc.

 

RankSelected = Rankx(ALLSELECTED('T_Final Brand Table'), [DisplayMeasures], , DESC)

 

 

If I put this in a calculated column, I have to specify the [Brand] column or there is a circular dependency. When I use the following function, the RANKX function returns 1 all the way down, so it looks like 1brandnameA, 1brandnameB, 1brandnameC etc.

 

Column = Rankx(ALLSELECTED('T_Final Brand Table'[Brand]), [DisplayMeasures], , DESC) & 'T_Final Brand Table'[Brand]

 

 

Can someone tell me if it is possible to concatenate the two with the correct ranking?

 

Thanks!

1 REPLY 1
Anonymous
Not applicable

Hi @Rylee,

 

Can you please share some sample data to test?

 

Regards,

Xiaoxin Sheng

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