GetQlikSenseColor
  • 16 Apr 2024
  • 1 Minute to read
  • Dark
    Light

GetQlikSenseColor

  • Dark
    Light

Article summary

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

GetQlikSenseColor(<value>)

The parameters of the function are:

Name

Description
valueThe 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 Function Example

GetQlikSenseColor([Datasource].[Sales Data].[Variable].[vTextColor])


Was this article helpful?