私は、result_slalomテーブルを持っています。ここでは、データはPentahoのETL Jobsを介して入力されます。 ETLを初めて実行すると、バージョン1が作成されます。Pentahoを使用して計算バージョンの複製をどのように制御するのですか?
新しい計算後にデータが変更されると、バージョン2になります。
計算バージョン-2でのみ変更する必要があります.2つ以上のバージョンをresult_slalomテーブルに追加する必要があります。 (バージョン-1およびバージョン2)
だからロジックは次のとおりです。 チェックデータが
When data exists and existing version is 1, then set the version of new data=2
--> Insert new dataset
o When data exists and existing version is 2, then set the version of new data=2
--> Update existing dataset
o When no data exists, then set version = 1
--> Insert new dataset
Oテーブル
に存在する場合、どのように私はこのロジックのための私のPentahoの式を作るのですか?
現在、それは次のとおりです。
if([VersionInDB]=1;[Calculationversion];[VersionInDB]+1)