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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
RD_PowerBI31
Frequent Visitor

Need display duplicate data

Hello,

I have data like this. The below records are not a duplicate. My requiremnt is if I remove the Code column I should see same number of records, it should not remove the duplicates (after removing the code column records will be duplicate right).

NAMEDEPARTMENTCODE
ADAMSIT100
JAMESIT200
ADAMSIT300
ADAMSIT400
JAMESIT300
CLARKAE400

I am trying to do with Calcuate (expression, allexcept(code) ) which is not working.

After removing ode column the below will be expected results, but my results should be same as above. I hope it is cleared.

NAMEDEPARTMENT
ADAMSIT
JAMESIT
CLARKAE

 

2 REPLIES 2
RD_PowerBI31
Frequent Visitor

Any workaournd please.

ppm1
Solution Sage
Solution Sage

Please see this article that shows one way to do that.

Understanding Group By Columns in Power BI - SQLBI

 

Pat

Microsoft Employee

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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