Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi All,
I am in need of some help/guidance.
In my current setup, PBi desktop is connecting directly to the SQL database of SAP B1. They are on the same server. I connect to both SAP and PBi through Windows RDP.
We are moving to a new vendor and they only offer SAP B1 cloud and told me that I can only connect through the service layer.
Is there a way to migrate/edit the current table connections to the service layer?
Also, is there a howto on ingesting data via the service layer? I saw someone had an issue and said they fixed it by using the odata connection.
Any advice would be appreciated.
Thanks
Solved! Go to Solution.
Hi @cheese_za - Yes, moving from SQL Server direct connections to SAP Business One (B1) Service Layer via the cloud will require you to adapt your setup.
SAP B1 Service Layer is a RESTful OData API designed for cloud-hosted SAP B1 systems. It allows you to interact with the data and tables in SAP B1 using OData.
Unfortunately, you cannot directly "edit" your current SQL connections to point to the Service Layer because:
You’ll need to rebuild your queries or Power BI connections to point to the OData service endpoints.
Since OData can be slower than direct SQL, implement incremental refresh in Power BI.
Proud to be a Super User! | |
Hi @cheese_za,
Thank you for reaching out to the Microsoft Fabric Community Forum.
As @rajendraongole1 mentioned, Yes, it is possible to migrate from direct SQL connections to the SAP Business One (SAP B1) Service Layer for your Power BI (PBI) reports. To do so, you will need to configure Power BI to use the OData connection, set up authentication, and map the necessary business objects from the Service Layer.
To connect Power BI to SAP B1 Service Layer, follow these steps:
This process allows you to seamlessly connect and work with SAP B1 data in Power BI.
If this solution helps, please consider giving us Kudos and accepting it as the solution so that it may assist other members in the community.
Hi @cheese_za - Yes, moving from SQL Server direct connections to SAP Business One (B1) Service Layer via the cloud will require you to adapt your setup.
SAP B1 Service Layer is a RESTful OData API designed for cloud-hosted SAP B1 systems. It allows you to interact with the data and tables in SAP B1 using OData.
Unfortunately, you cannot directly "edit" your current SQL connections to point to the Service Layer because:
You’ll need to rebuild your queries or Power BI connections to point to the OData service endpoints.
Since OData can be slower than direct SQL, implement incremental refresh in Power BI.
Proud to be a Super User! | |
What would suggest?
1. Replicate table by table in my current PBi file and switch the relations, that way maintain the reports?
2. Start from scratch and reference the old setup?
Thanks
Hi @cheese_za - Replicate Table by Table and Switch Relationships
This approach involves maintaining your current reports while gradually replacing the data source.
Pros:
Preserve Reports: Your existing visuals, measures, and relationships remain intact as you replace the tables one by one.
Less Manual Work: You won’t need to recreate every report or visual from scratch.
Faster Transition: By switching tables gradually, you can ensure a smooth migration without breaking the entire report.
Cons:
Complexity of Switching: SAP B1 Cloud’s Service Layer (OData) might provide data slightly differently than SQL—field names, data types, or structures may not match perfectly.
Risk of Breaking Relationships: If fields or keys are not consistent, relationships and measures may require manual updates.
Maintenance Overhead: Switching each table while checking visuals and measures for compatibility may take time.
or
If you have time and want to optimize your data model, starting fresh
Proud to be a Super User! | |
Thanks for the info.
It seems that unfortunately, I have a long road ahead of me.