Lusid.Portfolio.Valuation.Measure

Type

Read/write

Author

Availability

Data provider

Read

Finbourne

Provided with LUSID

The Lusid.Portfolio.Valuation.Measure provider enables you to write a Luminesce SQL query that retrieves details about all the measures you can report when you perform a portfolio valuation. Note that measures are also known as metrics or queryable keys.

Note: The LUSID user running the query must have sufficient access control permissions to both use the provider and read valuation data stored in LUSID. This should automatically be the case if you are the domain owner.

See also: Lusid.Portfolio.Valuation, Lusid.Valuation.Recipe, Lusid.Logs.Valuation.Manifest

select * from Lusid.Portfolio.Valuation.Measure where <filter-expression>;
SQL

Lusid.Portfolio.Valuation.Measure has parameters that enable you to filter or refine a query.

To list available parameters, their data types, default values, and an explanation for each, run the following query using a suitable tool:

select FieldName, DataType, ParamDefaultValue, Description from Sys.Field where TableName = 'Lusid.Portfolio.Valuation.Measure' and FieldType = 'Parameter';
SQL

By default, Lusid.Portfolio.Valuation.Measure returns a table of data populated with particular fields (columns). You can return a subset of these fields.

To list fields available to return, their data types, whether fields are considered 'main', and an explanation for each, run the following query using a suitable tool:

select FieldName, DataType, IsMain, IsPrimaryKey, SampleValues, Description from Sys.Field where TableName = 'Lusid.Portfolio.Valuation.Measure' and FieldType = 'Column'; 
SQL

Note: Fields marked 'main' are returned by queries that start select ^ from Lusid.Portfolio.Valuation.Measure...

Note: For more example Luminesce SQL queries, visit our Github repo.

select * from Lusid.Portfolio.Valuation.Measure limit 20
SQL
select * from Lusid.Portfolio.Valuation.Measure where MeasureName not like 'Instrument%'
SQL
select * from Lusid.Portfolio.Valuation.Measure where SupportedOperations like '%Sum%'
SQL