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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Anonymous
Not applicable

Concatenate Rank measure and column

Hi All,

 

  I am facing the issue while concate the measure value and a column. Below is the code sample for the measure.

 

  Rank = RANKX(ALLSELECTED(EnergyMeterReponses[Squad]),AVERAGEX(RELATEDTABLE(EnergyMeterReponses),EnergyMeterReponses[Energy]),,,Dense)

 

I want to concate "EnergyMeterReponses[Squad]" with the rank to get the results like below.

 

1. White Walkers

2. Avengers

..

 

Thanks,

Sud

1 ACCEPTED SOLUTION
v-huizhn-msft
Employee
Employee

Hi @Anonymous,

As I tested, the measure @Zubair_Muhammad posted is right as follows. Please mark the right reply as answer, so more people will get helpful reply as answer. 

1.PNG

Thanks,
Angelia

View solution in original post

2 REPLIES 2
v-huizhn-msft
Employee
Employee

Hi @Anonymous,

As I tested, the measure @Zubair_Muhammad posted is right as follows. Please mark the right reply as answer, so more people will get helpful reply as answer. 

1.PNG

Thanks,
Angelia

Zubair_Muhammad
Community Champion
Community Champion

Hi @Anonymous

 

Try this Measure

 

Measure =
CONCATENATE ( [RANK], ". " & SELECTEDVALUE ( EnergyMeterReponses[Squad] ) )

Regards
Zubair

Please try my custom visuals

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.