Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I am wondering if there is a way to remove the Top & Bottom 50 rows by a Value specified in one column.
Few Main Points to consider:
Thank you for your time and efforts here.
Regards,
Ryan Mulhollem
Solved! Go to Solution.
hi,@ryan_mulhollem
After my research, you can do these like below:
basic data
And i need to remove Top/Bottom 5 rows by Value
use this formula to create a new table
Table = var _count =COUNTROWS(Table1) return var _table5=TOPN(_count-5,Table1,Table1[rank],ASC) return var _table10=TOPN(_count-10,_table5,Table1[rank],DESC) return _table10
Result:
here is demo,please try it.
https://www.dropbox.com/s/nutv50e6509jdq0/Remove%20TopBottom%2050%20rows.pbix?dl=0
Regards,
lin
Thank you for the reply. As per checking, this formula did work. I would also want to add for anyone else interested the formula to create a table for only the top 50:
OnlyTop50 =
var _table5=TOPN(50,table,table[column],DESC) return
_table5
Thank you!
hi,@ryan_mulhollem
After my research, you can do these like below:
basic data
And i need to remove Top/Bottom 5 rows by Value
use this formula to create a new table
Table = var _count =COUNTROWS(Table1) return var _table5=TOPN(_count-5,Table1,Table1[rank],ASC) return var _table10=TOPN(_count-10,_table5,Table1[rank],DESC) return _table10
Result:
here is demo,please try it.
https://www.dropbox.com/s/nutv50e6509jdq0/Remove%20TopBottom%2050%20rows.pbix?dl=0
Regards,
lin
Thank you for the reply. As per checking, this formula did work. I would also want to add for anyone else interested the formula to create a table for only the top 50:
OnlyTop50 =
var _table5=TOPN(50,table,table[column],DESC) return
_table5
Thank you!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
100 | |
80 | |
64 | |
57 |
User | Count |
---|---|
146 | |
110 | |
93 | |
84 | |
67 |