- 16 Apr 2024
- 1 Minute to read
- DarkLight
GetQlikSenseColor
- Updated on 16 Apr 2024
- 1 Minute to read
- DarkLight
General
This function converts a color value read from a Qlik Sense Datasource into a Color.
Syntax
You can call the GetQlikSenseColor function using the following syntax:
GetQlikSenseColor(<value>)
The parameters of the function are:
Name | Description |
---|---|
value | The value that contains the Qlik Sense color value. |
Examples
Suppose you have a Qlik Sense Datasource named Sales Data and that datasources contained a variable named vTextColor which is set to red(). In order to use that color in e.g. a Style it needs to be converted to a Color first using the following syntax:
GetQlikSenseColor([Datasource].[Sales Data].[Variable].[vTextColor])