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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.