ROK

Hàm này trả về giá trị của Chỉ số Đánh giá Hiệu quả Công việc (KPI) và hiển thị giá trị này. KPI có thể được hiển thị dưới dạng giá trị hoặc đồ họa. OLAP Cơ sở dữ liệu phải cho phép hàm sau.

Cú pháp

=ROK("data_connection","cube","KPI_name",KPI_type, [elements of the slice])

Ví dụ

=ROK("AdventureWorks","Finance","Return on Assets",0,"[Account].
[Account Number].[All Accounts]","[Date].[Fiscal].[All Periods]","[Department].
[Departments].&[4]","[Destination Currency].[Destination Currency Code].
[All Destination Currencies]","[Organization].[Organizations].&[2]",
"[Scenario].[Scenario].&[1]")