简体   繁体   English

五月份的Excel输出显示上个月

[英]Excel output in pentaho showing last month

I´m working with PDI 4.1. 我正在使用PDI 4.1。 I´ve created transformations and jobs, and I have an excel file with data from database. 我已经创建了转换和工作,并且我有一个包含数据库数据的excel文件。 The columns in my excel file are name , date and hour , and I need to bring the data from last month. 我的excel文件中的列是namedatehour ,我需要带上个月的数据。 Can I do something like this? 我可以做这样的事情吗?

Name_july_hour.xls==name_june_hour.xls

Thanks in advance. 提前致谢。

You've likely figured this out by now, but what you need to do is flow the data from last month's Excel file into a transform with a Microsoft Excel Input step. 您可能现在已经知道了这一点,但是您需要做的是将数据从上个月的Excel文件流到带有Microsoft Excel Input步骤的转换中。 Then you can do what ever you want with it (aggregate it, join it with another file, join it with a database table, ... whatever) before writing it to the new month's file with the Excel Writer Step. 然后,您可以使用Excel Writer Step将其写入到新月的文件中,然后执行所需的任何操作(聚合,与其他文件连接,与数据库表连接,等等)。

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

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