Forum Discussion

Ali_HYYS's avatar
Ali_HYYS
Regular Visitor
6 years ago

Top N value with multiple Columns from different tables.

Hi All,

I am starting a dashboard in Power BI in in which i have a requirement of a report with a Top N Customer with Complain number and some other columns from other tables.i have done with a single column but how to do it with other please guide.


var Rankin_fdim =values('Details(Prod)'[Name])
var ranking_select = [v_Ranking_Select]
return
CALCULATE( [Premium],
FILTER(Rankin_fdim,
RANKX(ALL('Details(Prod)'[Name]),[Premium],,desc)<=ranking_select)
)
 

 amitchandak 

5 Replies