Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello,
I have a slicer with the following values:
<60
61-120
121-200
201-300
>300
in my table i have a sorting table which sorts the values in this way.
I want to show the selected values into a card to make it easy for the customer to see what is selected. (I made a collapsible menu (with bookmarks) so the filter is not always visible)
The DAX itself works fine except the order of the values is incorrect.
here's the DAX:
result:
so the order is way off here..
anyone has an idea to get the order the same way as in the slicer?
Solved! Go to Solution.
Hi @Karola
Please try
RETURN
"Lactation stage: "
& CONCATENATEX (
SUMMARIZE (
'Table1 Dim_LactationDay',
'Table1 Dim_LactationDay'[Category],
'Table1 Dim_LactationDay'[Sort]
),
'Table1 Dim_LactationDay'[Category],
" & ",
'Table1 Dim_LactationDay'[Sort], ASC
)
Nice! that will do the trick
Thank you for your fast response and solution
Hi @Karola
Please try
RETURN
"Lactation stage: "
& CONCATENATEX (
SUMMARIZE (
'Table1 Dim_LactationDay',
'Table1 Dim_LactationDay'[Category],
'Table1 Dim_LactationDay'[Sort]
),
'Table1 Dim_LactationDay'[Category],
" & ",
'Table1 Dim_LactationDay'[Sort], ASC
)
User | Count |
---|---|
15 | |
11 | |
6 | |
6 | |
5 |
User | Count |
---|---|
30 | |
18 | |
11 | |
7 | |
5 |