We need to follow the below steps to change the Data Source.
Step-1: Log in to Power BI Service
Go to the Power BI Service website (https://app.powerbi.com/).
Log in with your Power BI credentials.
Step-2: Select the Dataset
Go to the workspace where your dataset is located and click the Dataset option on the left-hand side.
Step-3: Edit the Dataset
Click on the “ellipses” (three dots) menu next to the dataset name and select “Settings.”
Step-4: Change Data Source Parameters
Simply choose the parameters option on the “Settings” tab and change the URL.
After making the desired changes, click the “Apply” to save the changes to the dataset.
Step-5: Modify Data Source Credentials
Click on the Data Source Credentials and select the Edit credentials option.
Step-6: Modify Edit Credentials
Sign in with the client’s organizational account after choosing the authentication method and privacy level.