简体   繁体   English

自动化 Cognos 11 -> PowerBI(权限有限)

[英]Automate Cognos 11 -> PowerBI (with limited privileges)

Desk Jockey here with the ability to write, schedule, and run reports.这里的 Desk Jockey 能够编写、安排和运行报告。 Although I have reached out to my IT for a solution, I'd rather not wait - especially because they may tell me that they won't.尽管我已联系我的 IT 部门寻求解决方案,但我宁愿不等待 - 特别是因为他们可能会告诉我他们不会。

I have been fiercely trying to automate the ability to take data that I have access to in Cognos and get it into PowerBI.我一直在努力尝试自动化获取我在 Cognos 中可以访问的数据并将其放入 PowerBI 的能力。

Things I CANNOT do (but presumably work)我不能做的事情(但大概可以工作)

  • schedule a report to run and save a csv file to a.networked folder (option not enabled for me).安排报告运行并将 csv 文件保存到 a.networked 文件夹(我未启用该选项)。
  • give PowerBI direct access to the data in question (not my role)让 PowerBI 直接访问相关数据(不是我的角色)
  • connect PowerBI to Cognos.将 PowerBI 连接到 Cognos。 There is no native way for PowerBI to do this, but there are tools which enable it. PowerBI 没有本地方法可以执行此操作,但有一些工具可以启用它。 However, I lack the permissions and authority to do that.但是,我没有这样做的权限和权限。

Things I have tried:我尝试过的事情:

  • I can create a URL which which directly passes the parameters and runs the report in any format我可以创建一个 URL 直接传递参数并以任何格式运行报告

-- I then tried accessing the web page via PowerBIs get data from web functionality...but at best when it loads the page the "frame" around the data loads (but not the data...yet) so PowerBI cannot grab it. -- 然后我尝试通过 PowerBI 访问 web 页面,从 web 功能获取数据......但充其量当它加载页面时,数据加载周围的“框架”(但不是数据......还)所以 PowerBI 无法抓住它. I suspect if there were some way to tell it to "wait" until everything loaded, it would work.我怀疑是否有某种方法可以告诉它“等待”直到所有内容都加载完毕,它才会起作用。

-- I tried running it as a csv file to download. -- 我尝试将其作为 csv 文件运行以供下载。 But, again, the link is not directly to the file, but to a landing page which then starts the download.但是,同样,链接不是直接指向文件,而是指向随后开始下载的登录页面。 This is beyond my ability to automate as the baked in tools need a link to the file, not a link to the page which starts the download.这超出了我的自动化能力,因为内置工具需要指向文件的链接,而不是指向开始下载页面的链接。 Additionally, it is beyond my ability to ascertain what the "direct" link to the report is.此外,我无法确定报告的“直接”链接是什么。

-- Access it via an API call. -- 通过拨打 API 访问它。 Cool: Cognos has an API. Uncool: I couldn't get anything to work. Cool:Cognos 有一个 API。 Uncool:我无法使用任何东西。 I think it is either disabled or I dont have permissions.我认为它要么被禁用,要么我没有权限。 (OR I just dont know enough to even test if it is working). (或者我只是不够了解,甚至无法测试它是否有效)。

-- Trying any of the above with some combination of Cognos's scheduling features. -- 尝试结合 Cognos 的调度功能进行上述任何操作。

-- Trying any of the above with a "report view" instead of a report. -- 尝试使用“报告视图”而不是报告进行上述任何操作。

Instead of using Cognos as ETL for the power Bi, use the Cognos to create your reports.不要使用 Cognos 作为 Power Bi 的 ETL,而是使用 Cognos 创建您的报告。 You will do your work more easily and faster.您将更轻松、更快速地完成工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM