NQL as()
The as()
allows you to display the output from NQL queries in a formatted manner by assigning specific formatting information to the metrics. The Nexthink interface displays the data with the unit specified. The as()
is supported in the list and the sort clauses.
Example:
Use the following formatting options:
Formatter | Unit | Example query |
---|---|---|
energy | Wh kWh MWh GWh | |
weight | g kg t kt | |
currency | Specify the currency using the additional
| |
percent | % | |
bitrate | bps Kbps Mbps Gbps |
Last updated