Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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.
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.
Solved! Go to 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.
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.
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.
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.
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.
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
Hello @Deku ,
I tried your way before posting the problem. But it seems there is no solution for my case. Thank you for support.
User | Count |
---|---|
84 | |
75 | |
63 | |
51 | |
45 |
User | Count |
---|---|
101 | |
43 | |
39 | |
39 | |
36 |