Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
solomonadjei
Contributor III
Contributor III

*** EXPRESSION ***

Afternoon Experts,

Am struggling to write an expression to highlight or give me a background colour for the least Current Price highlighted in yellow based on my selection. I would appreciate if anyone could help.

Thanks

 

111114.PNG

 

 

1 Solution

Accepted Solutions
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

I think you need to include a TOTAL parm to consider all prices. 

=if(min(TOTAL [Current Price]) = [Current Price], Yellow(), White())

 

-Rob

View solution in original post

5 Replies
miguelbraga
Partner - Specialist III
Partner - Specialist III

Hey there,

You could make an expression like this in the background section of the Current Price expression:
=if(min([Current Price]) = [Current Price], Yellow(), White())

I think that this will work for you.

PS: please take note that the field [Current Price] need to be replaced with your expression.

Best regards,
MB
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

I think you need to include a TOTAL parm to consider all prices. 

=if(min(TOTAL [Current Price]) = [Current Price], Yellow(), White())

 

-Rob

solomonadjei
Contributor III
Contributor III
Author

Thanks miguelbraga 🙂
solomonadjei
Contributor III
Contributor III
Author

Thanks very much :).
It worked.
Gabriel
Partner - Specialist III
Partner - Specialist III

Hi,

 

try creating a variable like this

=MIN([Current Price])

Then use the variable in your IF statement for background color

=IF([Current Price] = $(v_MinCurrentPrice), Yellow())

Let me know if it works