This worked for me on a 2018 15in Macbook Pro attached to a Dell U2717D with a Moshi USB-C to DisplayPort cable. Thanks!