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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors