Forum Discussion
Rankx & Inscope while excluding certain values
- Anonymous4 years ago
Hi JackWren ,
Please try this measure.
Top Page - Views = IF ( ISINSCOPE ( 'Page Info'[PageName] ) && MID ( MAX ( 'Page Info'[PageName] ), 12, 4 ) = "Page", RANKX ( ALLSELECTED('Page Info'[PageName]), CALCULATE( SUM ( 'Page Info'[Total page Views] )), , DESC,Dense ) - 1 )Best Regards,
Community Support Team_GaoIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems with it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
Hi JackWren ,
Please try this measure.
Top Page - Views =
IF (
ISINSCOPE ( 'Page Info'[PageName] )
&& MID ( MAX ( 'Page Info'[PageName] ), 12, 4 ) = "Page",
RANKX (
ALLSELECTED('Page Info'[PageName]),
CALCULATE( SUM ( 'Page Info'[Total page Views] )),
,
DESC,Dense
) - 1
)
Best Regards,
Community Support Team_Gao
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems with it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
- JackWren4 years agoHelper II
Thank you ! I'll tweak it a little but I think we are headed in the right direction