Forum Discussion
tps136
7 years agoAdvocate II
Matrix multiple Sort columns
Hi All, I've gone thru all other request in Desktop - Matrix Multiple column sort. But nothing worked. Need experts help :smileyhappy: I am trying to sort 2 columns (1st level - Employee by ASC...
- 7 years ago
You may try using ISONORAFTER Function to add a measure.
Measure = VAR e = SELECTEDVALUE ( Table1[Employee] ) VAR c = [TotalCount] VAR t = SUMMARIZE ( ALLSELECTED ( Table1 ), Table1[Employee], Table1[Customer] ) RETURN COUNTROWS ( FILTER ( t, ISONORAFTER ( Table1[Employee], e, DESC, [TotalCount], c, ASC ) ) )
v-chuncz-msft
7 years agoCommunity Support
You may try using ISONORAFTER Function to add a measure.
Measure =
VAR e =
SELECTEDVALUE ( Table1[Employee] )
VAR c = [TotalCount]
VAR t =
SUMMARIZE ( ALLSELECTED ( Table1 ), Table1[Employee], Table1[Customer] )
RETURN
COUNTROWS (
FILTER ( t, ISONORAFTER ( Table1[Employee], e, DESC, [TotalCount], c, ASC ) )
)
dsaladi
7 years agoRegular Visitor
Hello,
Can you provide me a .pbix file? I really appreciate it. Thanks.