Forum Discussion
Anonymous
4 years agoNot applicable
Count duplicates RANK in a matrix visual column without Power Query
Hi I have a very simple visual matrix on a report page with as first column Article names (than can be filtered with a slicer) and a second colum with their Total sales. I made a third column wit...
- 4 years ago
Anonymous Why next monday :))
This is the formula:# Identical Rank = VAR _tbl = ADDCOLUMNS( ALLSELECTED('Table'[Article]), "@Rank", RANKX(ALLSELECTED('Table'[Article]), [# Total]) ) VAR _current_rank = [Rank] VAR _result = COUNTROWS( FILTER( _tbl, [@Rank] = _current_rank ) ) RETURN _result
And these are the other measure I created:# Total = SUM('Table'[Total]) Rank = RANKX(ALLSELECTED('Table'[Article]), [# Total])
Anonymous
4 years agoNot applicable
See below a minimal working example:
ā
SpartaBI
4 years agoCommunity Champion
Anonymous ok, preparing something š and will share soon a solution.
While you wait will appreciate your Kudos on my messages š and check out my showcase report - got some high level stuff there. Sure you will find there a lot of cool ideas.
https://community.powerbi.com/t5/Data-Stories-Gallery/SpartaBI-Feat-Contoso-100K/td-p/2449543
Give it a thumbs up over there if you liked it š