The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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
User | Count |
---|---|
65 | |
59 | |
55 | |
53 | |
32 |
User | Count |
---|---|
180 | |
88 | |
70 | |
46 | |
45 |