Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
aparnavjyn
Helper I
Helper I

To find the top 3 comments in the column and to display the same in three different columns

Hi,

I have a set of Comment categories for various productgroups. I need to find the top 3 most repeated comment category for the Survey year "2019" and display it as a part of a matrix. Any help is appreciated. Thanks in advance.

3 REPLIES 3
Anonymous
Not applicable

Hi,

If you could share some sample data and the expected resut that would help.

Thanks.

This formula helped me in getting the top most occuring value. But unable to modify the formula for the 2nd and top occuring values. 

 
Top_First ActionItem = CALCULATE(FIRSTNONBLANK(
TOPN(
1,
(VALUES(DB_CX_2018_V6_V2_New[Action Items])),
RANKX(ALL(DB_CX_2018_V6_V2_New[Action Items]),[Count_Action Items],,ASC)),1),FILTER(DB_CX_2018_V6_V2_New,DB_CX_2018_V6_V2_New[Survey_Year]="2019"))
 
Any suggestions?

Hi,

Please find the attached sample data. Tab1 contains Data Sample and Tab 2 contains the Required result.

Hope this helps.

 

Sample Data

 

Aparna


Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.