You can connect the 10-pin ribbon cable socket on the PanelDue 7i to the CONN_SD port on the Duet using a 10-way straight through ribbon cable, instead of using the 4-way cable and the PanelDue connector.
Be aware that some USB ports (especially on laptop computers) may not be able to supply enough current for a Duet + 7" PanelDue.