Forum Discussion
TOP 5 Customer Issue
- Anonymous2 years ago
Hi carpe79 ,
The table data is shown below:
Please follow these steps:
1. Use the following DAX expression to create a columnColumn = 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.