Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello, I am connectin from Power BI to HANA database to predefine CDS views like this:
Here are I am calling predefine CDS view for storage location list. This view has annotation @ClientHandling.algorithm #SESSION_VARIABLE. So it expected client to be specified for connection session. For all such a CDS views i get empty table in Power BI, the same problem if calling them from SQL server. (My own views working perfectly). Yes, I can write my one CDS views, but there are so many nice views already predefine in HANA database, so I really would be happy to find way to use them.
Thank you for any advice.
Solved! Go to Solution.
@tomaskutac,
Currently, it is not possible to directly import data from CDS view using the built-in SAP HANA connector, regarding to this issue, you can sumit a feature request in Power BI ideas forum: https://ideas.powerbi.com/forums/265200.
However, CDS Views can be easily exposed as oData Service(API) which can then be utilized to fetch data out from SAP S/4HANA Cloud. You can use OData feed connector in Power BI Desktop to connect to import data from CDS view.
There are some blogs for your reference:
https://blogs.sap.com/2018/01/23/create-cds-views-in-sap-s4hana-cloud-and-consume-them-as-apis/
http://tiven.wang/articles/cds-to-odata-for-analytics
Regards,
Lydia
@tomaskutac,
Currently, it is not possible to directly import data from CDS view using the built-in SAP HANA connector, regarding to this issue, you can sumit a feature request in Power BI ideas forum: https://ideas.powerbi.com/forums/265200.
However, CDS Views can be easily exposed as oData Service(API) which can then be utilized to fetch data out from SAP S/4HANA Cloud. You can use OData feed connector in Power BI Desktop to connect to import data from CDS view.
There are some blogs for your reference:
https://blogs.sap.com/2018/01/23/create-cds-views-in-sap-s4hana-cloud-and-consume-them-as-apis/
http://tiven.wang/articles/cds-to-odata-for-analytics
Regards,
Lydia
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
102 | |
53 | |
21 | |
13 | |
11 |