Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Highlighted
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
manucamon
Valued Contributor III

Re: Non export of conditionnal color in Excel

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
manucamon
Valued Contributor III

Re: Non export of conditionnal color in Excel

Hi Willy,

Are you using Alpha values?

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

Regards!

Not applicable

Re: Non export of conditionnal color in Excel

Hi Manuel,

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

Willy

Not applicable

Re: Non export of conditionnal color in Excel

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

manucamon
Valued Contributor III

Re: Non export of conditionnal color in Excel

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

Regards!

View solution in original post

Not applicable

Re: Non export of conditionnal color in Excel

Thank you

manucamon
Valued Contributor III

Re: Non export of conditionnal color in Excel

You're wellcome