Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
How to find out which are the 3 elements that are repeated the most in a column and finally group the remaining elements as "other motivators" in Power BI?
I have a motivators column with several motivators, but I want to know only the 3 main motivators in this column and group the other elements as "other motivators". How would I make this discovery of knowing which 3 appeared the most and grouping the others together? Because the most repeated motivators will eventually change, there is a formula to solve this.
@CSNG_81
Please find attached the file below:
Added a column:
Rank =
VAR __CurrentMotivaor = 'Table'[Motivator]
VAR __T = SUMMARIZE( 'Table' , 'Table'[Motivator], "@Count" , COUNT( 'Table'[Motivator] ) )
VAR __T2 = ADDCOLUMNS(__T, "Rank" , RANK( DENSE , __T , ORDERBY( [@Count] , DESC ) ))
RETURN
SWITCH(
TRUE(),
__CurrentMotivaor IN SELECTCOLUMNS( FILTER( __T2 , [Rank] = 1 ) , 'Table'[Motivator] ) , "Top 1",
__CurrentMotivaor IN SELECTCOLUMNS( FILTER( __T2 , [Rank] = 2 ) , 'Table'[Motivator] ) , "Top 2",
__CurrentMotivaor IN SELECTCOLUMNS( FILTER( __T2 , [Rank] = 3 ) , 'Table'[Motivator] ) , "Top 3",
"Other Motivators"
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 19 | |
| 10 | |
| 8 | |
| 7 | |
| 7 |
| User | Count |
|---|---|
| 51 | |
| 43 | |
| 28 | |
| 27 | |
| 25 |