Forum Discussion
ctspradeep
5 years agoRegular Visitor
Matrix sort order based on second row
Hi, I am trying to sort matrix second row but it's grouping first row and then sorting. Is there a way to override grouping and sort based on specific rows? Data: Column Name Period Item V...
- Anonymous5 years ago
Hi ctspradeep ,
My workround is use a measure to "replace" the Column subtotals,
Please try this:
Measure = IF ( HASONEVALUE ( 'Table'[Item] ), SUM ( 'Table'[Value] ), MAX ( 'Table'[Percentage] ) )The final output is shown below:
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
5 years agoNot applicable
Hi ctspradeep ,
My workround is use a measure to "replace" the Column subtotals,
Please try this:
Measure =
IF (
HASONEVALUE ( 'Table'[Item] ),
SUM ( 'Table'[Value] ),
MAX ( 'Table'[Percentage] )
)
The final output is shown below:
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.