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! Learn more

Reply
Anonymous
Not applicable

Concatenate rows / ID Creation / Calculated Column

Hello All,

 

Im trying to create an ID for "Cycle.Name" from the "Rank" column. As you can see below, there is some concatenation going on but its not in the correct order and same ID is getting repeated over and over again regardles of "Cycle.Name". i would like if possible to have ID in same row order of rank top to bottom as well as a unique ID per "Cycle.Name"

Please vew below, I will also include my current DAX for "CycleID.AGGR"

Thank you for any possible help.

 

CycleID.AGGR = 
CONCATENATEX(FILTER(SUMMARIZE('55.Table.Cycle.Aggregation','55.Table.Cycle.Aggregation'[Cycle.Name],'55.Table.Cycle.Aggregation'[Rank]),'55.Table.Cycle.Aggregation'[Cycle.Name]=EARLIER('55.Table.Cycle.Aggregation'[Cycle.Name])),'55.Table.Cycle.Aggregation'[Rank],BLANK())

 

 

Oceans88_1-1618949246429.png

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

Please correct me if I misunderstand your meaning.

Create a index column for the table and create a support column.

support_column = CALCULATE(MIN('Table'[Index]),ALLEXCEPT('Table','Table'[Column1]))

Then create the new index column.

new_index = RANKX('Table','Table'[support_column],,ASC,Dense)

6.PNG

 

Best Regards,

Jay

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

 

Please correct me if I misunderstand your meaning.

Create a index column for the table and create a support column.

support_column = CALCULATE(MIN('Table'[Index]),ALLEXCEPT('Table','Table'[Column1]))

Then create the new index column.

new_index = RANKX('Table','Table'[support_column],,ASC,Dense)

6.PNG

 

Best Regards,

Jay

Anonymous
Not applicable

Shameless bump lol. Anyone have any ideas on this issue? 

Kr

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