Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Non export of conditionnal color in Excel

Hello,

I am developping an app where I try to do conditionnal color like this:

     If(test=OK, color1, color2)

Which give this result in the Qlikview app (the result is OK):

QVCouleur.png

When I put directly the RGB code like (RGB(255,0,0) in the code, export is OK. I have 2 different colors in the Excel file (see the first column).

BUT when colors are parameters or come from the script, I have only one color... (columns 2 and 3) in the Excel:

QVCouleurExport.png

How can I do to have my conditionnal colors in the Excel export ?

I want to use my load inline table, because as you see I have 2 * 25 colors to declare.

Thank you,

Willy

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Exactlly, you are using ARGB with alpha value. Excel cannot understand it. Change colour values to RGB function.

Regards!

View solution in original post

6 Replies
Anonymous
Not applicable
Author

Hi Willy,

Are you using Alpha values?

Excel cannot undestand Alpha values, use RGB function or colour function without Alpha value.

Regards!

Not applicable
Author

Hi Manuel,

sorry, here is the app joigned in the first post.

Willy

Not applicable
Author

I thnik that you are right, I have to use RGB instead of ARG ...

Anonymous
Not applicable
Author

Exactlly, you are using ARGB with alpha value. Excel cannot understand it. Change colour values to RGB function.

Regards!

Not applicable
Author

Thank you

Anonymous
Not applicable
Author

You're wellcome