Forum Discussion
samirineni
5 years agoFrequent Visitor
Ranking Measure Help over Peer Group
I have below scenario in my datamodel and looking for solution to create measure for ranking with vendor versus peer vendor. Table A: VendorID Date Qty A 2021-01-31 100 B ...
samdthompson
5 years agoMemorable Member
Maybe something like this:
Rank = RANKX(ALLSELECTED(Table2[PeerVendor]),
CALCULATE(sum(Table1[Qty]),
ALLEXCEPT(Table2, Table2[PeerVendor])
)
)
When you display that in say a matrix with month along the columns you will find it shows the rank by month.
samirineni
5 years agoFrequent Visitor
I did create dynamic rank measure but looking for peer rank using another table in relation in dynamic way. the suggested solution works for regular rank only.
- v-kelly-msft5 years agoCommunity Support
Hi samirineni,
Can you advise me what the expected output you need?I may have a misunderstanding...
Best Regards,
KellyDid I answer your question? Mark my post as a solution!