Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
I have two tables with different data sources: one is fed from SQL and the other from SharePoint. Additionally, I have a step with a merge that works well.
When I update the report on my local Power BI Desktop, there are no errors or alerts. However, when I publish it on Power BI Service and the report is updated, the following error appears:
"{"error":{"code":"Premium_ASWL_Error","pbi.error":{"code":"Premium_ASWL_Error","parameters":{},"details":[{"code":"Premium_ASWL_Error_Details_Label","detail":{"type":1,"value":"Cloud data source setting is not allowed refresh through gateway."}}],"exceptionCulprit":1}}} Table: MyTable."
If I delete the merge step on PowerQuery, the report updates without any problem, but if I include the merge step, the error described above appears.
I don’t have any tables with Direct Query, calculated columns, or calculated tables. The connection to the gateway is working properly, and all the source credentials are well set.
I appreciate a lot if you can help me to solve this issue!
Solved! Go to Solution.
What is the ultimate purpose of the MERGE operation in Power Query, and can you live with two tables that have a relationship defined between them. Obviously, you probably want to do some logic that involves columns from both tables, but you can get that with the RELATED DAX funtion.
Proud to be a Super User! | |
Hi @giovannymb,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
Hi @giovannymb,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.
Hi @giovannymb,
As we haven’t heard back from you, so just following up to our previous message. I'd like to confirm if you've successfully resolved this issue or if you need further help?
If yes, you are welcome to share your workaround and mark it as a solution so that other users can benefit as well. If you find a reply particularly helpful to you, you can also mark it as a solution.
If you still have any questions or need more support, please feel free to let us know. We are more than happy to continue to help you.
Thank you for your patience and look forward to hearing from you.
Hi @giovannymb,
Thanks for reaching out to the Microsoft fabric community forum.
It looks like you are facing a Premium_ASWL_Error when trying to refresh your report in PowerBi Service. This issue occurs when there is a mix of data sources or how PowerBi Service handles data refreshes for cloud and on-premises data sources.
Looking at the error it says "Cloud data source setting is not allowed refresh through gateway" which means that PowerBi Service is trying to refresh a cloud based data source (i.e. SharePoint) through an on-premise data gateway, which is not supported. Also as we are merging both the tables, PowerBi Service may process both the tables using the same data source settings, even though one table is from on-premise and other from Cloud Service.
Here are few points you need to check in order to solve your issue:
* Check your Data Source Configurations and confirm that your SQL Server data source is configured under the gateway while your SharePoint data source is configured as a cloud data source without using the gateway.
* You can also isolate the merge operation to avoid combining both cloud and on-premise data sources in a single query. And load the data as two different tables and combine them later in PowerBi model using relationships as suggested by @ToddChitt.
* If you still wants to perform the merge step in Power Query then make sure that the SharePoint Online source is configured as a cloud data source in the PowerBi Service.
Apply all the changes and republish the report. You can manually trigger a refresh and check the refresh status to confirm if the issue is resolved.
If I misunderstand your needs or you still have problems on it, please feel free to let us know.
Best Regards,
Hammad.
Community Support Team
If this post helps then please mark it as a solution, so that other members find it more quickly.
Thank you.
What is the ultimate purpose of the MERGE operation in Power Query, and can you live with two tables that have a relationship defined between them. Obviously, you probably want to do some logic that involves columns from both tables, but you can get that with the RELATED DAX funtion.
Proud to be a Super User! | |
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
20 | |
11 | |
11 | |
8 | |
7 |