Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello,
I have a dataset displaying the name of a company, his total amount of transactions, and the total count of transaction as you can see here :
In total I have more than a hundred rows, what I would like to do is to display the first 20 rows in the table and aggregate all the other rows as "others" by summing the tran amount and sum tran amount.
Do you know how I could do that ?
Thank you in advance !
Solved! Go to Solution.
Hi @Wael03 ,
You may try to add a top n filter in Power BI.
Please kindly refer to
Add a top or bottom n records filter in Microsoft Power BI | TechRepublic
If you also want the bottom row to display the other, you need to create a separate table with the sorted numbers and "other", and then display the results with a SWITCH function to match them.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Wael03 ,
You may try to add a top n filter in Power BI.
Please kindly refer to
Add a top or bottom n records filter in Microsoft Power BI | TechRepublic
If you also want the bottom row to display the other, you need to create a separate table with the sorted numbers and "other", and then display the results with a SWITCH function to match them.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
8 | |
8 | |
8 | |
6 |
User | Count |
---|---|
14 | |
12 | |
11 | |
9 | |
9 |