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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
fabconmvp
Helper I
Helper I

Slicer priority

Hello everyone,

 

I hope you are doing well. I have a slicers below in a image and I want that whenever I selected the slicer that will be give the value name based on sequence slicers.

fabconmvp_0-1741527644183.png


For example ı selected sequence AK, DF an ID. Therefore I'd like to create a measure that shown for this case "AK-DF-ID".

Thank you for supports.

1 ACCEPTED SOLUTION

Hello @Deku ,

 

I tried your way before posting the problem. But it seems there is no solution for my case. Thank you for support.

View solution in original post

6 REPLIES 6
v-ssriganesh
Community Support
Community Support

Hello @fabconmvp ,

Could you please confirm if your query have been resolved? If they have, kindly mark the helpful response and accept it as the solution. This will assist other community members in resolving similar issues more efficiently.

Thank you.

v-ssriganesh
Community Support
Community Support

Hi @fabconmvp,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.

v-ssriganesh
Community Support
Community Support

Hi @fabconmvp,

May I ask if you have resolved this issue? If so, please mark it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

Thank you.

danextian
Super User
Super User

Hi @fabconmvp 

 

@Deku 's suggestion is the only possible way. Power BI does not retain the order in which slicer items are selected. The results follow either the order defined in the data model or are sorted alphabetically in ascending or descending order.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
Deku
Community Champion
Community Champion

You can use concatenatex to return a sequence of values as a scalar string.

 

Concatenatex( values( slicer[region] ), slicer[region], "-", slicer[Region], asc)

 

This will order the resulted based on a expression in the case above region alphabetically ascending, but can be customized.

 

There is no way for this to know what order you selected the values in the slicer though, which is sounds like you what you wanted to achieve


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

Hello @Deku ,

 

I tried your way before posting the problem. But it seems there is no solution for my case. Thank you for support.

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

Find out what's new and trending in the Fabric community.