Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
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 Name contains more than one ORR and Industry value. How to rectify this ?
I need the Top 5 values comparing the Current Exposure amount value grouped with Group Name, ORR and Industry.
Solved! Go to Solution.
@Ramees_123 , 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))
@Ramees_123 , 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))
@amitchandak Your formula is only allowing exposure amount as a measure. However my exposure amount is a column and not a measure.
@Ramees_123 , Create a measure on column [exposure amount] and use
amount = sum([exposure amount])
use amount
User | Count |
---|---|
140 | |
113 | |
104 | |
77 | |
65 |
User | Count |
---|---|
135 | |
116 | |
101 | |
71 | |
61 |