Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello,
I have used the following Dax formula to create a measure that ranks my top Client Groups by Fail Count per Location
As this table will be too long to display all of my 10 locations + their top three fails I am wanting to combine the top three fails into one cell so that my table will look like
What is the best way to do this given the rank measure I already have?
Solved! Go to Solution.
Hi , @oorf
According to your description, you want to show the 3nd group names per Location.
Here are the steps you can refer to :
(1)This is my test data:
(2)We can create a measure like this:
Measure = var _t = SUMMARIZE('Table','Table'[Client Groups] , "failCount", SUM('Table'[Fail Count]))
var _t2=FILTER( ADDCOLUMNS(_t , "rankx" , RANKX(_t, [failCount] , ,DESC,Dense)) , [rankx]<=3)
return
CONCATENATEX(_t2, [Client Groups],",",[rankx])
(3)Then we can put the fields we need on the visual and we can meet your need:
Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi , @oorf
According to your description, you want to show the 3nd group names per Location.
Here are the steps you can refer to :
(1)This is my test data:
(2)We can create a measure like this:
Measure = var _t = SUMMARIZE('Table','Table'[Client Groups] , "failCount", SUM('Table'[Fail Count]))
var _t2=FILTER( ADDCOLUMNS(_t , "rankx" , RANKX(_t, [failCount] , ,DESC,Dense)) , [rankx]<=3)
return
CONCATENATEX(_t2, [Client Groups],",",[rankx])
(3)Then we can put the fields we need on the visual and we can meet your need:
Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
This worked perfectly, thank you so much!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 98 | |
| 72 | |
| 50 | |
| 49 | |
| 42 |