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
jammo1234
New Member

ranking multiple measures and return string

Hi all,

I have 4 different measures and I want to rank them based on the lowest value, however,there maybe occasions where there are multiple low values. Consider the data set below.

 

option 1, 500

option 2, 600

option 3, 500

option 4, 500

 

as you can see from the dataset above, option 1,3 & 4 have the lowest values, therefrore id like to return a string "1,3,4". But in instances where there one lowest value just return 1 string value.

 

Any suggestion will be greatly appreciated.

 

Thanks in advance

1 REPLY 1
lbendlin
Super User
Super User

Use CONCATENATEX.  It will return a single value as is, and multiple values as a string with the separator of your choice.

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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