Magento 2 – Add Custom Column and Filter to Customer Grid from Joined Table

custom-column-gridcustomer-gridmagento2

I need to add custom column and filter in the customer grid in Magento 2 admin. The column attribute is from different modules. There are many solutions for sales order grid, but none (or incomplete) for customer grid.

I had the same issue, so I found the solution by myself. The solution is in the answer.

Best Answer