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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Calculate count of the duplicate value

Dear All ,

 

I want a help with a duplicate values. What I need to get is count of the duplicate values as in 1,2,3,4 and so on. And else I need to get the count as 1 (If it is not a duplicate value). Below shows my table. 

 

SRHerath_0-1696491860292.png

 

The results that I need to get is shown below.

 

SRHerath_1-1696492131545.png

Can someone help me to get this result. 

 

 

1 ACCEPTED SOLUTION
rubayatyasmin
Super User
Super User

@Anonymous  use group by. 

 

refer: How to GROUP BY or summarize rows - Power Query | Microsoft Learn

 

rubayatyasmin_0-1689517080227.png


Did I answer your question? Mark my post as a solution!super-user-logo

Proud to be a Super User!


View solution in original post

2 REPLIES 2
rubayatyasmin
Super User
Super User

@Anonymous  use group by. 

 

refer: How to GROUP BY or summarize rows - Power Query | Microsoft Learn

 

rubayatyasmin_0-1689517080227.png


Did I answer your question? Mark my post as a solution!super-user-logo

Proud to be a Super User!


Anonymous
Not applicable

Thank You @rubayatyasmin. That solved my problem.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors