Forum Discussion
Ranking Based Background Color not Working?
itsmebvk , Rank in power Bi depends on what has been used. Like if used Part and you add any other column in row/column that part would be ranked inside that
Rankx(allselected(Table[Part]), [measure],,desc,dense)
when needing more columns you need to rank like
Rankx(Summarize(allselected(Table), Table[Part], Table[Company]) , [measure],,desc,dense)
Or switch between Ranks, Using isinscope
Thanks for quick reply.
can we use following expressions when we multiple tables columns inthe matrix and also we have many slicer from different tables?
Rankx(Summarize(allselected(Table), Table[Part], Table[Company]) , [measure],,desc,dense)
if not is there any alternative way to avoid virtual table and create a ranking using Dax?
- amitchandak4 years agoSuper User
itsmebvk , In summarize you can use
Fact and then dimension
Summarize(allselected(Fact), Dim[Dim1], Dim[Dim2])