Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Lauri
Specialist
Specialist

Load colors into master dimension

Is it possible to load color codes from an external file and apply them to a master dimension's values? 

2 Replies
brunobertels
Master
Master

Hi 

 

See this post if it helps : 

create dimension asign color from variable , save the mesure as master dimension

https://community.qlik.com/t5/App-Development/Using-Created-Master-Dimension-in-Color-Expression/m-p... 

and 

load color code from file and create variable : 

https://community.qlik.com/t5/QlikView-Documents/Create-Colour-Variables-from-an-Excel-Workbook/ta-p... 

Lauri
Specialist
Specialist
Author

Thank you, Brunobertels. Those are useful, but they don't solve my issue. I'd like to assign variables to the colors for all values in a master dimension. In the example below, I'd like to replace #b0afae with $(vColor_Grey), ideally in the load script. 

Lauri_0-1638454852633.png

I can imagine a load statement that (1) creates a master dimension, (2) loads values from a field or inline, and (3) sets its parameters including value colors. But I guess it's just a dream at this point...