Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
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).
| NAME | DEPARTMENT | CODE |
| ADAMS | IT | 100 |
| JAMES | IT | 200 |
| ADAMS | IT | 300 |
| ADAMS | IT | 400 |
| JAMES | IT | 300 |
| CLARK | AE | 400 |
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.
| NAME | DEPARTMENT |
| ADAMS | IT |
| JAMES | IT |
| CLARK | AE |
Any workaournd please.
Please see this article that shows one way to do that.
Understanding Group By Columns in Power BI - SQLBI
Pat
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 58 | |
| 57 | |
| 45 | |
| 17 | |
| 17 |
| User | Count |
|---|---|
| 114 | |
| 111 | |
| 38 | |
| 36 | |
| 26 |