我想使用Microsoft Power BI Desktop版本来运行包括Exact Online数据在内的报告。Microsoft提供的预配置来源不提供Exact Online驱动程序。
如何安装精确在线驱动程序?
当前有许多步骤,可以通过* .msi文件进行设置。这些步骤也适用于其他平台,例如Freshdesk,Microsoft Dynamics CRM,Twinfield,Teradata,XML文件等:
settings.xml
使用Exact Online从另一台PC复制要在其中使用的国家/地区的现有数据库。let
Source = AdoDotNet.Query
( "Invantive"
, "provider=ExactOnlineAll;apiUrl=https://start.exactonline.nl;"
, "select * from PayablesListOverdue"
)
in
Source
Please note that the text within the AdoDotNet.Query
does not support multiline statements, so the easiest way is to put the queries somewhere else and then copy/paste them here while replacing line feeds by space.
The SQL resembles Microsoft SQL Server or Oracle syntax, but is actually Invantive SQL (Invantive SQL Grammar). The table names and connector attributes are available online in the documentation.
Please note that the queries can be created using the Online SQL Editor or one of the query products. Exact Online has something like 500 APIs available. Not everything, for instance item average cost price is NOT available.
Please note that Power BI retrieves a lot of information from Exact Online. When running across multiple companies, it can retrieve them in parallel. However, when you for instance download all financial transactions of a company, that can take a long time. Also, the information is normally stored within the pbix file, so that one can become very large. As always, apply proven Power BI design guide lines for optimal results.
You can use the same approach for XML audit files. Use the following query for XML Audit File Cash Registers 3.0 (xaa 3.0):
let
Source = AdoDotNet.Query
( "Invantive"
, "provider=Xaa30;"
, "select * from LocationCashRegisterCashTransactionLines"
)
in
Source
Please note that especially with detailed processing of cash register audit files you will get a LOT of cash register transaction and large Power BI sets and Power BI has some problems handling large volumes. Cash register or financial audit files larger than 1 GB will run slow and require a lot of physical memory to be present.
Please note that with audit files, Power BI insists that you enter a user. Just enter 'x' or something. It is ignored.
Sample result:
You can use the same approach for Twinfield. But, Twinfield also requires you to specify a company or environment code on log on as third field, so you need to specify that one too.
let
Source = AdoDotNet.Query
( "Invantive"
, "provider=Twinfield;environment=YOUR_ENVIRONMENT_CODE"
, "select * from Twinfield.Twinfield.Periods"
)
in
Source
您也可以在Power BI的单独窗口中指定连接字符串上的属性值。这样可以使代码清除与用户关联的内容:
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句