在使用休息時間時獲取 SAP Web Intelligence 中表中的最小和最大日期
這可以透過根據你要查詢的條件建立指示符來實現——POST 測試的最小抽取日期時間和 PRE 測試的最大抽取日期時間。
一旦建立此指示符,它將針對根據條件以黃色突出顯示的行顯示“Y”,針對其它行顯示“N”。
=If ([Drawn date] = Min([Drawn date]) In ([Patient ABO/RN]) Where ([PrePost] = "POST") ) Or ([Drawn date] = Max([Drawn date]) In ([Patient ABO/RN]) Where ([PrePost] = "PRE") ) Then "Y" Else "N"
你需要對指標值- “Y”應用過濾器。
另一個選項是建立 3 個如下變數 −
Max Accession: =Max([Accession]) Where ([Variables].[Pre/Post] = "PRE") In ([Patient Birth Date]) Min Accession: =Min([Accession]) Where ([Variables].[Pre/Post] = "POST") In ([Patient Birth Date]) Accession Min/Max= If ([Accession]=[Min accession])Then 1 ElseIf ([Accession] = [Max accession]) Then 2 Else 0 (By using these, you will get 1 to the min accession, 2 to maximum and 0 to the rest of values in the report)
然後應用過濾器,以選擇大於 0 的值。
廣告
資料結構
網路
關係資料庫管理系統
作業系統
Java
iOS
HTML
CSS
Android
Python
C 程式設計
C++
C#
MongoDB
MySQL
Javascript
PHP