Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Get Top 5 Records in Power BI Table View Including Other Values

I created the below Power BI table and used Top N filter in the filters pane to get top 5 current exposure amount based on the group name.   However I got around 7-10 rows as result since one Group...
  • amitchandak's avatar
    5 years ago

    Anonymous , Use this for all the measure in the visual table

     

    Measure =
    var _grp = TOPN(10,all(Table[group Name]),[exposure amount],DESC)
    return
    calculate([exposure amount], filter(Table, Table[group Name] in _grp))