Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
I have a card on a report page that displays selected choices from slicers and I am having an issue obtaining the correct sort order for one of them. The measure is based on a simple table of two columns, 'Grade' (text) and 'Order' (whole number).
Grade Order
Teachers | 1 |
2 | |
P4 | 3 |
P5 | 4 |
K | 5 |
1 | 6 |
2 | 7 |
3 | 8 |
4 | 9 |
5 | 10 |
6 | 11 |
7 | 12 |
8 | 13 |
9 | 14 |
10 | 15 |
11 | 16 |
12 | 17 |
My DAX Measure statement is:
Solved! Go to Solution.
@Dan01 - Here is where you are limiting your table. I would replace what is in red bold below with this:
'Grade_Sort_Order'
So, just the table, which would include all columns in the table.
@Dan01 - If I am understanding your code correctly, it looks like you are only feeding CONCATENATEX a single column "Grade" and thus your Order column is not available. You will need to start with both of your columns being fed into CONCANTENATEX and then you should not have a problem.
@Greg_Deckler - Hi Greg, and thank you for the responce.
Sorry for the delay in getting back with you. Right after I made my post I got slammed with work and couldn't get back until now.
I have tried manay different ways to "feed CONCATENATEX" with the (Grade_Sort_Order.[Order] column but nothing I try has worked.
Where, in my expression above, would I reference the [Order] column?
Thank you for your help.
Dan
@Dan01 - Here is where you are limiting your table. I would replace what is in red bold below with this:
'Grade_Sort_Order'
So, just the table, which would include all columns in the table.
Thank you Greg. That did the trick. I never thought of referring to the table as a whole, I was concentrating on adding a reference to the [Order] column itself.
I appreciate your time.
Dan
User | Count |
---|---|
41 | |
27 | |
23 | |
19 | |
16 |
User | Count |
---|---|
54 | |
35 | |
19 | |
19 | |
15 |