Migrate dashboards from influxdb 1.x datasource to 2.0

Hello,
Have influxdb 1.x datasource and grafana with bunch of dashboards.
We want to use influxdb 2.0, but how can I migrate the old dashboards that uses influxql to use flux / the new influxdb 2.0 source?

Regards JN