Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Dear All ;
I need your support about below issue , let me explain pls.
I have a table visual as follows. You can see the customer names in the leftmost column of the visual, the amounts in the middle column, and the percentage of a customer's amount to the total amount in the rightmost column. The customer order in the table is listed from the highest amount to the lowest amount. My request from you is this, I want to show the first 5 customers in this table and show the data of the remaining customers in a single row. How can I achieve this? You can also see the table on the right as an example. Thank you in advance for your valuable support.
Solved! Go to Solution.
Hi @carpe79 ,
The table data is shown below:
Please follow these steps:
1. Use the following DAX expression to create a column
Column = IF(RANKX('Table1',[Value],[Value],DESC) <=5,[Customer],"Others")2. Use the following DAX expression to create a measure name ‘SumValue’
SumValue = SUMX('Table1',[Value])3. Use the following DAX expression to create a measure name ‘SumPercentage’
SumPercentage = SUMX('Table1','Table1'[Percentage])4. Final output
Best Regards,
Wenbin Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @carpe79 ,
The table data is shown below:
Please follow these steps:
1. Use the following DAX expression to create a column
Column = IF(RANKX('Table1',[Value],[Value],DESC) <=5,[Customer],"Others")2. Use the following DAX expression to create a measure name ‘SumValue’
SumValue = SUMX('Table1',[Value])3. Use the following DAX expression to create a measure name ‘SumPercentage’
SumPercentage = SUMX('Table1','Table1'[Percentage])4. Final output
Best Regards,
Wenbin Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 30 | |
| 28 | |
| 24 | |
| 23 | |
| 18 |
| User | Count |
|---|---|
| 44 | |
| 32 | |
| 18 | |
| 17 | |
| 16 |