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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

Dynamic title sorting

I use the following measure to have a dynamic title based on selected filters, and it works fine, but the order is not correct. When I select several values in the year filter, it does not appear correctly. It shows as year: 2020, 2018, 2019. how can I show it in the right order?

 

Selected Filters  = var _Year= IF(ISFILTERED(table[year]),"| Year : " & CONCATENATEx(
VALUES(table[year]),
table[year],
" , ")," ")
var _birthdate = IF(ISFILTERED(table[BirthDate]),"| BirthDate : " & CONCATENATEx(
VALUES(table[BirthDate]),
table[BirthDate],
" , ")," ") return _Year & " "&  _birthdate

 

 
Spoiler
 
Spoiler
 
1 ACCEPTED SOLUTION
DataZoe
Microsoft Employee
Microsoft Employee

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous 

Due to I don't know your data model, and have a test by a sample table and your measure.

My Sample table:

1.png

Your measure result:

2.png

It seems to work well. By default it will order your value by asc.

Could you show me your datas and data model by a sample?

Or you can share your pbix file with me by your Onedrive for Business.

 

Best Regards,

Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. 

DataZoe
Microsoft Employee
Microsoft Employee

@Anonymous did you see this solution Solved: I want to "Order by" before using CONCATENATEX ...... - Microsoft Power BI Community?

Respectfully,
Zoe Douglas (DataZoe)



Follow me on LinkedIn at https://www.linkedin.com/in/zoedouglas-data
See my reports and blog at https://www.datazoepowerbi.com/

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.