Forum

Concatenatex - alph...
 
Notifications
Clear all

Concatenatex - alphabetical order

3 Posts
2 Users
0 Reactions
537 Views
(@celicasx)
Posts: 5
Active Member
Topic starter
 

Hi all,

I have a table with a list of site locations, a project date, project strategy and other information.  I also have a Power Pivot table which then sorts that information by strategy and month and displays the list of names using a measure.

 

Is there a way to have the measure output the list in alphabetical order?  Currently, the measure outputs it in the order as set in the table (date, site name), however, it would be useful for crosschecking purposes (as the projects are listed in a PowerPoint for Executive review) to be able to have the sites ordered by site name in the month.

 

Currently, the measure is as below;
=CONCATENATEX(values(Table3[Site Name]), Table3[Site Name],", ")

 

Thanks, Rob

 
Posted : 02/04/2022 6:54 pm
(@jstewart)
Posts: 216
Estimable Member
 

Concatenatex has a built in Order by argument. Simply use this formula:

=CONCATENATEX(values(Table3[Site Name]), Table3[Site Name],", ",Table3[Site Name],ASC)

That should solve your issue.

 
Posted : 03/04/2022 1:49 am
(@celicasx)
Posts: 5
Active Member
Topic starter
 

Thanks Jessica, you're a Legend!

 
Posted : 03/04/2022 3:21 am
Share: