Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
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
Check out the November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.