Forum Discussion
Pavel_Ischenko
4 years agoRegular Visitor
Orthogonal filtering
Hello guys! Is there anybody knows how to implement so called "orthogonal" filtering in PBI. What I mean here. This is data visual. There are hundreds of products tested in hundreds locations. In t...
- Anonymous4 years ago
Hi Pavel_Ischenko ,
Try to create this measure
Measure = VAR _count = CALCULATE ( COUNT ( 'Table'[Result] ), FILTER ( ALLSELECTED ( 'Table' ), [TRILD] = MAX ( 'Table'[TRILD] ) ) ) VAR _count2 = CALCULATE ( DISTINCTCOUNT ( 'Table'[HGHNM] ), ALLSELECTED ( 'Table' ) ) RETURN IF ( ISFILTERED('Table'[HGHNM])&&_count = _count2, 1 )Then put the measure into Filters and set as follows
When filtering, see the results
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
4 years agoNot applicable
Hi Pavel_Ischenko ,
Try to create this measure
Measure =
VAR _count =
CALCULATE (
COUNT ( 'Table'[Result] ),
FILTER ( ALLSELECTED ( 'Table' ), [TRILD] = MAX ( 'Table'[TRILD] ) )
)
VAR _count2 =
CALCULATE ( DISTINCTCOUNT ( 'Table'[HGHNM] ), ALLSELECTED ( 'Table' ) )
RETURN
IF ( ISFILTERED('Table'[HGHNM])&&_count = _count2, 1 )
Then put the measure into Filters and set as follows
When filtering, see the results
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Pavel_Ischenko
4 years agoRegular Visitor
Thanks a lot! It works.