This warning is shown because in Power BI there’s only a limit of 150,000 rows that you can export the data but still you can achieve this through coding or some other options. I’m providing few links where this same type of query was asked onto the forum earlier and how it was resolved.
Please go through this links and follow the steps as shown in them and you’ll be able to export the data more than the specified limit.