What to do when the ETL or executions in Excel takes a lot of time?

To optimize queries, it is advisable to: To join on Keys and not labels. Index fields used in joins.
Index fields used in filters. Avoid outer joins when they are not needed.