Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
herard_bertrand
Partner - Creator II
Partner - Creator II

Change Qlik Selection Color in QlikView

Hello,

is there a way to change default selection color (to change the Qlik green by a blue or a red) in QlikView ?

Best regards

Labels (1)
1 Solution

Accepted Solutions
patrick521
Contributor
Contributor


@herard_bertrandAARP orgwrote:

Hello,

is there a way to change default selection color (to change the Qlik green by a blue or a red).

I know how to do this in Qlik Sense / Qlik Cloud.

Best regards


Hello, @herard_bertrandAARP org 

 

To change the default selection color in QlikView, you can follow these steps:

Create a Theme:

Go to Settings > Document Properties > Themes.
Create a new theme and customize the colors as desired.
Save and apply the theme to your document.
Use Macros:

Open the macro editor via Tools > Edit Module.
Write a macro to change the selection color:

 

Sub ChangeSelectionColor()
Dim vDoc
Set vDoc = ActiveDocument
' Set the selection color to blue (RGB(0, 0, 255))
vDoc.GetApplication.VisualizationColorPrimary = RGB(0, 0, 255)
End Sub

 

Run the macro by going to Tools > Run Macro.

Custom Expressions:

Use custom color expressions in charts:

 

If(GetSelectedCount(FieldName) > 0, RGB(0, 0, 255), RGB(255, 255, 255))

 

Adjust RGB values as needed for your desired color.
By applying any of these methods, you can change the default selection color in QlikView.

 

I hope this information is helpful to you.

 

Best Regard,
Patrick

View solution in original post

1 Reply
patrick521
Contributor
Contributor


@herard_bertrandAARP orgwrote:

Hello,

is there a way to change default selection color (to change the Qlik green by a blue or a red).

I know how to do this in Qlik Sense / Qlik Cloud.

Best regards


Hello, @herard_bertrandAARP org 

 

To change the default selection color in QlikView, you can follow these steps:

Create a Theme:

Go to Settings > Document Properties > Themes.
Create a new theme and customize the colors as desired.
Save and apply the theme to your document.
Use Macros:

Open the macro editor via Tools > Edit Module.
Write a macro to change the selection color:

 

Sub ChangeSelectionColor()
Dim vDoc
Set vDoc = ActiveDocument
' Set the selection color to blue (RGB(0, 0, 255))
vDoc.GetApplication.VisualizationColorPrimary = RGB(0, 0, 255)
End Sub

 

Run the macro by going to Tools > Run Macro.

Custom Expressions:

Use custom color expressions in charts:

 

If(GetSelectedCount(FieldName) > 0, RGB(0, 0, 255), RGB(255, 255, 255))

 

Adjust RGB values as needed for your desired color.
By applying any of these methods, you can change the default selection color in QlikView.

 

I hope this information is helpful to you.

 

Best Regard,
Patrick