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.
Dear all,
I am quite new to PowerBI. I created a new table using the summerizecolumns() function. But I found out there are still duplicates in the column vehicle. I assume that that there are 4 vehicles, which have two dates.
How can I get rid of the duplicates in the vehicle column? Maybe taking only one of the dates, which belongs to this vehicle?
Thanks a lot in advance!
Solved! Go to Solution.
Table 2 = SUMMARIZECOLUMNS('loading'[Vehicle],"Date",FIRSTNONBLANKVALUE('loading'[Vehicle],MIN('loading'[GI Date])))
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
@az38 Thank you for the quick reply.
I looked into the data and I found out some vehicles have 2 dates as shown in the screenshot.
My plan is to take the first date and eliminate the 2nd record from this vehicle. But I have no idea how.
Table 2 = SUMMARIZECOLUMNS('loading'[Vehicle],"Date",FIRSTNONBLANKVALUE('loading'[Vehicle],MIN('loading'[GI Date])))
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
User | Count |
---|---|
68 | |
63 | |
59 | |
54 | |
28 |
User | Count |
---|---|
182 | |
81 | |
64 | |
46 | |
38 |