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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. 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
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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