Forum Discussion
Anonymous
3 years agoNot applicable
Calculated column filter - for grouping rows
Hi! I want to create a calculated column in tabular editor which will be used as a filter in reports. You could say, what I want to achieve, is a type of grouping of rows. I want to create "Order...
- 3 years ago
Hi Anonymous
please try
Order Type Head = IF ( COUNTROWS ( CALCULATETABLE ( VALUES ( 'Table'[Order type row] ), ALLEXCEPT ( 'Table', 'Table'[Order head] ) ) ) = 1, 'Table'[Order type row], "Mixed" )
tamerj1
Community Champion
3 years agoHi Anonymous
please try
Order Type Head =
IF (
COUNTROWS (
CALCULATETABLE (
VALUES ( 'Table'[Order type row] ),
ALLEXCEPT ( 'Table', 'Table'[Order head] )
)
) = 1,
'Table'[Order type row],
"Mixed"
)Anonymous
3 years agoNot applicable
Hi tamerj1, thanks for your answer! It's working like a charm 😄