Forum Discussion

DenisChristov's avatar
DenisChristov
Frequent Visitor
3 years ago
Solved

filtering out duplicate values

Hello,

 

I have been struggling with one problem since yesterday. I have a data that looks like this:

companyincidentdate
company Aincident 15.5.2023
company Aincident 14.5.2023
company Aincident 24.5.2023
company Bincident 15.5.2023
company Bincident 14.5.2023
company Bincident 24.5.2023

 

I need to filter it out in a way, that hides rows for the same company, that have the same incident. Only the newest incident of a particular type per company to be showed. For the above table, the filtered result should be like this:

companyincidentdate
company Aincident 15.5.2023
company Aincident 24.5.2023
company Bincident 15.5.2023
company Bincident 24.5.2023

 

I successfully managed to pull the data via API (took me some time to figure that out as well). But I really cannot overcome this problem. This is my first tackle with PowerBI, as I usally configure router, switches and servers. But a need arose to do something different 🙂